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

Unified Diff: chrome/browser/extensions/extension_system_factory.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/extension_system_factory.h
diff --git a/chrome/browser/extensions/extension_system_factory.h b/chrome/browser/extensions/extension_system_factory.h
index 1e336fea2fd3026819317deef8e4a13a73793a6f..2edd5565944e9e9f3887a9f496a784e175718bba 100644
--- a/chrome/browser/extensions/extension_system_factory.h
+++ b/chrome/browser/extensions/extension_system_factory.h
@@ -26,12 +26,12 @@ class ExtensionSystemSharedFactory : public BrowserContextKeyedServiceFactory {
friend struct DefaultSingletonTraits<ExtensionSystemSharedFactory>;
ExtensionSystemSharedFactory();
- virtual ~ExtensionSystemSharedFactory();
+ ~ExtensionSystemSharedFactory() override;
// BrowserContextKeyedServiceFactory implementation:
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override;
- virtual content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override;
DISALLOW_COPY_AND_ASSIGN(ExtensionSystemSharedFactory);
@@ -42,7 +42,7 @@ class ExtensionSystemSharedFactory : public BrowserContextKeyedServiceFactory {
class ExtensionSystemFactory : public ExtensionSystemProvider {
public:
// ExtensionSystem provider implementation:
- virtual ExtensionSystem* GetForBrowserContext(
+ ExtensionSystem* GetForBrowserContext(
content::BrowserContext* context) override;
static ExtensionSystemFactory* GetInstance();
@@ -51,14 +51,14 @@ class ExtensionSystemFactory : public ExtensionSystemProvider {
friend struct DefaultSingletonTraits<ExtensionSystemFactory>;
ExtensionSystemFactory();
- virtual ~ExtensionSystemFactory();
+ ~ExtensionSystemFactory() override;
// BrowserContextKeyedServiceFactory implementation:
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override;
- virtual content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override;
- virtual bool ServiceIsCreatedWithBrowserContext() const override;
+ bool ServiceIsCreatedWithBrowserContext() const override;
DISALLOW_COPY_AND_ASSIGN(ExtensionSystemFactory);
};
« no previous file with comments | « chrome/browser/extensions/extension_sync_service_factory.h ('k') | chrome/browser/extensions/extension_system_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698