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

Unified Diff: content/public/browser/platform_notification_service.h

Issue 2714743002: Retrive displayed notifications asynchronously
Patch Set: apply review comments from https://codereview.chromium.org/2709213005/ Created 3 years, 10 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
« no previous file with comments | « content/browser/notifications/platform_notification_context_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/platform_notification_service.h
diff --git a/content/public/browser/platform_notification_service.h b/content/public/browser/platform_notification_service.h
index c1ad9ecd12d03f138b9723274bd68626e4583cad..edb74805bf56848abd97e1de09a9979c7bf40fb6 100644
--- a/content/public/browser/platform_notification_service.h
+++ b/content/public/browser/platform_notification_service.h
@@ -84,6 +84,11 @@ class CONTENT_EXPORT PlatformNotificationService {
virtual bool GetDisplayedNotifications(
BrowserContext* browser_context,
std::set<std::string>* displayed_notifications) = 0;
+
+ virtual void GetDisplayedNotificationsAsync(
+ BrowserContext* browser_context,
+ const base::Callback<void(std::unique_ptr<std::set<std::string>>,
+ bool /* success */)>&) = 0;
};
} // namespace content
« no previous file with comments | « content/browser/notifications/platform_notification_context_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698