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

Unified Diff: chrome/browser/ui/cocoa/notifications/notification_delivery.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/ui/cocoa/notifications/notification_delivery.h
diff --git a/chrome/browser/ui/cocoa/notifications/notification_delivery.h b/chrome/browser/ui/cocoa/notifications/notification_delivery.h
index 8670956d10b7a711b3af3437324eddeb435aec46..646495ad06244bdc102bb03e2ca73703c6a6393f 100644
--- a/chrome/browser/ui/cocoa/notifications/notification_delivery.h
+++ b/chrome/browser/ui/cocoa/notifications/notification_delivery.h
@@ -22,6 +22,10 @@
// Closes all the alerts being displayed.
- (void)closeAllNotifications;
+
+// Returns the alerts currently being displayed for |profileId|.
Peter Beverloo 2017/02/24 16:12:24 nit: // Will invoke |reply| with the alerts...
Miguel Garcia 2017/03/22 22:00:10 Done.
+- (void)getDisplayedAlertIds:(NSString*)profileId
Robert Sesek 2017/02/24 22:38:05 Similarly name: getDisplayedAlertsForProfileId:wit
Miguel Garcia 2017/03/22 22:00:10 Done.
+ withReply:(void (^)(NSArray*))reply;
@end
// Response protocol for the XPC notification service to notify Chrome of

Powered by Google App Engine
This is Rietveld 408576698