// Gets the "current" web contents if any. If there is no associated web
// contents then defaults to the foremost one.
- virtual content::WebContents* GetAssociatedWebContents() OVERRIDE;
+ content::WebContents* GetAssociatedWebContents() override;
protected:
- virtual ~ChromeUIThreadExtensionFunction();
+ ~ChromeUIThreadExtensionFunction() override;
};
// A chrome specific analog to AsyncExtensionFunction. This has access to a
ChromeAsyncExtensionFunction();
protected:
- virtual ~ChromeAsyncExtensionFunction();
+ ~ChromeAsyncExtensionFunction() override;
// Deprecated, see AsyncExtensionFunction::RunAsync.
virtual bool RunAsync() = 0;
static bool ValidationFailure(ChromeAsyncExtensionFunction* function);
private:
- virtual ResponseAction Run() OVERRIDE;
+ ResponseAction Run() override;
};
// A chrome specific analog to SyncExtensionFunction. This has access to a
ChromeSyncExtensionFunction();
protected:
- virtual ~ChromeSyncExtensionFunction();
+ ~ChromeSyncExtensionFunction() override;
// Deprecated, see SyncExtensionFunction::RunSync.
virtual bool RunSync() = 0;
static bool ValidationFailure(ChromeSyncExtensionFunction* function);
private:
- virtual ResponseAction Run() OVERRIDE;
+ ResponseAction Run() override;
};
#endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_FUNCTION_H_