Index: chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc |
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc |
index b9bc260b9a7b9462ff4e7903fcfed88acad25ff3..9d11bb4b77fe84e47929d028538590ddf7bc73ab 100644 |
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc |
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc |
@@ -78,13 +78,20 @@ SyncPromoHandler::~SyncPromoHandler() { |
} |
// static |
-void SyncPromoHandler::RegisterUserPrefs(PrefRegistrySyncable* registry) { |
- registry->RegisterIntegerPref(prefs::kSyncPromoViewCount, 0, |
- PrefRegistrySyncable::UNSYNCABLE_PREF); |
- registry->RegisterBooleanPref(prefs::kSyncPromoShowNTPBubble, false, |
- PrefRegistrySyncable::UNSYNCABLE_PREF); |
- registry->RegisterStringPref(prefs::kSyncPromoErrorMessage, std::string(), |
- PrefRegistrySyncable::UNSYNCABLE_PREF); |
+void SyncPromoHandler::RegisterUserPrefs( |
+ user_prefs::PrefRegistrySyncable* registry) { |
+ registry->RegisterIntegerPref( |
+ prefs::kSyncPromoViewCount, |
+ 0, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ registry->RegisterBooleanPref( |
+ prefs::kSyncPromoShowNTPBubble, |
+ false, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ registry->RegisterStringPref( |
+ prefs::kSyncPromoErrorMessage, |
+ std::string(), |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
} |
void SyncPromoHandler::RegisterMessages() { |