| Index: ui/message_center/notification_list.h
|
| diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h
|
| index 8689d4769ab80969ed8d42d0cf243b901b2acb49..c07df613f66917987ab32f56f5ba9f30d0f84358 100644
|
| --- a/ui/message_center/notification_list.h
|
| +++ b/ui/message_center/notification_list.h
|
| @@ -84,9 +84,6 @@ class MESSAGE_CENTER_EXPORT NotificationList {
|
| int button_index,
|
| const gfx::Image& image);
|
|
|
| - // Returns true if |id| matches a notification in the list.
|
| - bool HasNotification(const std::string& id);
|
| -
|
| // Returns true if |id| matches a notification in the list and that
|
| // notification's type matches the given type.
|
| bool HasNotificationOfType(const std::string& id,
|
| @@ -125,6 +122,10 @@ class MESSAGE_CENTER_EXPORT NotificationList {
|
| // specified time-delta from now.
|
| void EnterQuietModeWithExpire(const base::TimeDelta& expires_in);
|
|
|
| + // Returns the notification with the corresponding id. If not found, returns
|
| + // NULL. Notification instance is owned by this list.
|
| + Notification* GetNotificationById(const std::string& id);
|
| +
|
| // Returns all visible notifications, in a (priority-timestamp) order.
|
| // Suitable for rendering notifications in a MessageCenter.
|
| Notifications GetVisibleNotifications(
|
|
|