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

Unified Diff: content/browser/webui/web_ui_controller_factory_registry.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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/browser/webui/url_data_manager_backend.cc ('k') | content/browser/webui/web_ui_data_source_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_controller_factory_registry.h
diff --git a/content/browser/webui/web_ui_controller_factory_registry.h b/content/browser/webui/web_ui_controller_factory_registry.h
index b43574557048b5825de82565f5a280892892b3fd..b59162f6e1db414836d20bb008d7dca4002b13f0 100644
--- a/content/browser/webui/web_ui_controller_factory_registry.h
+++ b/content/browser/webui/web_ui_controller_factory_registry.h
@@ -19,14 +19,14 @@ class CONTENT_EXPORT WebUIControllerFactoryRegistry
// WebUIControllerFactory implementation. Each method loops through the same
// method on all the factories.
- virtual WebUIController* CreateWebUIControllerForURL(
- WebUI* web_ui, const GURL& url) const override;
- virtual WebUI::TypeID GetWebUIType(BrowserContext* browser_context,
- const GURL& url) const override;
- virtual bool UseWebUIForURL(BrowserContext* browser_context,
+ WebUIController* CreateWebUIControllerForURL(WebUI* web_ui,
+ const GURL& url) const override;
+ WebUI::TypeID GetWebUIType(BrowserContext* browser_context,
+ const GURL& url) const override;
+ bool UseWebUIForURL(BrowserContext* browser_context,
+ const GURL& url) const override;
+ bool UseWebUIBindingsForURL(BrowserContext* browser_context,
const GURL& url) const override;
- virtual bool UseWebUIBindingsForURL(BrowserContext* browser_context,
- const GURL& url) const override;
// Returns true if the given URL can be loaded by Web UI system. This allows
// URLs that UseWebUIForURL returns true for, and also URLs that can be loaded
@@ -38,7 +38,7 @@ class CONTENT_EXPORT WebUIControllerFactoryRegistry
friend struct DefaultSingletonTraits<WebUIControllerFactoryRegistry>;
WebUIControllerFactoryRegistry();
- virtual ~WebUIControllerFactoryRegistry();
+ ~WebUIControllerFactoryRegistry() override;
DISALLOW_COPY_AND_ASSIGN(WebUIControllerFactoryRegistry);
};
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | content/browser/webui/web_ui_data_source_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698