| Index: chrome/browser/notifications/desktop_notification_service.h
|
| ===================================================================
|
| --- chrome/browser/notifications/desktop_notification_service.h (revision 65581)
|
| +++ chrome/browser/notifications/desktop_notification_service.h (working copy)
|
| @@ -6,6 +6,7 @@
|
| #define CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_
|
| #pragma once
|
|
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| @@ -121,6 +122,8 @@
|
| void StartObserving();
|
| void StopObserving();
|
|
|
| + void OnPrefsChanged(const std::string& pref_name);
|
| +
|
| // Takes a notification object and shows it in the UI.
|
| void ShowNotification(const Notification& notification);
|
|
|
| @@ -143,7 +146,8 @@
|
| // UI for desktop toasts.
|
| NotificationUIManager* ui_manager_;
|
|
|
| - PrefChangeRegistrar registrar_;
|
| + PrefChangeRegistrar prefs_registrar_;
|
| + NotificationRegistrar notification_registrar_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService);
|
| };
|
|
|