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

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

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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.h
diff --git a/chrome/browser/extensions/extension_system.h b/chrome/browser/extensions/extension_system.h
index c5f084ce6a2b1c1cbffe618dfc3f6b6ca9e5b2b6..28c7b7215639df2357afd8529b1850306680fe2a 100644
--- a/chrome/browser/extensions/extension_system.h
+++ b/chrome/browser/extensions/extension_system.h
@@ -46,7 +46,7 @@ class UserScriptMaster;
// and incognito Profiles, except as called out in comments.
// This interface supports using TestExtensionSystem for TestingProfiles
// that don't want all of the extensions baggage in their tests.
-class ExtensionSystem : public ProfileKeyedService {
+class ExtensionSystem : public BrowserContextKeyedService {
public:
ExtensionSystem();
virtual ~ExtensionSystem();
@@ -55,7 +55,7 @@ class ExtensionSystem : public ProfileKeyedService {
// a convenience wrapper around ExtensionSystemFactory::GetForProfile.
static ExtensionSystem* Get(Profile* profile);
- // ProfileKeyedService implementation.
+ // BrowserContextKeyedService implementation.
virtual void Shutdown() OVERRIDE {}
// Initializes extensions machinery.
@@ -136,15 +136,15 @@ class ExtensionSystem : public ProfileKeyedService {
// The ExtensionSystem for ProfileImpl and OffTheRecordProfileImpl.
// Implementation details: non-shared services are owned by
-// ExtensionSystemImpl, a ProfileKeyedService with separate incognito
-// instances. A private Shared class (also a ProfileKeyedService,
+// ExtensionSystemImpl, a BrowserContextKeyedService with separate incognito
+// instances. A private Shared class (also a BrowserContextKeyedService,
// but with a shared instance for incognito) keeps the common services.
class ExtensionSystemImpl : public ExtensionSystem {
public:
explicit ExtensionSystemImpl(Profile* profile);
virtual ~ExtensionSystemImpl();
- // ProfileKeyedService implementation.
+ // BrowserContextKeyedService implementation.
virtual void Shutdown() OVERRIDE;
virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE;
@@ -184,7 +184,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
// Owns the Extension-related systems that have a single instance
// shared between normal and incognito profiles.
- class Shared : public ProfileKeyedService {
+ class Shared : public BrowserContextKeyedService {
public:
explicit Shared(Profile* profile);
virtual ~Shared();
@@ -195,7 +195,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
void RegisterManagementPolicyProviders();
void Init(bool extensions_enabled);
- // ProfileKeyedService implementation.
+ // BrowserContextKeyedService implementation.
virtual void Shutdown() OVERRIDE;
StateStore* state_store();

Powered by Google App Engine
This is Rietveld 408576698