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 <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, | 51 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerFetchEventResult, |
52 content::SERVICE_WORKER_FETCH_EVENT_LAST) | 52 content::SERVICE_WORKER_FETCH_EVENT_LAST) |
53 | 53 |
54 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) | 54 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerResponse) |
55 IPC_STRUCT_TRAITS_MEMBER(url) | 55 IPC_STRUCT_TRAITS_MEMBER(url) |
56 IPC_STRUCT_TRAITS_MEMBER(status_code) | 56 IPC_STRUCT_TRAITS_MEMBER(status_code) |
57 IPC_STRUCT_TRAITS_MEMBER(status_text) | 57 IPC_STRUCT_TRAITS_MEMBER(status_text) |
58 IPC_STRUCT_TRAITS_MEMBER(response_type) | 58 IPC_STRUCT_TRAITS_MEMBER(response_type) |
59 IPC_STRUCT_TRAITS_MEMBER(headers) | 59 IPC_STRUCT_TRAITS_MEMBER(headers) |
60 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) | 60 IPC_STRUCT_TRAITS_MEMBER(blob_uuid) |
| 61 IPC_STRUCT_TRAITS_MEMBER(blob_size) |
61 IPC_STRUCT_TRAITS_END() | 62 IPC_STRUCT_TRAITS_END() |
62 | 63 |
63 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerCacheQueryParams) | 64 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerCacheQueryParams) |
64 IPC_STRUCT_TRAITS_MEMBER(ignore_search) | 65 IPC_STRUCT_TRAITS_MEMBER(ignore_search) |
65 IPC_STRUCT_TRAITS_MEMBER(ignore_method) | 66 IPC_STRUCT_TRAITS_MEMBER(ignore_method) |
66 IPC_STRUCT_TRAITS_MEMBER(ignore_vary) | 67 IPC_STRUCT_TRAITS_MEMBER(ignore_vary) |
67 IPC_STRUCT_TRAITS_MEMBER(prefix_match) | 68 IPC_STRUCT_TRAITS_MEMBER(prefix_match) |
68 IPC_STRUCT_TRAITS_END() | 69 IPC_STRUCT_TRAITS_END() |
69 | 70 |
70 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerCacheOperationType, | 71 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerCacheOperationType, |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 content::ServiceWorkerCacheQueryParams) | 228 content::ServiceWorkerCacheQueryParams) |
228 | 229 |
229 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_CacheBatch, | 230 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_CacheBatch, |
230 int /* request_id */, | 231 int /* request_id */, |
231 int /* cache_id */, | 232 int /* cache_id */, |
232 std::vector<content::ServiceWorkerBatchOperation>) | 233 std::vector<content::ServiceWorkerBatchOperation>) |
233 | 234 |
234 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheClosed, | 235 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheClosed, |
235 int /* cache_id */) | 236 int /* cache_id */) |
236 | 237 |
| 238 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_BlobDataHandled, |
| 239 std::string /* uuid */) |
| 240 |
237 //--------------------------------------------------------------------------- | 241 //--------------------------------------------------------------------------- |
238 // Messages sent from the browser to the child process. | 242 // Messages sent from the browser to the child process. |
239 // | 243 // |
240 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have | 244 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have |
241 // a thread_id as their first field so that ServiceWorkerMessageFilter can | 245 // a thread_id as their first field so that ServiceWorkerMessageFilter can |
242 // extract it and dispatch the message to the correct ServiceWorkerDispatcher | 246 // extract it and dispatch the message to the correct ServiceWorkerDispatcher |
243 // on the correct thread. | 247 // on the correct thread. |
244 | 248 |
245 // Informs the child process that the given provider gets associated or | 249 // Informs the child process that the given provider gets associated or |
246 // disassociated with the registration. | 250 // disassociated with the registration. |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 blink::WebServiceWorkerCacheError) | 412 blink::WebServiceWorkerCacheError) |
409 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 413 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
410 int /* request_id */, | 414 int /* request_id */, |
411 blink::WebServiceWorkerCacheError) | 415 blink::WebServiceWorkerCacheError) |
412 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 416 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
413 int /* request_id */, | 417 int /* request_id */, |
414 blink::WebServiceWorkerCacheError) | 418 blink::WebServiceWorkerCacheError) |
415 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 419 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
416 int /* request_id */, | 420 int /* request_id */, |
417 blink::WebServiceWorkerCacheError) | 421 blink::WebServiceWorkerCacheError) |
OLD | NEW |