diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-31 13:55:01 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-31 13:55:01 +0000 |
commit | ae7f55836f087870e3e2542493d902acfade85e2 (patch) | |
tree | cdf6bf8ed92802ffa44151c641c24f1ddb999a1d /chrome/browser/chrome_content_browser_client.h | |
parent | 089bda66f423cfac13dcd22fd5c1f187524f12a5 (diff) | |
download | chromium_src-ae7f55836f087870e3e2542493d902acfade85e2.zip chromium_src-ae7f55836f087870e3e2542493d902acfade85e2.tar.gz chromium_src-ae7f55836f087870e3e2542493d902acfade85e2.tar.bz2 |
Use OVERRIDE for the ContentClients.
BUG=none
TEST=no build change
Review URL: http://codereview.chromium.org/7086010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_content_browser_client.h')
-rw-r--r-- | chrome/browser/chrome_content_browser_client.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h index 33bcb65..e8b978f 100644 --- a/chrome/browser/chrome_content_browser_client.h +++ b/chrome/browser/chrome_content_browser_client.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ #pragma once +#include "base/compiler_specific.h" #include "content/browser/content_browser_client.h" class QuotaPermissionContext; @@ -14,38 +15,39 @@ namespace chrome { class ChromeContentBrowserClient : public content::ContentBrowserClient { public: - virtual void RenderViewHostCreated(RenderViewHost* render_view_host); - virtual void BrowserRenderProcessHostCreated(BrowserRenderProcessHost* host); - virtual void PluginProcessHostCreated(PluginProcessHost* host); - virtual void WorkerProcessHostCreated(WorkerProcessHost* host); - virtual content::WebUIFactory* GetWebUIFactory(); - virtual GURL GetEffectiveURL(Profile* profile, const GURL& url); - virtual bool IsURLSameAsAnySiteInstance(const GURL& url); + virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; + virtual void BrowserRenderProcessHostCreated( + BrowserRenderProcessHost* host) OVERRIDE; + virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; + virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; + virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; + virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) OVERRIDE; + virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; virtual std::string GetCanonicalEncodingNameByAliasName( - const std::string& alias_name); + const std::string& alias_name) OVERRIDE; virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, - int child_process_id); - virtual std::string GetApplicationLocale(); - virtual std::string GetAcceptLangs(const TabContents* tab); + int child_process_id) OVERRIDE; + virtual std::string GetApplicationLocale() OVERRIDE; + virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; virtual bool AllowAppCache(const GURL& manifest_url, - const content::ResourceContext& context); + const content::ResourceContext& context) OVERRIDE; virtual bool AllowGetCookie(const GURL& url, const GURL& first_party, const net::CookieList& cookie_list, const content::ResourceContext& context, int render_process_id, - int render_view_id); + int render_view_id) OVERRIDE; virtual bool AllowSetCookie(const GURL& url, const GURL& first_party, const std::string& cookie_line, const content::ResourceContext& context, int render_process_id, int render_view_id, - net::CookieOptions* options); - virtual QuotaPermissionContext* CreateQuotaPermissionContext(); + net::CookieOptions* options) OVERRIDE; + virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; #if defined(OS_POSIX) && !defined(OS_MACOSX) // Can return an optional fd for crash handling, otherwise returns -1. - virtual int GetCrashSignalFD(const std::string& process_type); + virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; #endif }; |