Index: chrome/browser/notifications/desktop_notification_service.cc |
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc |
index 323f91390bae8e59a99f20249c8d69ad6836f7b4..4f09b19acfb2f3ea7b9c41e4e5179c593d81c76c 100644 |
--- a/chrome/browser/notifications/desktop_notification_service.cc |
+++ b/chrome/browser/notifications/desktop_notification_service.cc |
@@ -19,7 +19,7 @@ |
#include "chrome/browser/notifications/notification.h" |
#include "chrome/browser/notifications/notification_object_proxy.h" |
#include "chrome/browser/notifications/notification_ui_manager.h" |
-#include "chrome/browser/prefs/pref_service.h" |
+#include "chrome/browser/prefs/pref_registry_syncable.h" |
#include "chrome/browser/prefs/scoped_user_pref_update.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/browser.h" |
@@ -192,10 +192,11 @@ bool NotificationPermissionInfoBarDelegate::Cancel() { |
// DesktopNotificationService ------------------------------------------------- |
// static |
-void DesktopNotificationService::RegisterUserPrefs(PrefServiceSyncable* prefs) { |
+void DesktopNotificationService::RegisterUserPrefs( |
+ PrefRegistrySyncable* registry) { |
#if defined(OS_CHROMEOS) || defined(ENABLE_MESSAGE_CENTER) |
- prefs->RegisterListPref(prefs::kMessageCenterDisabledExtensionIds, |
- PrefServiceSyncable::SYNCABLE_PREF); |
+ registry->RegisterListPref(prefs::kMessageCenterDisabledExtensionIds, |
+ PrefRegistrySyncable::SYNCABLE_PREF); |
#endif |
} |