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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
234 content::ServiceWorkerClientInfo) | 234 content::ServiceWorkerClientInfo) |
235 | 235 |
236 // Response to ServiceWorkerMsg_GetClientInfo. | 236 // Response to ServiceWorkerMsg_GetClientInfo. |
237 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientInfoError, | 237 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientInfoError, |
238 int /* request_id */) | 238 int /* request_id */) |
239 | 239 |
240 // Asks the browser to force this worker to become activated. | 240 // Asks the browser to force this worker to become activated. |
241 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, | 241 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, |
242 int /* request_id */) | 242 int /* request_id */) |
243 | 243 |
244 // Asks the browser to take over pages should belong to this worker. | |
falken
2015/01/26 08:45:13
nit: comment is vague, the browser itself doesn't
xiang
2015/01/28 05:38:35
Done.
| |
245 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, | |
246 int /* request_id */) | |
247 | |
244 // CacheStorage operations in the browser. | 248 // CacheStorage operations in the browser. |
245 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, | 249 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, |
246 int /* request_id */, | 250 int /* request_id */, |
247 base::string16 /* fetch_store_name */) | 251 base::string16 /* fetch_store_name */) |
248 | 252 |
249 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen, | 253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen, |
250 int /* request_id */, | 254 int /* request_id */, |
251 base::string16 /* fetch_store_name */) | 255 base::string16 /* fetch_store_name */) |
252 | 256 |
253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, | 257 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
428 base::string16 /* message */, | 432 base::string16 /* message */, |
429 std::vector<int> /* sent_message_port_ids */, | 433 std::vector<int> /* sent_message_port_ids */, |
430 std::vector<int> /* new_routing_ids */) | 434 std::vector<int> /* new_routing_ids */) |
431 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker, | 435 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker, |
432 content::CrossOriginServiceWorkerClient /* client */, | 436 content::CrossOriginServiceWorkerClient /* client */, |
433 base::string16 /* message */, | 437 base::string16 /* message */, |
434 std::vector<int> /* sent_message_port_ids */, | 438 std::vector<int> /* sent_message_port_ids */, |
435 std::vector<int> /* new_routing_ids */) | 439 std::vector<int> /* new_routing_ids */) |
436 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, | 440 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
437 int /* request_id */) | 441 int /* request_id */) |
442 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, | |
443 int /* request_id */) | |
444 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, | |
445 int /* request_id */, | |
446 blink::WebServiceWorkerError::ErrorType /* code */, | |
447 base::string16 /* message */) | |
438 | 448 |
439 // Sent via EmbeddedWorker as a response of GetClientDocuments. | 449 // Sent via EmbeddedWorker as a response of GetClientDocuments. |
440 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, | 450 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, |
441 int /* request_id */, | 451 int /* request_id */, |
442 std::vector<content::ServiceWorkerClientInfo>) | 452 std::vector<content::ServiceWorkerClientInfo>) |
443 | 453 |
444 // Sent via EmbeddedWorker as a response of FocusClient. | 454 // Sent via EmbeddedWorker as a response of FocusClient. |
445 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 455 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
446 int /* request_id */, | 456 int /* request_id */, |
447 bool /* result */) | 457 bool /* result */) |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
498 blink::WebServiceWorkerCacheError) | 508 blink::WebServiceWorkerCacheError) |
499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 509 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
500 int /* request_id */, | 510 int /* request_id */, |
501 blink::WebServiceWorkerCacheError) | 511 blink::WebServiceWorkerCacheError) |
502 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 512 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
503 int /* request_id */, | 513 int /* request_id */, |
504 blink::WebServiceWorkerCacheError) | 514 blink::WebServiceWorkerCacheError) |
505 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 515 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
506 int /* request_id */, | 516 int /* request_id */, |
507 blink::WebServiceWorkerCacheError) | 517 blink::WebServiceWorkerCacheError) |
OLD | NEW |