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

Unified Diff: chrome/browser/notifications/stub_alert_dispatcher_mac.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/notifications/stub_alert_dispatcher_mac.h
diff --git a/chrome/browser/notifications/stub_alert_dispatcher_mac.h b/chrome/browser/notifications/stub_alert_dispatcher_mac.h
index 29af5a3fc4ef8bbc348247f89bcd8e96d437d69c..f824399d990e4121447da59d9df3d63ac36c238c 100644
--- a/chrome/browser/notifications/stub_alert_dispatcher_mac.h
+++ b/chrome/browser/notifications/stub_alert_dispatcher_mac.h
@@ -7,7 +7,9 @@
#import <Foundation/Foundation.h>
-#import "chrome/browser/notifications/alert_dispatcher_mac.h"
+#include <string>
+
+#include "chrome/browser/notifications/alert_dispatcher_mac.h"
@interface StubAlertDispatcher : NSObject<AlertDispatcher>
@@ -18,6 +20,12 @@
- (void)closeAllNotifications;
+- (void)
+getDisplayedAlertsForProfileId:(NSString*)profileId
+ incognito:(BOOL)incognito
+ notificationCenter:(NSUserNotificationCenter*)notificationCenter
+ callback:(GetDisplayedNotificationsCallback)callback;
+
// Stub specific methods.
- (NSArray*)alerts;

Powered by Google App Engine
This is Rietveld 408576698