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

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

Issue 2709213005: [Mac] Add XPC alerts to GetDisplayedNotifications (Closed)
Patch Set: - 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
Index: chrome/browser/notifications/notification_platform_bridge.h
diff --git a/chrome/browser/notifications/notification_platform_bridge.h b/chrome/browser/notifications/notification_platform_bridge.h
index 720245c8c8eb12465b5ab9d6d5ed949b4daa636f..cb2fff6283250e0de1c5ad189c8d88a32edb74d7 100644
--- a/chrome/browser/notifications/notification_platform_bridge.h
+++ b/chrome/browser/notifications/notification_platform_bridge.h
@@ -44,6 +44,13 @@ class NotificationPlatformBridge {
bool incognito,
std::set<std::string>* notification_ids) const = 0;
+ // Asynchronous version of |GetDisplayed|
+ // TODO(miguelg): remmove the sync version once all paths have been updated.
Peter Beverloo 2017/02/24 16:12:23 micro nit: remmmmmmmmmmmmmmove
Miguel Garcia 2017/03/22 22:00:07 Done.
+ virtual void GetDisplayedAsync(
+ const std::string& profile_id,
+ bool incognito,
+ const NotificationCommon::NotificationResultCallback& callback) const = 0;
+
protected:
NotificationPlatformBridge() {}

Powered by Google App Engine
This is Rietveld 408576698