Index: ui/message_center/notification_list.h |
diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h |
index 415585376ebc116b32a2cb9e20d034755b9afa50..49dba304e7976de93931302d8a886acb708bdf20 100644 |
--- a/ui/message_center/notification_list.h |
+++ b/ui/message_center/notification_list.h |
@@ -58,21 +58,10 @@ class MESSAGE_CENTER_EXPORT NotificationList { |
void SetMessageCenterVisible(bool visible, |
std::set<std::string>* updated_ids); |
- 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); |
+ void AddNotification(scoped_ptr<Notification> notification); |
void UpdateNotificationMessage(const std::string& old_id, |
- const std::string& new_id, |
- const string16& title, |
- const string16& message, |
- const base::DictionaryValue* optional_fields, |
- NotificationDelegate* delegate); |
+ scoped_ptr<Notification> new_notification); |
void RemoveNotification(const std::string& id); |