Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: extensions/shell/browser/shell_content_browser_client.h

Issue 667153007: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/shell_content_browser_client.h
diff --git a/extensions/shell/browser/shell_content_browser_client.h b/extensions/shell/browser/shell_content_browser_client.h
index 2ca2bae9a6482490dcb5feea366470311c8c4cc1..90f9c05a582bec8febc177ee36769ae70f7ddf91 100644
--- a/extensions/shell/browser/shell_content_browser_client.h
+++ b/extensions/shell/browser/shell_content_browser_client.h
@@ -28,7 +28,7 @@ class ShellContentBrowserClient : public content::ContentBrowserClient {
public:
explicit ShellContentBrowserClient(
ShellBrowserMainDelegate* browser_main_delegate);
- virtual ~ShellContentBrowserClient();
+ ~ShellContentBrowserClient() override;
// Returns the single instance.
static ShellContentBrowserClient* Get();
@@ -37,31 +37,27 @@ class ShellContentBrowserClient : public content::ContentBrowserClient {
content::BrowserContext* GetBrowserContext();
// content::ContentBrowserClient overrides.
- virtual content::BrowserMainParts* CreateBrowserMainParts(
+ content::BrowserMainParts* CreateBrowserMainParts(
const content::MainFunctionParams& parameters) override;
- virtual void RenderProcessWillLaunch(
- content::RenderProcessHost* host) override;
- virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
- const GURL& effective_url) override;
- virtual net::URLRequestContextGetter* CreateRequestContext(
+ void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
+ bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
+ const GURL& effective_url) override;
+ net::URLRequestContextGetter* CreateRequestContext(
content::BrowserContext* browser_context,
content::ProtocolHandlerMap* protocol_handlers,
content::URLRequestInterceptorScopedVector request_interceptors) override;
// TODO(jamescook): Quota management?
// TODO(jamescook): Speech recognition?
- virtual bool IsHandledURL(const GURL& url) override;
- virtual void SiteInstanceGotProcess(
- content::SiteInstance* site_instance) override;
- virtual void SiteInstanceDeleting(
- content::SiteInstance* site_instance) override;
- virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
- int child_process_id) override;
- virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
+ bool IsHandledURL(const GURL& url) override;
+ void SiteInstanceGotProcess(content::SiteInstance* site_instance) override;
+ void SiteInstanceDeleting(content::SiteInstance* site_instance) override;
+ void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
+ int child_process_id) override;
+ content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
int plugin_process_id) override;
- virtual void GetAdditionalAllowedSchemesForFileSystem(
+ void GetAdditionalAllowedSchemesForFileSystem(
std::vector<std::string>* additional_schemes) override;
- virtual content::DevToolsManagerDelegate*
- GetDevToolsManagerDelegate() override;
+ content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
private:
// Appends command line switches for a renderer process.
« no previous file with comments | « extensions/shell/browser/shell_browser_main_parts.h ('k') | extensions/shell/browser/shell_desktop_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698