OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Messages for platform-native notifications using the Web Notification API. | 5 // Messages for platform-native notifications using the Web Notification API. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 int /* request_id */, | 92 int /* request_id */, |
93 int64_t /* service_worker_registration_id */, | 93 int64_t /* service_worker_registration_id */, |
94 GURL /* origin */, | 94 GURL /* origin */, |
95 std::string /* filter_tag */) | 95 std::string /* filter_tag */) |
96 | 96 |
97 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, | 97 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, |
98 int /* notification_id */) | 98 int /* notification_id */) |
99 | 99 |
100 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, | 100 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, |
101 GURL /* origin */, | 101 GURL /* origin */, |
102 std::string /* persistent_notification_id */) | 102 int64_t /* persistent_notification_id */) |
103 | 103 |
104 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, | 104 IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission, |
105 GURL /* origin */, | 105 GURL /* origin */, |
106 blink::WebNotificationPermission /* result */) | 106 blink::WebNotificationPermission /* result */) |
OLD | NEW |