OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BANNER_NOTIFICATION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_ALERT_NOTIFICATION_SERVICE_H_ |
6 #define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BANNER_NOTIFICATION_SERVICE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_ALERT_NOTIFICATION_SERVICE_H_ |
7 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 | 9 |
10 #import "chrome/browser/ui/cocoa/notifications/notification_delivery.h" | 10 #import "chrome/browser/ui/cocoa/notifications/notification_delivery.h" |
11 | 11 |
12 @class XPCTransactionHandler; | 12 @class XPCTransactionHandler; |
13 | 13 |
14 // Implementation of the NotificationDelivery protocol that can display | 14 // Implementation of the NotificationDelivery protocol that can display |
15 // notifications of type alert. | 15 // notifications of type alert. |
16 @interface AlertNotificationService : NSObject<NotificationDelivery> | 16 @interface AlertNotificationService : NSObject<NotificationDelivery> |
17 - (instancetype)initWithTransactionHandler:(XPCTransactionHandler*)handler; | 17 - (instancetype)initWithTransactionHandler:(XPCTransactionHandler*)handler; |
18 @end | 18 @end |
19 | 19 |
20 #endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BANNER_NOTIFICATION_SERVICE_H_ | 20 #endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_ALERT_NOTIFICATION_SERVICE_H_ |
OLD | NEW |