| 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 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 IPC_STRUCT_TRAITS_MEMBER(cors_exposed_header_names) | 99 IPC_STRUCT_TRAITS_MEMBER(cors_exposed_header_names) |
| 100 IPC_STRUCT_TRAITS_END() | 100 IPC_STRUCT_TRAITS_END() |
| 101 | 101 |
| 102 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) | 102 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) |
| 103 IPC_STRUCT_TRAITS_MEMBER(handle_id) | 103 IPC_STRUCT_TRAITS_MEMBER(handle_id) |
| 104 IPC_STRUCT_TRAITS_MEMBER(url) | 104 IPC_STRUCT_TRAITS_MEMBER(url) |
| 105 IPC_STRUCT_TRAITS_MEMBER(state) | 105 IPC_STRUCT_TRAITS_MEMBER(state) |
| 106 IPC_STRUCT_TRAITS_MEMBER(version_id) | 106 IPC_STRUCT_TRAITS_MEMBER(version_id) |
| 107 IPC_STRUCT_TRAITS_END() | 107 IPC_STRUCT_TRAITS_END() |
| 108 | 108 |
| 109 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationOptions) |
| 110 IPC_STRUCT_TRAITS_MEMBER(scope) |
| 111 IPC_STRUCT_TRAITS_END() |
| 112 |
| 109 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo) | 113 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo) |
| 110 IPC_STRUCT_TRAITS_MEMBER(handle_id) | 114 IPC_STRUCT_TRAITS_MEMBER(handle_id) |
| 111 IPC_STRUCT_TRAITS_MEMBER(scope) | 115 IPC_STRUCT_TRAITS_MEMBER(options) |
| 112 IPC_STRUCT_TRAITS_MEMBER(registration_id) | 116 IPC_STRUCT_TRAITS_MEMBER(registration_id) |
| 113 IPC_STRUCT_TRAITS_END() | 117 IPC_STRUCT_TRAITS_END() |
| 114 | 118 |
| 115 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes) | 119 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes) |
| 116 IPC_STRUCT_TRAITS_MEMBER(installing) | 120 IPC_STRUCT_TRAITS_MEMBER(installing) |
| 117 IPC_STRUCT_TRAITS_MEMBER(waiting) | 121 IPC_STRUCT_TRAITS_MEMBER(waiting) |
| 118 IPC_STRUCT_TRAITS_MEMBER(active) | 122 IPC_STRUCT_TRAITS_MEMBER(active) |
| 119 IPC_STRUCT_TRAITS_END() | 123 IPC_STRUCT_TRAITS_END() |
| 120 | 124 |
| 121 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerClientInfo) | 125 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerClientInfo) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 145 IPC_STRUCT_TRAITS_MEMBER(is_null) | 149 IPC_STRUCT_TRAITS_MEMBER(is_null) |
| 146 IPC_STRUCT_TRAITS_END() | 150 IPC_STRUCT_TRAITS_END() |
| 147 | 151 |
| 148 //--------------------------------------------------------------------------- | 152 //--------------------------------------------------------------------------- |
| 149 // Messages sent from the child process to the browser. | 153 // Messages sent from the child process to the browser. |
| 150 | 154 |
| 151 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, | 155 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, |
| 152 int /* thread_id */, | 156 int /* thread_id */, |
| 153 int /* request_id */, | 157 int /* request_id */, |
| 154 int /* provider_id */, | 158 int /* provider_id */, |
| 155 GURL /* scope */, | 159 GURL /* script_url */, |
| 156 GURL /* script_url */) | 160 content::ServiceWorkerRegistrationOptions) |
| 157 | 161 |
| 158 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UpdateServiceWorker, | 162 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UpdateServiceWorker, |
| 159 int /* thread_id */, | 163 int /* thread_id */, |
| 160 int /* request_id */, | 164 int /* request_id */, |
| 161 int /* provider_id */, | 165 int /* provider_id */, |
| 162 int64_t /* registration_id */) | 166 int64_t /* registration_id */) |
| 163 | 167 |
| 164 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, | 168 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, |
| 165 int /* thread_id */, | 169 int /* thread_id */, |
| 166 int /* request_id */, | 170 int /* request_id */, |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 | 513 |
| 510 // Sent via EmbeddedWorker as a response of NavigateClient. | 514 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 511 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 515 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 512 int /* request_id */, | 516 int /* request_id */, |
| 513 content::ServiceWorkerClientInfo /* client */) | 517 content::ServiceWorkerClientInfo /* client */) |
| 514 | 518 |
| 515 // Sent via EmbeddedWorker as an error response of NavigateClient. | 519 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 516 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 520 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 517 int /* request_id */, | 521 int /* request_id */, |
| 518 GURL /* url */) | 522 GURL /* url */) |
| OLD | NEW |