| Index: chrome/browser/notifications/alert_dispatcher_mac.h
|
| diff --git a/chrome/browser/notifications/alert_dispatcher_mac.h b/chrome/browser/notifications/alert_dispatcher_mac.h
|
| index ee2744c29e183d68a1c4ee6e462dbfa76bed14fd..69821e1b8813e4f25762eed8dc74151aed31fca1 100644
|
| --- a/chrome/browser/notifications/alert_dispatcher_mac.h
|
| +++ b/chrome/browser/notifications/alert_dispatcher_mac.h
|
| @@ -7,6 +7,9 @@
|
|
|
| #import <Foundation/Foundation.h>
|
|
|
| +#include "base/callback_forward.h"
|
| +#include "chrome/browser/notifications/displayed_notifications_dispatch_callback.h"
|
| +
|
| // Interface to communicate with the Alert XPC service.
|
| @protocol AlertDispatcher<NSObject>
|
|
|
| @@ -20,6 +23,12 @@
|
| // Close all notifications.
|
| - (void)closeAllNotifications;
|
|
|
| +// Get currently displayed notifications.
|
| +- (void)
|
| +getDisplayedAlertsForProfileId:(NSString*)profileId
|
| + incognito:(BOOL)incognito
|
| + notificationCenter:(NSUserNotificationCenter*)notificationCenter
|
| + callback:(GetDisplayedNotificationsCallback)callback;
|
| @end
|
|
|
| #endif // CHROME_BROWSER_NOTIFICATIONS_ALERT_DISPATCHER_MAC_H_
|
|
|