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 // IPC messages for push messaging. | 5 // IPC messages for push messaging. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/public/common/push_messaging_status.h" | 8 #include "content/public/common/push_messaging_status.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "third_party/WebKit/public/platform/WebPushError.h" | 10 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushError
.h" |
11 #include "third_party/WebKit/public/platform/WebPushPermissionStatus.h" | 11 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushPermi
ssionStatus.h" |
12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
13 | 13 |
14 #define IPC_MESSAGE_START PushMessagingMsgStart | 14 #define IPC_MESSAGE_START PushMessagingMsgStart |
15 | 15 |
16 IPC_ENUM_TRAITS_MAX_VALUE(content::PushRegistrationStatus, | 16 IPC_ENUM_TRAITS_MAX_VALUE(content::PushRegistrationStatus, |
17 content::PUSH_REGISTRATION_STATUS_LAST) | 17 content::PUSH_REGISTRATION_STATUS_LAST) |
18 | 18 |
19 IPC_ENUM_TRAITS_MAX_VALUE(content::PushGetRegistrationStatus, | 19 IPC_ENUM_TRAITS_MAX_VALUE(content::PushGetRegistrationStatus, |
20 content::PUSH_GETREGISTRATION_STATUS_LAST) | 20 content::PUSH_GETREGISTRATION_STATUS_LAST) |
21 | 21 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 int32 /* request_id */, | 89 int32 /* request_id */, |
90 int64 /* service_worker_registration_id */) | 90 int64 /* service_worker_registration_id */) |
91 | 91 |
92 IPC_MESSAGE_CONTROL2(PushMessagingHostMsg_GetRegistration, | 92 IPC_MESSAGE_CONTROL2(PushMessagingHostMsg_GetRegistration, |
93 int32 /* request_id */, | 93 int32 /* request_id */, |
94 int64 /* service_worker_registration_id */) | 94 int64 /* service_worker_registration_id */) |
95 | 95 |
96 IPC_MESSAGE_CONTROL2(PushMessagingHostMsg_GetPermissionStatus, | 96 IPC_MESSAGE_CONTROL2(PushMessagingHostMsg_GetPermissionStatus, |
97 int32 /* request_id */, | 97 int32 /* request_id */, |
98 int64 /* service_worker_registration_id */) | 98 int64 /* service_worker_registration_id */) |
OLD | NEW |