Index: chrome/browser/notifications/notification_prefs_manager.cc |
diff --git a/chrome/browser/notifications/notification_prefs_manager.cc b/chrome/browser/notifications/notification_prefs_manager.cc |
index 01928aac1617c7f82e8b05697aae94fc076216c7..a01f337a147669806ab7c6f1939cb66b1a79d8da 100644 |
--- a/chrome/browser/notifications/notification_prefs_manager.cc |
+++ b/chrome/browser/notifications/notification_prefs_manager.cc |
@@ -4,13 +4,15 @@ |
#include "chrome/browser/notifications/notification_prefs_manager.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/common/pref_names.h" |
// static |
-void NotificationPrefsManager::RegisterPrefs(PrefServiceSimple* prefs) { |
- prefs->RegisterIntegerPref(prefs::kDesktopNotificationPosition, |
- BalloonCollection::DEFAULT_POSITION); |
+void NotificationPrefsManager::RegisterPrefs(PrefService* prefs, |
+ PrefRegistrySimple* registry) { |
+ registry->RegisterIntegerPref(prefs::kDesktopNotificationPosition, |
+ BalloonCollection::DEFAULT_POSITION); |
#if defined(OS_CHROMEOS) |
Mattias Nissler (ping if slow)
2013/01/31 13:06:25
Add a TODO saying that we shouldn't do this here?
Jói
2013/01/31 13:43:42
Done.
|
// Option menu for changing desktop notification position on ChromeOS is |
// disabled. Force preference to default. |