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

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

Issue 2709213005: [Mac] Add XPC alerts to GetDisplayedNotifications (Closed)
Patch Set: review Created 3 years, 8 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..dd3e9a174517dd232a42c31679866b7f0b065468 100644
--- a/chrome/browser/ui/cocoa/notifications/notification_delivery.h
+++ b/chrome/browser/ui/cocoa/notifications/notification_delivery.h
@@ -27,6 +27,12 @@
// Closes all the alerts being displayed.
- (void)closeAllNotifications;
+
+// Will invoke |reply| with an array of NSString notification IDs for all alerts
+// for |profileId| and |incognito| value currently displayed.
+- (void)getDisplayedAlertsForProfileId:(NSString*)profileId
+ andIncognito:(BOOL)incognito
+ 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