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

Unified Diff: chrome/browser/extensions/extension_system_impl.h

Issue 197413002: Move extensions-related files to using //components/keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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_impl.h
diff --git a/chrome/browser/extensions/extension_system_impl.h b/chrome/browser/extensions/extension_system_impl.h
index 23f7116e96f96a4ff658ba5ff84eb80a89bfcd0f..90c8c820965c4ea2cab1bdfb2d1ae9df3eadabaa 100644
--- a/chrome/browser/extensions/extension_system_impl.h
+++ b/chrome/browser/extensions/extension_system_impl.h
@@ -19,15 +19,15 @@ class StandardManagementPolicyProvider;
// The ExtensionSystem for ProfileImpl and OffTheRecordProfileImpl.
// Implementation details: non-shared services are owned by
-// ExtensionSystemImpl, a BrowserContextKeyedService with separate incognito
-// instances. A private Shared class (also a BrowserContextKeyedService,
+// ExtensionSystemImpl, a KeyedService with separate incognito
+// instances. A private Shared class (also a KeyedService,
// but with a shared instance for incognito) keeps the common services.
class ExtensionSystemImpl : public ExtensionSystem {
public:
explicit ExtensionSystemImpl(Profile* profile);
virtual ~ExtensionSystemImpl();
- // BrowserContextKeyedService implementation.
+ // KeyedService implementation.
virtual void Shutdown() OVERRIDE;
virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE;
@@ -63,7 +63,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
// Owns the Extension-related systems that have a single instance
// shared between normal and incognito profiles.
- class Shared : public BrowserContextKeyedService {
+ class Shared : public KeyedService {
public:
explicit Shared(Profile* profile);
virtual ~Shared();
@@ -74,7 +74,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
void RegisterManagementPolicyProviders();
void Init(bool extensions_enabled);
- // BrowserContextKeyedService implementation.
+ // KeyedService implementation.
virtual void Shutdown() OVERRIDE;
StateStore* state_store();
« no previous file with comments | « chrome/browser/extensions/extension_system_factory.cc ('k') | chrome/browser/extensions/extension_toolbar_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698