| Index: chrome/browser/notifications/stub_notification_platform_bridge.h
|
| diff --git a/chrome/browser/notifications/stub_notification_platform_bridge.h b/chrome/browser/notifications/stub_notification_platform_bridge.h
|
| index 2e3f45a7045a1fd7d5e54247b19703530cb653de..1e4fd11a857bcb581e3a2dbb47f3b43176739872 100644
|
| --- a/chrome/browser/notifications/stub_notification_platform_bridge.h
|
| +++ b/chrome/browser/notifications/stub_notification_platform_bridge.h
|
| @@ -22,6 +22,9 @@ class StubNotificationPlatformBridge : public NotificationPlatformBridge {
|
| // Returns the notification being displayed at position |index|.
|
| Notification GetNotificationAt(std::string profile_id, size_t index);
|
|
|
| + // Returns the number of notifications displayed.
|
| + size_t GetNotificationCount();
|
| +
|
| // NotificationPlatformBridge implementation.
|
| void Display(NotificationCommon::Type notification_type,
|
| const std::string& notification_id,
|
| @@ -30,9 +33,10 @@ class StubNotificationPlatformBridge : public NotificationPlatformBridge {
|
| const Notification& notification) override;
|
| void Close(const std::string& profile_id,
|
| const std::string& notification_id) override;
|
| - bool GetDisplayed(const std::string& profile_id,
|
| - bool incognito,
|
| - std::set<std::string>* notifications) const override;
|
| + void GetDisplayed(
|
| + const std::string& profile_id,
|
| + bool incognito,
|
| + const DisplayedNotificationsCallback& callback) const override;
|
|
|
| private:
|
| // Map of profile Ids to list of notifications shown for said profile.
|
|
|