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

Unified Diff: extensions/browser/mock_extension_system.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
Index: extensions/browser/mock_extension_system.h
diff --git a/extensions/browser/mock_extension_system.h b/extensions/browser/mock_extension_system.h
index f28a292331dbf77a03365bece98ba536dc0f28a1..4766762b1ac5b316f6d1ce3333e26f149993feb9 100644
--- a/extensions/browser/mock_extension_system.h
+++ b/extensions/browser/mock_extension_system.h
@@ -71,16 +71,16 @@ class MockExtensionSystemFactory : public ExtensionSystemProvider {
DependsOn(ExtensionRegistryFactory::GetInstance());
}
- virtual ~MockExtensionSystemFactory() {}
+ ~MockExtensionSystemFactory() override {}
// BrowserContextKeyedServiceFactory overrides:
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override {
return new T(context);
}
// ExtensionSystemProvider overrides:
- virtual ExtensionSystem* GetForBrowserContext(
+ ExtensionSystem* GetForBrowserContext(
content::BrowserContext* context) override {
return static_cast<ExtensionSystem*>(
GetServiceForBrowserContext(context, true));
« no previous file with comments | « extensions/browser/browser_context_keyed_api_factory.h ('k') | extensions/common/permissions/set_disjunction_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698