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 "base/strings/string16.h" | 7 #include "base/strings/string16.h" |
8 #include "content/common/service_worker/service_worker_status_code.h" | 8 #include "content/common/service_worker/service_worker_status_code.h" |
9 #include "content/common/service_worker/service_worker_types.h" | 9 #include "content/common/service_worker/service_worker_types.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerEventResult, | 24 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerEventResult, |
25 blink::WebServiceWorkerEventResultLast) | 25 blink::WebServiceWorkerEventResultLast) |
26 | 26 |
27 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerState, | 27 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerState, |
28 blink::WebServiceWorkerStateLast) | 28 blink::WebServiceWorkerStateLast) |
29 | 29 |
30 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) | 30 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) |
31 IPC_STRUCT_TRAITS_MEMBER(url) | 31 IPC_STRUCT_TRAITS_MEMBER(url) |
32 IPC_STRUCT_TRAITS_MEMBER(method) | 32 IPC_STRUCT_TRAITS_MEMBER(method) |
33 IPC_STRUCT_TRAITS_MEMBER(headers) | 33 IPC_STRUCT_TRAITS_MEMBER(headers) |
| 34 IPC_STRUCT_TRAITS_MEMBER(referrer) |
34 IPC_STRUCT_TRAITS_MEMBER(is_reload) | 35 IPC_STRUCT_TRAITS_MEMBER(is_reload) |
35 IPC_STRUCT_TRAITS_END() | 36 IPC_STRUCT_TRAITS_END() |
36 | 37 |
37 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, | 38 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, |
38 content::SERVICE_WORKER_FETCH_EVENT_LAST) | 39 content::SERVICE_WORKER_FETCH_EVENT_LAST) |
39 | 40 |
40 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) | 41 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) |
41 IPC_STRUCT_TRAITS_MEMBER(status_code) | 42 IPC_STRUCT_TRAITS_MEMBER(status_code) |
42 IPC_STRUCT_TRAITS_MEMBER(status_text) | 43 IPC_STRUCT_TRAITS_MEMBER(status_text) |
43 IPC_STRUCT_TRAITS_MEMBER(headers) | 44 IPC_STRUCT_TRAITS_MEMBER(headers) |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 std::string /* data */) | 204 std::string /* data */) |
204 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, | 205 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, |
205 base::string16 /* message */, | 206 base::string16 /* message */, |
206 std::vector<int> /* sent_message_port_ids */, | 207 std::vector<int> /* sent_message_port_ids */, |
207 std::vector<int> /* new_routing_ids */) | 208 std::vector<int> /* new_routing_ids */) |
208 | 209 |
209 // Sent via EmbeddedWorker as a response of GetClientDocuments. | 210 // Sent via EmbeddedWorker as a response of GetClientDocuments. |
210 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, | 211 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, |
211 int /* request_id */, | 212 int /* request_id */, |
212 std::vector<int> /* client_ids */) | 213 std::vector<int> /* client_ids */) |
OLD | NEW |