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 29 matching lines...) Expand all Loading... |
40 | 40 |
41 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerResponseType, | 41 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerResponseType, |
42 blink::kWebServiceWorkerResponseTypeLast) | 42 blink::kWebServiceWorkerResponseTypeLast) |
43 | 43 |
44 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerResponseError, | 44 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerResponseError, |
45 blink::kWebServiceWorkerResponseErrorLast) | 45 blink::kWebServiceWorkerResponseErrorLast) |
46 | 46 |
47 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerClientType, | 47 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerClientType, |
48 blink::kWebServiceWorkerClientTypeLast) | 48 blink::kWebServiceWorkerClientTypeLast) |
49 | 49 |
| 50 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerUpdateViaCache, |
| 51 blink::WebServiceWorkerUpdateViaCache::kLast) |
| 52 |
50 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerProviderType, | 53 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerProviderType, |
51 content::SERVICE_WORKER_PROVIDER_TYPE_LAST) | 54 content::SERVICE_WORKER_PROVIDER_TYPE_LAST) |
52 | 55 |
53 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchType, | 56 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchType, |
54 content::ServiceWorkerFetchType::LAST) | 57 content::ServiceWorkerFetchType::LAST) |
55 | 58 |
56 IPC_STRUCT_TRAITS_BEGIN(content::ExtendableMessageEventSource) | 59 IPC_STRUCT_TRAITS_BEGIN(content::ExtendableMessageEventSource) |
57 IPC_STRUCT_TRAITS_MEMBER(client_info) | 60 IPC_STRUCT_TRAITS_MEMBER(client_info) |
58 IPC_STRUCT_TRAITS_MEMBER(service_worker_info) | 61 IPC_STRUCT_TRAITS_MEMBER(service_worker_info) |
59 IPC_STRUCT_TRAITS_END() | 62 IPC_STRUCT_TRAITS_END() |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 104 |
102 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) | 105 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerObjectInfo) |
103 IPC_STRUCT_TRAITS_MEMBER(handle_id) | 106 IPC_STRUCT_TRAITS_MEMBER(handle_id) |
104 IPC_STRUCT_TRAITS_MEMBER(url) | 107 IPC_STRUCT_TRAITS_MEMBER(url) |
105 IPC_STRUCT_TRAITS_MEMBER(state) | 108 IPC_STRUCT_TRAITS_MEMBER(state) |
106 IPC_STRUCT_TRAITS_MEMBER(version_id) | 109 IPC_STRUCT_TRAITS_MEMBER(version_id) |
107 IPC_STRUCT_TRAITS_END() | 110 IPC_STRUCT_TRAITS_END() |
108 | 111 |
109 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationOptions) | 112 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationOptions) |
110 IPC_STRUCT_TRAITS_MEMBER(scope) | 113 IPC_STRUCT_TRAITS_MEMBER(scope) |
| 114 IPC_STRUCT_TRAITS_MEMBER(update_via_cache) |
111 IPC_STRUCT_TRAITS_END() | 115 IPC_STRUCT_TRAITS_END() |
112 | 116 |
113 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo) | 117 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerRegistrationObjectInfo) |
114 IPC_STRUCT_TRAITS_MEMBER(handle_id) | 118 IPC_STRUCT_TRAITS_MEMBER(handle_id) |
115 IPC_STRUCT_TRAITS_MEMBER(options) | 119 IPC_STRUCT_TRAITS_MEMBER(options) |
116 IPC_STRUCT_TRAITS_MEMBER(registration_id) | 120 IPC_STRUCT_TRAITS_MEMBER(registration_id) |
117 IPC_STRUCT_TRAITS_END() | 121 IPC_STRUCT_TRAITS_END() |
118 | 122 |
119 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes) | 123 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerVersionAttributes) |
120 IPC_STRUCT_TRAITS_MEMBER(installing) | 124 IPC_STRUCT_TRAITS_MEMBER(installing) |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 | 517 |
514 // Sent via EmbeddedWorker as a response of NavigateClient. | 518 // Sent via EmbeddedWorker as a response of NavigateClient. |
515 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 519 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
516 int /* request_id */, | 520 int /* request_id */, |
517 content::ServiceWorkerClientInfo /* client */) | 521 content::ServiceWorkerClientInfo /* client */) |
518 | 522 |
519 // Sent via EmbeddedWorker as an error response of NavigateClient. | 523 // Sent via EmbeddedWorker as an error response of NavigateClient. |
520 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 524 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
521 int /* request_id */, | 525 int /* request_id */, |
522 GURL /* url */) | 526 GURL /* url */) |
OLD | NEW |