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

Unified Diff: chrome/browser/prefs/pref_service.cc

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/prefs/pref_service.cc
diff --git a/chrome/browser/prefs/pref_service.cc b/chrome/browser/prefs/pref_service.cc
index 61f54f7f1f36acdf5ca20d96b01ae0cc27764c2c..87f2d219e7a51f3bec1535ce895a483444a4543b 100644
--- a/chrome/browser/prefs/pref_service.cc
+++ b/chrome/browser/prefs/pref_service.cc
@@ -345,6 +345,10 @@ void PrefService::UnregisterPreference(const char* path) {
default_store_->RemoveDefaultValue(path);
}
+bool PrefService::AllowPrefRegistrarSimple() const {
+ return true;
+}
+
void PrefService::ClearPref(const char* path) {
DCHECK(CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698