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

Unified Diff: chrome/browser/profile_impl.h

Issue 5213002: Fix for Bug 50726 "Save extension list and "winning" prefs from extensions" (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressed comments, moved ExtensionPrefStore reference to Profile Created 10 years, 1 month 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/profile_impl.h
diff --git a/chrome/browser/profile_impl.h b/chrome/browser/profile_impl.h
index 83a4b935f47f43f64f138d12788c7e94b8b3095e..32693386e6e5854ca4aeb823c1dcd3266691b880 100644
--- a/chrome/browser/profile_impl.h
+++ b/chrome/browser/profile_impl.h
@@ -18,7 +18,9 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
+class ExtensionPrefs;
class PrefService;
+class PrefStore;
#if defined(OS_CHROMEOS)
namespace chromeos {
@@ -66,6 +68,8 @@ class ProfileImpl : public Profile,
virtual WebDataService* GetWebDataServiceWithoutCreating();
virtual PasswordStore* GetPasswordStore(ServiceAccessType sat);
virtual PrefService* GetPrefs();
+ virtual PrefStore* GetExtensionPrefStore();
+ virtual void SetExtensionPrefStore(PrefStore* ext_pref_store);
virtual TemplateURLModel* GetTemplateURLModel();
virtual TemplateURLFetcher* GetTemplateURLFetcher();
virtual DownloadManager* GetDownloadManager();
@@ -276,6 +280,12 @@ class ProfileImpl : public Profile,
scoped_refptr<ExtensionInfoMap> extension_info_map_;
+ scoped_ptr<ExtensionPrefs> extension_prefs_;
+
+ // weak pointer to ExtensionPrefStore that stores effective extension
+ // controlled preferences.
+ PrefStore* ext_pref_store_;
+
#if defined(OS_CHROMEOS)
scoped_ptr<chromeos::Preferences> chromeos_preferences_;

Powered by Google App Engine
This is Rietveld 408576698