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

Unified Diff: chrome/browser/notifications/extension_welcome_notification.cc

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 years, 8 months 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/notifications/extension_welcome_notification.cc
diff --git a/chrome/browser/notifications/extension_welcome_notification.cc b/chrome/browser/notifications/extension_welcome_notification.cc
index 335ebb8fc3c53e6363c39d1ba8a762836ec6ff7a..5cb62ca43f67c1b85c7c78e275da9654d60cdc38 100644
--- a/chrome/browser/notifications/extension_welcome_notification.cc
+++ b/chrome/browser/notifications/extension_welcome_notification.cc
@@ -218,15 +218,10 @@ void ExtensionWelcomeNotification::RegisterProfilePrefs(
prefs->RegisterBooleanPref(prefs::kWelcomeNotificationDismissed,
false,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
- prefs->RegisterBooleanPref(prefs::kWelcomeNotificationDismissedLocal,
- false,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ prefs->RegisterBooleanPref(prefs::kWelcomeNotificationDismissedLocal, false);
prefs->RegisterBooleanPref(prefs::kWelcomeNotificationPreviouslyPoppedUp,
- false,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- prefs->RegisterInt64Pref(prefs::kWelcomeNotificationExpirationTimestamp,
- 0,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ false);
+ prefs->RegisterInt64Pref(prefs::kWelcomeNotificationExpirationTimestamp, 0);
}
message_center::MessageCenter*

Powered by Google App Engine
This is Rietveld 408576698