| Index: ui/message_center/message_center_impl.h
|
| diff --git a/ui/message_center/message_center_impl.h b/ui/message_center/message_center_impl.h
|
| index 41691a2133661dba102f366e2a92edd486da5685..33e7a146d765d05b9b1b179a435523148d4ae356 100644
|
| --- a/ui/message_center/message_center_impl.h
|
| +++ b/ui/message_center/message_center_impl.h
|
| @@ -11,6 +11,8 @@
|
|
|
| namespace message_center {
|
|
|
| +class NotificationDelegate;
|
| +
|
| // The default implementation of MessageCenter.
|
| class MessageCenterImpl : public MessageCenter {
|
| public:
|
| @@ -30,20 +32,20 @@ class MessageCenterImpl : public MessageCenter {
|
| virtual bool HasClickedListener(const std::string& id) OVERRIDE;
|
| virtual const NotificationList::Notifications& GetNotifications() OVERRIDE;
|
| virtual NotificationList::PopupNotifications GetPopupNotifications() OVERRIDE;
|
| - virtual void AddNotification(
|
| - NotificationType type,
|
| - const std::string& id,
|
| - const string16& title,
|
| - const string16& message,
|
| - const string16& display_source,
|
| - const std::string& extension_id,
|
| - const base::DictionaryValue* optional_fields) OVERRIDE;
|
| - virtual void UpdateNotification(
|
| - const std::string& old_id,
|
| - const std::string& new_id,
|
| - const string16& title,
|
| - const string16& message,
|
| - const base::DictionaryValue* optional_fields) OVERRIDE;
|
| + virtual void AddNotification(NotificationType type,
|
| + const std::string& id,
|
| + const string16& title,
|
| + const string16& message,
|
| + const string16& display_source,
|
| + const std::string& extension_id,
|
| + const base::DictionaryValue* optional_fields,
|
| + NotificationDelegate* delegate) OVERRIDE;
|
| + virtual void UpdateNotification(const std::string& old_id,
|
| + const std::string& new_id,
|
| + const string16& title,
|
| + const string16& message,
|
| + const base::DictionaryValue* optional_fields,
|
| + NotificationDelegate* delegate) OVERRIDE;
|
| virtual void RemoveNotification(const std::string& id, bool by_user) OVERRIDE;
|
| virtual void RemoveAllNotifications(bool by_user) OVERRIDE;
|
| virtual void SetNotificationIcon(const std::string& notification_id,
|
|
|