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

Unified Diff: chrome/browser/prefs/pref_value_store.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 (first set of) comments by Mattias 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/prefs/pref_value_store.h
diff --git a/chrome/browser/prefs/pref_value_store.h b/chrome/browser/prefs/pref_value_store.h
index 87ed7b26b635cbfb6517d0b6d316a3d22c395e49..7666d6ea0d8205e2a8d787a04d607faac7268989 100644
--- a/chrome/browser/prefs/pref_value_store.h
+++ b/chrome/browser/prefs/pref_value_store.h
@@ -172,7 +172,14 @@ class PrefValueStore : public base::RefCountedThreadSafe<PrefValueStore> {
// that conflict with proxy settings specified by proxy policy.
bool HasPolicyConflictingUserProxySettings();
- protected:
+ // Replaces the internal link to the extension preferences store and takes
+ // ownership of |extension_prefs|.
+ void ReplaceExtensionPrefStore(PrefStore* extension_prefs);
+
+ // Returns a reference to the extension pref store for write access.
+ PrefStore* GetExtensionPrefStore();
+
+ protected:
// In decreasing order of precedence:
// |managed_platform_prefs| contains all managed platform (non-cloud policy)
// preference values.

Powered by Google App Engine
This is Rietveld 408576698