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 8ae5ee5d5c56aa523838b07b8fea05618c498898..925e7c04bc8863ba253dd67c907f4ee05c276a67 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" |
@@ -80,6 +82,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: |
@@ -213,6 +221,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); |
}; |