| 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 have this worker take control of pages that match |
| 245 // its scope. |
| 246 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, |
| 247 int /* request_id */) |
| 248 |
| 244 // CacheStorage operations in the browser. | 249 // CacheStorage operations in the browser. |
| 245 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, | 250 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, |
| 246 int /* request_id */, | 251 int /* request_id */, |
| 247 base::string16 /* fetch_store_name */) | 252 base::string16 /* fetch_store_name */) |
| 248 | 253 |
| 249 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen, | 254 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen, |
| 250 int /* request_id */, | 255 int /* request_id */, |
| 251 base::string16 /* fetch_store_name */) | 256 base::string16 /* fetch_store_name */) |
| 252 | 257 |
| 253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, | 258 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 base::string16 /* message */, | 433 base::string16 /* message */, |
| 429 std::vector<int> /* sent_message_port_ids */, | 434 std::vector<int> /* sent_message_port_ids */, |
| 430 std::vector<int> /* new_routing_ids */) | 435 std::vector<int> /* new_routing_ids */) |
| 431 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker, | 436 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_CrossOriginMessageToWorker, |
| 432 content::CrossOriginServiceWorkerClient /* client */, | 437 content::CrossOriginServiceWorkerClient /* client */, |
| 433 base::string16 /* message */, | 438 base::string16 /* message */, |
| 434 std::vector<int> /* sent_message_port_ids */, | 439 std::vector<int> /* sent_message_port_ids */, |
| 435 std::vector<int> /* new_routing_ids */) | 440 std::vector<int> /* new_routing_ids */) |
| 436 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, | 441 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
| 437 int /* request_id */) | 442 int /* request_id */) |
| 443 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, |
| 444 int /* request_id */) |
| 445 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, |
| 446 int /* request_id */, |
| 447 blink::WebServiceWorkerError::ErrorType /* code */, |
| 448 base::string16 /* message */) |
| 438 | 449 |
| 439 // Sent via EmbeddedWorker as a response of GetClientDocuments. | 450 // Sent via EmbeddedWorker as a response of GetClientDocuments. |
| 440 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, | 451 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, |
| 441 int /* request_id */, | 452 int /* request_id */, |
| 442 std::vector<content::ServiceWorkerClientInfo>) | 453 std::vector<content::ServiceWorkerClientInfo>) |
| 443 | 454 |
| 444 // Sent via EmbeddedWorker as a response of FocusClient. | 455 // Sent via EmbeddedWorker as a response of FocusClient. |
| 445 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 456 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 446 int /* request_id */, | 457 int /* request_id */, |
| 447 bool /* result */) | 458 bool /* result */) |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 blink::WebServiceWorkerCacheError) | 509 blink::WebServiceWorkerCacheError) |
| 499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 510 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
| 500 int /* request_id */, | 511 int /* request_id */, |
| 501 blink::WebServiceWorkerCacheError) | 512 blink::WebServiceWorkerCacheError) |
| 502 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 513 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
| 503 int /* request_id */, | 514 int /* request_id */, |
| 504 blink::WebServiceWorkerCacheError) | 515 blink::WebServiceWorkerCacheError) |
| 505 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 516 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
| 506 int /* request_id */, | 517 int /* request_id */, |
| 507 blink::WebServiceWorkerCacheError) | 518 blink::WebServiceWorkerCacheError) |
| OLD | NEW |