| Index: chrome/browser/notifications/notification_ui_manager_impl.h
|
| diff --git a/chrome/browser/notifications/notification_ui_manager_impl.h b/chrome/browser/notifications/notification_ui_manager_impl.h
|
| index f8544ea38a06e6a99b5ef47f5e6452e08ac36135..fe5eba9e16abd7dd16db63f3b179a9c30d8e3855 100644
|
| --- a/chrome/browser/notifications/notification_ui_manager_impl.h
|
| +++ b/chrome/browser/notifications/notification_ui_manager_impl.h
|
| @@ -54,24 +54,24 @@ class NotificationUIManagerImpl
|
| virtual bool ShowNotification(const Notification& notification,
|
| Profile* profile) = 0;
|
|
|
| - // Replace an existing notification of the same id with this one if applicable;
|
| - // subclass returns 'true' if the replacement happened.
|
| - virtual bool UpdateNotification(const Notification& notification,
|
| - Profile* profile) = 0;
|
| -
|
| - // Attempts to display notifications from the show_queue. Invoked by subclasses
|
| - // if they previously returned 'false' from ShowNotifications, which may happen
|
| - // when there is no room to show another notification. When room appears, the
|
| - // subclass should call this method to cause an attempt to show more
|
| - // notifications from the waiting queue.
|
| - void CheckAndShowNotifications();
|
| + // Replace an existing notification of the same id with this one if
|
| + // applicable. Subclass returns 'true' if the replacement happened.
|
| + virtual bool UpdateNotification(const Notification& notification,
|
| + Profile* profile) = 0;
|
| +
|
| + // Attempts to display notifications from the show_queue. Invoked by
|
| + // subclasses if they previously returned 'false' from ShowNotifications,
|
| + // which may happen when there is no room to show another notification. When
|
| + // room appears, the subclass should call this method to cause an attempt to
|
| + // show more notifications from the waiting queue.
|
| + void CheckAndShowNotifications();
|
|
|
| - private:
|
| // content::NotificationObserver override.
|
| virtual void Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| + private:
|
| // Attempts to display notifications from the show_queue.
|
| void ShowNotifications();
|
|
|
|
|