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); |
} |