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 <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 blink::WebServiceWorkerEventResult, | 244 blink::WebServiceWorkerEventResult, |
245 bool /* has_fetch_event_handler */, | 245 bool /* has_fetch_event_handler */, |
246 base::Time /* dispatch_event_time */) | 246 base::Time /* dispatch_event_time */) |
247 | 247 |
248 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, | 248 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, |
249 int /* fetch_event_id */, | 249 int /* fetch_event_id */, |
250 content::ServiceWorkerFetchEventResult, | 250 content::ServiceWorkerFetchEventResult, |
251 content::ServiceWorkerResponse, | 251 content::ServiceWorkerResponse, |
252 base::Time /* dispatch_event_time */) | 252 base::Time /* dispatch_event_time */) |
253 | 253 |
254 // Responds to a Ping from the browser. | |
255 // Routed to the target ServiceWorkerVersion. | |
256 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) | |
257 | |
258 // Asks the browser to retrieve client of the sender ServiceWorker. | 254 // Asks the browser to retrieve client of the sender ServiceWorker. |
259 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClient, | 255 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClient, |
260 int /* request_id */, | 256 int /* request_id */, |
261 std::string /* client_uuid */) | 257 std::string /* client_uuid */) |
262 | 258 |
263 // Asks the browser to retrieve clients of the sender ServiceWorker. | 259 // Asks the browser to retrieve clients of the sender ServiceWorker. |
264 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClients, | 260 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClients, |
265 int /* request_id */, | 261 int /* request_id */, |
266 content::ServiceWorkerClientQueryOptions) | 262 content::ServiceWorkerClientQueryOptions) |
267 | 263 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 int /* request_id */) | 479 int /* request_id */) |
484 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, | 480 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
485 int /* request_id */) | 481 int /* request_id */) |
486 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, | 482 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, |
487 int /* request_id */) | 483 int /* request_id */) |
488 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, | 484 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, |
489 int /* request_id */, | 485 int /* request_id */, |
490 blink::WebServiceWorkerError::ErrorType /* code */, | 486 blink::WebServiceWorkerError::ErrorType /* code */, |
491 base::string16 /* message */) | 487 base::string16 /* message */) |
492 | 488 |
493 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response. | |
494 IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_Ping) | |
495 | |
496 // Sent via EmbeddedWorker as a response of GetClient. | 489 // Sent via EmbeddedWorker as a response of GetClient. |
497 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClient, | 490 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClient, |
498 int /* request_id */, | 491 int /* request_id */, |
499 content::ServiceWorkerClientInfo) | 492 content::ServiceWorkerClientInfo) |
500 | 493 |
501 // Sent via EmbeddedWorker as a response of GetClients. | 494 // Sent via EmbeddedWorker as a response of GetClients. |
502 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClients, | 495 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClients, |
503 int /* request_id */, | 496 int /* request_id */, |
504 std::vector<content::ServiceWorkerClientInfo>) | 497 std::vector<content::ServiceWorkerClientInfo>) |
505 | 498 |
(...skipping 14 matching lines...) Expand all Loading... |
520 | 513 |
521 // Sent via EmbeddedWorker as a response of NavigateClient. | 514 // Sent via EmbeddedWorker as a response of NavigateClient. |
522 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 515 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
523 int /* request_id */, | 516 int /* request_id */, |
524 content::ServiceWorkerClientInfo /* client */) | 517 content::ServiceWorkerClientInfo /* client */) |
525 | 518 |
526 // Sent via EmbeddedWorker as an error response of NavigateClient. | 519 // Sent via EmbeddedWorker as an error response of NavigateClient. |
527 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 520 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
528 int /* request_id */, | 521 int /* request_id */, |
529 GURL /* url */) | 522 GURL /* url */) |
OLD | NEW |