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

Unified Diff: chrome/browser/prefs/incognito_mode_prefs.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/prefs/incognito_mode_prefs.cc
diff --git a/chrome/browser/prefs/incognito_mode_prefs.cc b/chrome/browser/prefs/incognito_mode_prefs.cc
index fe498ea2513cfff5aaec530ec32344b20a5ffe66..958140b2ed46cb71dd280c632f94c3f789c92658 100644
--- a/chrome/browser/prefs/incognito_mode_prefs.cc
+++ b/chrome/browser/prefs/incognito_mode_prefs.cc
@@ -52,11 +52,11 @@ void IncognitoModePrefs::SetAvailability(PrefService* prefs,
}
// static
-void IncognitoModePrefs::RegisterUserPrefs(PrefService* pref_service) {
+void IncognitoModePrefs::RegisterUserPrefs(PrefServiceSyncable* pref_service) {
DCHECK(pref_service);
pref_service->RegisterIntegerPref(prefs::kIncognitoModeAvailability,
IncognitoModePrefs::ENABLED,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
// static

Powered by Google App Engine
This is Rietveld 408576698