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

Unified Diff: extensions/browser/browser_context_keyed_api_factory.h

Issue 1104543004: Update {virtual,override} to follow C++11 style in extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/api/usb/usb_apitest.cc ('k') | extensions/browser/mock_extension_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/browser_context_keyed_api_factory.h
diff --git a/extensions/browser/browser_context_keyed_api_factory.h b/extensions/browser/browser_context_keyed_api_factory.h
index d79c314429ca083401263c30bcba9956b0f069e4..dfd2887a03cd82bd594147b5d6e5fedb52a20c48 100644
--- a/extensions/browser/browser_context_keyed_api_factory.h
+++ b/extensions/browser/browser_context_keyed_api_factory.h
@@ -98,7 +98,7 @@ class BrowserContextKeyedAPIFactory : public BrowserContextKeyedServiceFactory {
DeclareFactoryDependencies();
}
- virtual ~BrowserContextKeyedAPIFactory() {}
+ ~BrowserContextKeyedAPIFactory() override {}
private:
// BrowserContextKeyedServiceFactory implementation.
@@ -109,7 +109,7 @@ class BrowserContextKeyedAPIFactory : public BrowserContextKeyedServiceFactory {
// BrowserContextKeyedBaseFactory implementation.
// These can be effectively overridden with template specializations.
- virtual content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override {
if (T::kServiceRedirectedInIncognito)
return ExtensionsBrowserClient::Get()->GetOriginalContext(context);
@@ -120,11 +120,11 @@ class BrowserContextKeyedAPIFactory : public BrowserContextKeyedServiceFactory {
return BrowserContextKeyedServiceFactory::GetBrowserContextToUse(context);
}
- virtual bool ServiceIsCreatedWithBrowserContext() const override {
+ bool ServiceIsCreatedWithBrowserContext() const override {
return T::kServiceIsCreatedWithBrowserContext;
}
- virtual bool ServiceIsNULLWhileTesting() const override {
+ bool ServiceIsNULLWhileTesting() const override {
return T::kServiceIsNULLWhileTesting;
}
« no previous file with comments | « extensions/browser/api/usb/usb_apitest.cc ('k') | extensions/browser/mock_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698