| Index: chrome/browser/notifications/platform_notification_service_impl.cc
|
| diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
|
| index 2f79b35ba28726a7a4df6c89f2a6657713a91913..ab3bef99b80ace0df413408dada8ac513ca0d94f 100644
|
| --- a/chrome/browser/notifications/platform_notification_service_impl.cc
|
| +++ b/chrome/browser/notifications/platform_notification_service_impl.cc
|
| @@ -361,7 +361,7 @@ void PlatformNotificationServiceImpl::ClosePersistentNotification(
|
| notification_id);
|
| }
|
|
|
| -bool PlatformNotificationServiceImpl::GetDisplayedPersistentNotifications(
|
| +bool PlatformNotificationServiceImpl::GetDisplayedNotifications(
|
| BrowserContext* browser_context,
|
| std::set<std::string>* displayed_notifications) {
|
| DCHECK(displayed_notifications);
|
| @@ -370,7 +370,6 @@ bool PlatformNotificationServiceImpl::GetDisplayedPersistentNotifications(
|
| if (!profile || profile->AsTestingProfile())
|
| return false; // Tests will not have a message center.
|
|
|
| - // TODO(peter): Filter for persistent notifications only.
|
| return GetNotificationDisplayService(profile)->GetDisplayed(
|
| displayed_notifications);
|
| }
|
|
|