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

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

Issue 9369013: Take extensions out of Profile into a profile-keyed service, ExtensionSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no crashy Created 8 years, 10 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_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 819dc19aa41c5b8d7299f374572a44260dd254bc..6f99d4ebfa6377d19a62fe1130337bbaa49aa3bb 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -58,6 +58,7 @@ class ExtensionGlobalError;
class ExtensionManagementEventRouter;
class ExtensionPreferenceEventRouter;
class ExtensionSyncData;
+class ExtensionSystem;
class ExtensionToolbarModel;
class ExtensionUpdater;
class ExtensionWebNavigationEventRouter;
@@ -698,9 +699,12 @@ class ExtensionService
NaClModuleInfoList::iterator FindNaClModule(const GURL& url);
- // The profile this ExtensionService is part of.
+ // The normal profile associated with this ExtensionService.
Profile* profile_;
+ // The ExtensionSystem for the profile above.
+ ExtensionSystem* system_;
+
// Preferences for the owning profile (weak reference).
ExtensionPrefs* extension_prefs_;

Powered by Google App Engine
This is Rietveld 408576698