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

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

Issue 2158463003: Initial client side implementation of the XPC service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_NOTIFICATION_DELIVERY_H_
6 #define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_NOTIFICATION_DELIVERY_H_
7
8 #import <Foundation/Foundation.h>
9
10 // Collection of protocols used for XPC communication between chrome
11 // and the alert notification xpc service.
12
13 // Protocol for the XPC notification service.
14 @protocol NotificationDelivery
15
16 // |notificationData| is generated using a NofiticationBuilder object.
17 - (void)deliverNotification:(NSDictionary*)notificationData;
18
19 @end
20
21 // Response protocol for the XPC notification service to notify Chrome of
22 // notification interactions.
23 @protocol NotificationReply
24
25 // |notificationResponseData| is generated through a
26 // NotificationResponseBuilder.
27 - (void)notificationClick:(NSDictionary*)notificationResponseData;
28
29 @end
30
31 #endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_NOTIFICATION_DELIVERY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698