| Index: ui/message_center/notification_list.h
|
| diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h
|
| index 6a07d2c29255244bee17b5e9a2bf2f3255f2e33c..415585376ebc116b32a2cb9e20d034755b9afa50 100644
|
| --- a/ui/message_center/notification_list.h
|
| +++ b/ui/message_center/notification_list.h
|
| @@ -22,6 +22,9 @@ class DictionaryValue;
|
| }
|
|
|
| namespace message_center {
|
| +
|
| +class NotificationDelegate;
|
| +
|
| namespace test {
|
| class NotificationListTest;
|
| }
|
| @@ -61,13 +64,15 @@ class MESSAGE_CENTER_EXPORT NotificationList {
|
| const string16& message,
|
| const string16& display_source,
|
| const std::string& extension_id,
|
| - const base::DictionaryValue* optional_fields);
|
| + const base::DictionaryValue* optional_fields,
|
| + NotificationDelegate* delegate);
|
|
|
| void UpdateNotificationMessage(const std::string& old_id,
|
| const std::string& new_id,
|
| const string16& title,
|
| const string16& message,
|
| - const base::DictionaryValue* optional_fields);
|
| + const base::DictionaryValue* optional_fields,
|
| + NotificationDelegate* delegate);
|
|
|
| void RemoveNotification(const std::string& id);
|
|
|
| @@ -115,6 +120,8 @@ class MESSAGE_CENTER_EXPORT NotificationList {
|
| // Marks the specified notification as expanded in the notification center.
|
| void MarkNotificationAsExpanded(const std::string& id);
|
|
|
| + NotificationDelegate* GetNotificationDelegate(const std::string& id);
|
| +
|
| bool quiet_mode() const { return quiet_mode_; }
|
|
|
| // Sets the current quiet mode status to |quiet_mode|. The new status is not
|
|
|