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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
236 int /* request_id */, | 236 int /* request_id */, |
237 int /* cache_id */, | 237 int /* cache_id */, |
238 std::vector<content::ServiceWorkerBatchOperation>) | 238 std::vector<content::ServiceWorkerBatchOperation>) |
239 | 239 |
240 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheClosed, | 240 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheClosed, |
241 int /* cache_id */) | 241 int /* cache_id */) |
242 | 242 |
243 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_BlobDataHandled, | 243 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_BlobDataHandled, |
244 std::string /* uuid */) | 244 std::string /* uuid */) |
245 | 245 |
246 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_TerminateWorker, int /* handle_id */) | |
nhiroki
2014/11/21 02:18:51
nit: How about moving this to line 162 to group me
Marijn Kruisselbrink
2014/11/21 18:41:22
Done.
| |
247 | |
246 //--------------------------------------------------------------------------- | 248 //--------------------------------------------------------------------------- |
247 // Messages sent from the browser to the child process. | 249 // Messages sent from the browser to the child process. |
248 // | 250 // |
249 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have | 251 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have |
250 // a thread_id as their first field so that ServiceWorkerMessageFilter can | 252 // a thread_id as their first field so that ServiceWorkerMessageFilter can |
251 // extract it and dispatch the message to the correct ServiceWorkerDispatcher | 253 // extract it and dispatch the message to the correct ServiceWorkerDispatcher |
252 // on the correct thread. | 254 // on the correct thread. |
253 | 255 |
254 // Informs the child process that the given provider gets associated or | 256 // Informs the child process that the given provider gets associated or |
255 // disassociated with the registration. | 257 // disassociated with the registration. |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
416 blink::WebServiceWorkerCacheError) | 418 blink::WebServiceWorkerCacheError) |
417 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 419 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
418 int /* request_id */, | 420 int /* request_id */, |
419 blink::WebServiceWorkerCacheError) | 421 blink::WebServiceWorkerCacheError) |
420 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 422 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
421 int /* request_id */, | 423 int /* request_id */, |
422 blink::WebServiceWorkerCacheError) | 424 blink::WebServiceWorkerCacheError) |
423 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 425 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
424 int /* request_id */, | 426 int /* request_id */, |
425 blink::WebServiceWorkerCacheError) | 427 blink::WebServiceWorkerCacheError) |
OLD | NEW |