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

Unified Diff: chrome/browser/managed_mode/managed_mode.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/managed_mode/managed_mode.cc
diff --git a/chrome/browser/managed_mode/managed_mode.cc b/chrome/browser/managed_mode/managed_mode.cc
index a40042ff5eca896de667597419c9d1045e146175..f1acb3bb8d0ffcd1605fd03699af7a25c2bd6c2c 100644
--- a/chrome/browser/managed_mode/managed_mode.cc
+++ b/chrome/browser/managed_mode/managed_mode.cc
@@ -82,15 +82,15 @@ ManagedMode* ManagedMode::GetInstance() {
}
// static
-void ManagedMode::RegisterPrefs(PrefService* prefs) {
+void ManagedMode::RegisterPrefs(PrefServiceSimple* prefs) {
prefs->RegisterBooleanPref(prefs::kInManagedMode, false);
}
// static
-void ManagedMode::RegisterUserPrefs(PrefService* prefs) {
+void ManagedMode::RegisterUserPrefs(PrefServiceSyncable* prefs) {
prefs->RegisterIntegerPref(prefs::kDefaultManagedModeFilteringBehavior,
2,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
// static

Powered by Google App Engine
This is Rietveld 408576698