| 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..10b1d063ec8e8288c87fad29d34a3b524f74eba2 100644
|
| --- a/chrome/browser/notifications/alert_dispatcher_mac.h
|
| +++ b/chrome/browser/notifications/alert_dispatcher_mac.h
|
| @@ -1,3 +1,4 @@
|
| +
|
| // Copyright 2016 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| @@ -7,6 +8,8 @@
|
|
|
| #import <Foundation/Foundation.h>
|
|
|
| +#include "chrome/browser/notifications/notification_common.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
|
| + withLocalNotifications:(NSArray*)localNotifications
|
| + callback:(NotificationCommon::NotificationResultCallback)
|
| + callback;
|
| @end
|
|
|
| #endif // CHROME_BROWSER_NOTIFICATIONS_ALERT_DISPATCHER_MAC_H_
|
|
|