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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_CacheMatchAll, | 209 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_CacheMatchAll, |
210 int /* request_id */, | 210 int /* request_id */, |
211 int /* cache_id */, | 211 int /* cache_id */, |
212 content::ServiceWorkerFetchRequest, | 212 content::ServiceWorkerFetchRequest, |
213 content::ServiceWorkerCacheQueryParams) | 213 content::ServiceWorkerCacheQueryParams) |
214 | 214 |
215 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_CacheKeys, | 215 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_CacheKeys, |
216 int /* request_id */, | 216 int /* request_id */, |
217 int /* cache_id */, | 217 int /* cache_id */, |
218 content::ServiceWorkerFetchRequest, | 218 content::ServiceWorkerFetchRequest, |
219 content::ServiceWorkerCacheQueryParams); | 219 content::ServiceWorkerCacheQueryParams) |
220 | 220 |
221 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_CacheBatch, | 221 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_CacheBatch, |
222 int /* request_id */, | 222 int /* request_id */, |
223 int /* cache_id */, | 223 int /* cache_id */, |
224 std::vector<content::ServiceWorkerBatchOperation>); | 224 std::vector<content::ServiceWorkerBatchOperation>) |
225 | 225 |
226 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheClosed, | 226 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheClosed, |
227 int /* cache_id */); | 227 int /* cache_id */) |
228 | 228 |
229 //--------------------------------------------------------------------------- | 229 //--------------------------------------------------------------------------- |
230 // Messages sent from the browser to the child process. | 230 // Messages sent from the browser to the child process. |
231 // | 231 // |
232 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have | 232 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have |
233 // a thread_id as their first field so that ServiceWorkerMessageFilter can | 233 // a thread_id as their first field so that ServiceWorkerMessageFilter can |
234 // extract it and dispatch the message to the correct ServiceWorkerDispatcher | 234 // extract it and dispatch the message to the correct ServiceWorkerDispatcher |
235 // on the correct thread. | 235 // on the correct thread. |
236 | 236 |
237 // Informs the child process that the given provider gets associated or | 237 // Informs the child process that the given provider gets associated or |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 blink::WebServiceWorkerCacheError) | 400 blink::WebServiceWorkerCacheError) |
401 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 401 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
402 int /* request_id */, | 402 int /* request_id */, |
403 blink::WebServiceWorkerCacheError) | 403 blink::WebServiceWorkerCacheError) |
404 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 404 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
405 int /* request_id */, | 405 int /* request_id */, |
406 blink::WebServiceWorkerCacheError) | 406 blink::WebServiceWorkerCacheError) |
407 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 407 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
408 int /* request_id */, | 408 int /* request_id */, |
409 blink::WebServiceWorkerCacheError) | 409 blink::WebServiceWorkerCacheError) |
OLD | NEW |