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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 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/notification_ui_manager.cc
diff --git a/chrome/browser/notifications/notification_ui_manager.cc b/chrome/browser/notifications/notification_ui_manager.cc
index 56c90f2dad1eab018b906f2c67a7cd562bec747d..4b47ef524840305e83dd0487dcdb35f549ed372e 100644
--- a/chrome/browser/notifications/notification_ui_manager.cc
+++ b/chrome/browser/notifications/notification_ui_manager.cc
@@ -77,7 +77,8 @@ NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) {
// static
void NotificationUIManager::RegisterPrefs(PrefService* prefs) {
prefs->RegisterIntegerPref(prefs::kDesktopNotificationPosition,
- BalloonCollection::DEFAULT_POSITION);
+ BalloonCollection::DEFAULT_POSITION,
+ false /* don't sync pref */);
}
void NotificationUIManager::Initialize(

Powered by Google App Engine
This is Rietveld 408576698