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

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

Issue 671663002: Standardize usage of virtual/override/final in content/ (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
« no previous file with comments | « content/shell/browser/shell_browser_main_parts.h ('k') | content/shell/browser/shell_devtools_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_content_browser_client.h
diff --git a/content/shell/browser/shell_content_browser_client.h b/content/shell/browser/shell_content_browser_client.h
index 334a5f3cfb58ada76bbaf30c5b5c72936cd0813e..ea0d4780ce4795b9edcfea56c944db71dbe10919 100644
--- a/content/shell/browser/shell_content_browser_client.h
+++ b/content/shell/browser/shell_content_browser_client.h
@@ -27,41 +27,41 @@ class ShellContentBrowserClient : public ContentBrowserClient {
static void SetSwapProcessesForRedirect(bool swap);
ShellContentBrowserClient();
- virtual ~ShellContentBrowserClient();
+ ~ShellContentBrowserClient() override;
// ContentBrowserClient overrides.
- virtual BrowserMainParts* CreateBrowserMainParts(
+ BrowserMainParts* CreateBrowserMainParts(
const MainFunctionParams& parameters) override;
- virtual void RenderProcessWillLaunch(RenderProcessHost* host) override;
- virtual net::URLRequestContextGetter* CreateRequestContext(
+ void RenderProcessWillLaunch(RenderProcessHost* host) override;
+ net::URLRequestContextGetter* CreateRequestContext(
BrowserContext* browser_context,
ProtocolHandlerMap* protocol_handlers,
URLRequestInterceptorScopedVector request_interceptors) override;
- virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
+ net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
BrowserContext* browser_context,
const base::FilePath& partition_path,
bool in_memory,
ProtocolHandlerMap* protocol_handlers,
URLRequestInterceptorScopedVector request_interceptors) override;
- virtual bool IsHandledURL(const GURL& url) override;
- virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
- int child_process_id) override;
- virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host,
- const GURL& url,
- WebPreferences* prefs) override;
- virtual void ResourceDispatcherHostCreated() override;
- virtual AccessTokenStore* CreateAccessTokenStore() override;
- virtual std::string GetDefaultDownloadName() override;
- virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
+ bool IsHandledURL(const GURL& url) override;
+ void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
+ int child_process_id) override;
+ void OverrideWebkitPrefs(RenderViewHost* render_view_host,
+ const GURL& url,
+ WebPreferences* prefs) override;
+ void ResourceDispatcherHostCreated() override;
+ AccessTokenStore* CreateAccessTokenStore() override;
+ std::string GetDefaultDownloadName() override;
+ WebContentsViewDelegate* GetWebContentsViewDelegate(
WebContents* web_contents) override;
- virtual QuotaPermissionContext* CreateQuotaPermissionContext() override;
- virtual SpeechRecognitionManagerDelegate*
- GetSpeechRecognitionManagerDelegate() override;
- virtual net::NetLog* GetNetLog() override;
- virtual bool ShouldSwapProcessesForRedirect(ResourceContext* resource_context,
- const GURL& current_url,
- const GURL& new_url) override;
- virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
+ QuotaPermissionContext* CreateQuotaPermissionContext() override;
+ SpeechRecognitionManagerDelegate* GetSpeechRecognitionManagerDelegate()
+ override;
+ net::NetLog* GetNetLog() override;
+ bool ShouldSwapProcessesForRedirect(ResourceContext* resource_context,
+ const GURL& current_url,
+ const GURL& new_url) override;
+ DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
#if defined(OS_POSIX) && !defined(OS_MACOSX)
virtual void GetAdditionalMappedFilesForChildProcess(
« no previous file with comments | « content/shell/browser/shell_browser_main_parts.h ('k') | content/shell/browser/shell_devtools_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698