| Index: chrome/browser/notifications/message_center_notification_manager.h
|
| diff --git a/chrome/browser/notifications/message_center_notification_manager.h b/chrome/browser/notifications/message_center_notification_manager.h
|
| index 89493a25f657e54a826ee1f6ee2f31bf2f8eec90..91701d205b03df7538285bb7cf8caf9622b8dda6 100644
|
| --- a/chrome/browser/notifications/message_center_notification_manager.h
|
| +++ b/chrome/browser/notifications/message_center_notification_manager.h
|
| @@ -16,6 +16,8 @@
|
| #include "chrome/browser/notifications/notification.h"
|
| #include "chrome/browser/notifications/notification_ui_manager.h"
|
| #include "chrome/browser/notifications/notification_ui_manager_impl.h"
|
| +#include "content/public/browser/notification_observer.h"
|
| +#include "content/public/browser/notification_registrar.h"
|
| #include "ui/message_center/message_center.h"
|
| #include "ui/message_center/message_center_observer.h"
|
| #include "ui/message_center/message_center_tray_delegate.h"
|
| @@ -81,6 +83,12 @@ class MessageCenterNotificationManager
|
| void SetMessageCenterTrayDelegateForTest(
|
| message_center::MessageCenterTrayDelegate* delegate);
|
|
|
| + protected:
|
| + // content::NotificationObserver override.
|
| + virtual void Observe(int type,
|
| + const content::NotificationSource& source,
|
| + const content::NotificationDetails& details) OVERRIDE;
|
| +
|
| private:
|
| class ImageDownloadsObserver {
|
| public:
|
| @@ -214,6 +222,9 @@ class MessageCenterNotificationManager
|
|
|
| scoped_ptr<MessageCenterSettingsController> settings_controller_;
|
|
|
| + // Registrar for the other kind of notifications (event signaling).
|
| + content::NotificationRegistrar registrar_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager);
|
| };
|
|
|
|
|