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

Unified Diff: extensions/browser/renderer_startup_helper.h

Issue 664933004: Standardize usage of virtual/override/final in 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
« no previous file with comments | « extensions/browser/quota_service_unittest.cc ('k') | extensions/browser/runtime_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/renderer_startup_helper.h
diff --git a/extensions/browser/renderer_startup_helper.h b/extensions/browser/renderer_startup_helper.h
index 632760dd720ec94903af1544162be3c410205cf3..5ae1635f921de0a4ea73b01794fb8f8509edeee7 100644
--- a/extensions/browser/renderer_startup_helper.h
+++ b/extensions/browser/renderer_startup_helper.h
@@ -29,12 +29,12 @@ class RendererStartupHelper : public KeyedService,
public:
// This class sends messages to all renderers started for |browser_context|.
explicit RendererStartupHelper(content::BrowserContext* browser_context);
- virtual ~RendererStartupHelper();
+ ~RendererStartupHelper() override;
// content::NotificationObserver overrides:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
private:
content::BrowserContext* browser_context_; // Not owned.
@@ -57,14 +57,14 @@ class RendererStartupHelperFactory : public BrowserContextKeyedServiceFactory {
friend struct DefaultSingletonTraits<RendererStartupHelperFactory>;
RendererStartupHelperFactory();
- virtual ~RendererStartupHelperFactory();
+ ~RendererStartupHelperFactory() override;
// BrowserContextKeyedServiceFactory implementation:
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) 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(RendererStartupHelperFactory);
};
« no previous file with comments | « extensions/browser/quota_service_unittest.cc ('k') | extensions/browser/runtime_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698