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

Side by Side Diff: chrome/browser/ui/cocoa/notifications/alert_notification_service.h

Issue 2419213003: Ensure the xpc transaction is ended (Closed)
Patch Set: review Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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_BANNER_NOTIFICATION_SERVICE_H_
6 #define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BANNER_NOTIFICATION_SERVICE_H_ 6 #define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BANNER_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;
13
12 // Implementation of the NotificationDelivery protocol that can display 14 // Implementation of the NotificationDelivery protocol that can display
13 // notifications of type alert. 15 // notifications of type alert.
14 @interface AlertNotificationService : NSObject<NotificationDelivery> 16 @interface AlertNotificationService : NSObject<NotificationDelivery>
17 - (instancetype)initWithTransactionHandler:(XPCTransactionHandler*)handler;
15 @end 18 @end
16 19
17 #endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BANNER_NOTIFICATION_SERVICE_H_ 20 #endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BANNER_NOTIFICATION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/notifications/BUILD.gn ('k') | chrome/browser/ui/cocoa/notifications/alert_notification_service.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698