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

Unified Diff: chrome/browser/ui/cocoa/notifications/notification_delivery.h

Issue 2709213005: [Mac] Add XPC alerts to GetDisplayedNotifications (Closed)
Patch Set: Rebase after making the whole flow async in a different patch 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/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 29bc8692403b578a026deb51038572e56d2073f4..0ab0105272280d43e0ad4c879c8f3ac73ed7708e 100644
--- a/chrome/browser/ui/cocoa/notifications/notification_delivery.h
+++ b/chrome/browser/ui/cocoa/notifications/notification_delivery.h
@@ -27,6 +27,10 @@
// Closes all the alerts being displayed.
- (void)closeAllNotifications;
+
+// Will invoke |reply| with the alerts for |profileId| being displayed.
Robert Sesek 2017/04/03 16:51:24 … alerts "as an array of NSString notification IDs
Miguel Garcia 2017/04/04 12:21:26 Done.
+- (void)getDisplayedAlertsForProfileId:(NSString*)profileId
+ 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