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

Unified Diff: chrome/browser/extensions/chrome_content_browser_client_extensions_part.h

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (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: chrome/browser/extensions/chrome_content_browser_client_extensions_part.h
diff --git a/chrome/browser/extensions/chrome_content_browser_client_extensions_part.h b/chrome/browser/extensions/chrome_content_browser_client_extensions_part.h
index eecb554eecc6721d444a0e6777250aa65d0e129f..e53499dc8637bc2fe60328bfeb187c19d31ed573 100644
--- a/chrome/browser/extensions/chrome_content_browser_client_extensions_part.h
+++ b/chrome/browser/extensions/chrome_content_browser_client_extensions_part.h
@@ -22,7 +22,7 @@ class ChromeContentBrowserClientExtensionsPart
: public ChromeContentBrowserClientParts {
public:
ChromeContentBrowserClientExtensionsPart();
- virtual ~ChromeContentBrowserClientExtensionsPart();
+ ~ChromeContentBrowserClientExtensionsPart() override;
// Corresponds to the ChromeContentBrowserClient function of the same name.
static GURL GetEffectiveURL(Profile* profile, const GURL& url);
@@ -56,26 +56,22 @@ class ChromeContentBrowserClientExtensionsPart
private:
// ChromeContentBrowserClientParts:
- virtual void RenderProcessWillLaunch(
- content::RenderProcessHost* host) override;
- virtual void SiteInstanceGotProcess(
- content::SiteInstance* site_instance) override;
- virtual void SiteInstanceDeleting(
- content::SiteInstance* site_instance) override;
- virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh,
- const GURL& url,
- content::WebPreferences* web_prefs) override;
- virtual void BrowserURLHandlerCreated(
- content::BrowserURLHandler* handler) override;
- virtual void GetAdditionalAllowedSchemesForFileSystem(
+ void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
+ void SiteInstanceGotProcess(content::SiteInstance* site_instance) override;
+ void SiteInstanceDeleting(content::SiteInstance* site_instance) override;
+ void OverrideWebkitPrefs(content::RenderViewHost* rvh,
+ const GURL& url,
+ content::WebPreferences* web_prefs) override;
+ void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override;
+ void GetAdditionalAllowedSchemesForFileSystem(
std::vector<std::string>* additional_allowed_schemes) override;
- virtual void GetURLRequestAutoMountHandlers(
+ void GetURLRequestAutoMountHandlers(
std::vector<storage::URLRequestAutoMountHandler>* handlers) override;
- virtual void GetAdditionalFileSystemBackends(
+ void GetAdditionalFileSystemBackends(
content::BrowserContext* browser_context,
const base::FilePath& storage_partition_path,
ScopedVector<storage::FileSystemBackend>* additional_backends) override;
- virtual void AppendExtraRendererCommandLineSwitches(
+ void AppendExtraRendererCommandLineSwitches(
base::CommandLine* command_line,
content::RenderProcessHost* process,
Profile* profile) override;

Powered by Google App Engine
This is Rietveld 408576698