Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2263)

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.h

Issue 2749453002: Make GetDisplayedNotifications asynchronous. (Closed)
Patch Set: review Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/platform_notification_service_impl.h
diff --git a/chrome/browser/notifications/platform_notification_service_impl.h b/chrome/browser/notifications/platform_notification_service_impl.h
index 12c6e6181d4190459646c7b7af238fdfbf00576a..d497d81c010705002722989b1365aa7ddf18c80f 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.h
+++ b/chrome/browser/notifications/platform_notification_service_impl.h
@@ -95,9 +95,9 @@ class PlatformNotificationServiceImpl
const content::NotificationResources& notification_resources) override;
void ClosePersistentNotification(content::BrowserContext* browser_context,
const std::string& notification_id) override;
- bool GetDisplayedNotifications(
+ void GetDisplayedNotifications(
content::BrowserContext* browser_context,
- std::set<std::string>* displayed_notifications) override;
+ const DisplayedNotificationsCallback& callback) override;
private:
friend struct base::DefaultSingletonTraits<PlatformNotificationServiceImpl>;

Powered by Google App Engine
This is Rietveld 408576698