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 de6ae013cf5841df419da80d9f848945d0774bc8..6d141cd8c89db3674288487ceaaaa19e99f597f1 100644 |
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc |
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc |
@@ -146,13 +146,20 @@ bool SyncPromoUI::ShouldShowSyncPromo(Profile* profile) { |
} |
// static |
-void SyncPromoUI::RegisterUserPrefs(PrefRegistrySyncable* registry) { |
- registry->RegisterIntegerPref(prefs::kSyncPromoStartupCount, 0, |
- PrefRegistrySyncable::UNSYNCABLE_PREF); |
- registry->RegisterBooleanPref(prefs::kSyncPromoUserSkipped, false, |
- PrefRegistrySyncable::UNSYNCABLE_PREF); |
- registry->RegisterBooleanPref(prefs::kSyncPromoShowOnFirstRunAllowed, true, |
- PrefRegistrySyncable::UNSYNCABLE_PREF); |
+void SyncPromoUI::RegisterUserPrefs( |
+ user_prefs::PrefRegistrySyncable* registry) { |
+ registry->RegisterIntegerPref( |
+ prefs::kSyncPromoStartupCount, |
+ 0, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ registry->RegisterBooleanPref( |
+ prefs::kSyncPromoUserSkipped, |
+ false, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ registry->RegisterBooleanPref( |
+ prefs::kSyncPromoShowOnFirstRunAllowed, |
+ true, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
SyncPromoHandler::RegisterUserPrefs(registry); |
} |