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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 blink::WebServiceWorkerResponseErrorLast) | 45 blink::WebServiceWorkerResponseErrorLast) |
46 | 46 |
47 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerClientType, | 47 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebServiceWorkerClientType, |
48 blink::WebServiceWorkerClientTypeLast) | 48 blink::WebServiceWorkerClientTypeLast) |
49 | 49 |
50 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerProviderType, | 50 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerProviderType, |
51 content::SERVICE_WORKER_PROVIDER_TYPE_LAST) | 51 content::SERVICE_WORKER_PROVIDER_TYPE_LAST) |
52 | 52 |
53 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) | 53 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerFetchRequest) |
54 IPC_STRUCT_TRAITS_MEMBER(mode) | 54 IPC_STRUCT_TRAITS_MEMBER(mode) |
55 IPC_STRUCT_TRAITS_MEMBER(is_main_resource_load) | |
56 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 55 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
57 IPC_STRUCT_TRAITS_MEMBER(frame_type) | 56 IPC_STRUCT_TRAITS_MEMBER(frame_type) |
58 IPC_STRUCT_TRAITS_MEMBER(url) | 57 IPC_STRUCT_TRAITS_MEMBER(url) |
59 IPC_STRUCT_TRAITS_MEMBER(method) | 58 IPC_STRUCT_TRAITS_MEMBER(method) |
60 IPC_STRUCT_TRAITS_MEMBER(headers) | 59 IPC_STRUCT_TRAITS_MEMBER(headers) |
61 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) | 60 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) |
62 IPC_STRUCT_TRAITS_MEMBER(blob_size) | 61 IPC_STRUCT_TRAITS_MEMBER(blob_size) |
63 IPC_STRUCT_TRAITS_MEMBER(referrer) | 62 IPC_STRUCT_TRAITS_MEMBER(referrer) |
64 IPC_STRUCT_TRAITS_MEMBER(credentials_mode) | 63 IPC_STRUCT_TRAITS_MEMBER(credentials_mode) |
65 IPC_STRUCT_TRAITS_MEMBER(redirect_mode) | 64 IPC_STRUCT_TRAITS_MEMBER(redirect_mode) |
66 IPC_STRUCT_TRAITS_MEMBER(client_id) | |
67 IPC_STRUCT_TRAITS_MEMBER(is_reload) | 65 IPC_STRUCT_TRAITS_MEMBER(is_reload) |
68 IPC_STRUCT_TRAITS_END() | 66 IPC_STRUCT_TRAITS_END() |
69 | 67 |
70 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, | 68 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, |
71 content::SERVICE_WORKER_FETCH_EVENT_LAST) | 69 content::SERVICE_WORKER_FETCH_EVENT_LAST) |
72 | 70 |
73 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) | 71 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) |
74 IPC_STRUCT_TRAITS_MEMBER(url) | 72 IPC_STRUCT_TRAITS_MEMBER(url) |
75 IPC_STRUCT_TRAITS_MEMBER(status_code) | 73 IPC_STRUCT_TRAITS_MEMBER(status_code) |
76 IPC_STRUCT_TRAITS_MEMBER(status_text) | 74 IPC_STRUCT_TRAITS_MEMBER(status_text) |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 | 492 |
495 // Sent via EmbeddedWorker as a response of NavigateClient. | 493 // Sent via EmbeddedWorker as a response of NavigateClient. |
496 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 494 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
497 int /* request_id */, | 495 int /* request_id */, |
498 content::ServiceWorkerClientInfo /* client */) | 496 content::ServiceWorkerClientInfo /* client */) |
499 | 497 |
500 // Sent via EmbeddedWorker as an error response of NavigateClient. | 498 // Sent via EmbeddedWorker as an error response of NavigateClient. |
501 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
502 int /* request_id */, | 500 int /* request_id */, |
503 GURL /* url */) | 501 GURL /* url */) |
OLD | NEW |