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_; |