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

Unified Diff: chrome/browser/profile.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 Mattias' comments 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.h
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 5b5cdaf70c6c59b6442d28dc4d2c29606d105e0c..4364a595129123d2d7d8a3261d97a0e409006aa1 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -71,6 +71,7 @@ class PasswordStore;
class PersonalDataManager;
class PinnedTabService;
class PrefService;
+class PrefStore;
class ExtensionInfoMap;
class PrefProxyConfigTracker;
class PromoCounter;
@@ -278,6 +279,14 @@ class Profile {
// time that this method is called.
virtual PrefService* GetPrefs() = 0;
+ // Retrieves a pointer to the PrefStore that contains the currently effective
+ // extension controlled preferences.
+ virtual PrefStore* GetExtensionPrefStore() = 0;
Aaron Boodman 2010/12/03 08:58:10 Why is it necessary to store a pointer to extensio
battre (please use the other) 2010/12/03 19:32:58 Gone.
+
+ // Sets a pointer to the PrefStore that contains the currently effective
+ // extension controlled preferences. Ownership remains at the caller.
+ virtual void SetExtensionPrefStore(PrefStore* ext_pref_store) = 0;
+
// Returns the TemplateURLModel for this profile. This is owned by the
// the Profile.
virtual TemplateURLModel* GetTemplateURLModel() = 0;

Powered by Google App Engine
This is Rietveld 408576698