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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. 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/ui/webui/sync_promo/sync_promo_ui.cc
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc
index cdedf448b36e320bbdfb56e7644f6f86739fe820..7b46c804bf16c7a9ee1bb810fdeef939922fbfac 100644
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc
@@ -147,13 +147,13 @@ bool SyncPromoUI::ShouldShowSyncPromo(Profile* profile) {
}
// static
-void SyncPromoUI::RegisterUserPrefs(PrefService* prefs) {
- prefs->RegisterIntegerPref(
- prefs::kSyncPromoStartupCount, 0, PrefService::UNSYNCABLE_PREF);
- prefs->RegisterBooleanPref(
- prefs::kSyncPromoUserSkipped, false, PrefService::UNSYNCABLE_PREF);
+void SyncPromoUI::RegisterUserPrefs(PrefServiceSyncable* prefs) {
+ prefs->RegisterIntegerPref(prefs::kSyncPromoStartupCount, 0,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
+ prefs->RegisterBooleanPref(prefs::kSyncPromoUserSkipped, false,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kSyncPromoShowOnFirstRunAllowed, true,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
SyncPromoHandler::RegisterUserPrefs(prefs);
}
« no previous file with comments | « chrome/browser/ui/webui/sync_promo/sync_promo_ui.h ('k') | chrome/browser/ui/window_snapshot/window_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698