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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 int /* embedded_worker_id */) | 275 int /* embedded_worker_id */) |
276 | 276 |
277 // Informs the browser that event handling has finished. | 277 // Informs the browser that event handling has finished. |
278 // Routed to the target ServiceWorkerVersion. | 278 // Routed to the target ServiceWorkerVersion. |
279 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_InstallEventFinished, | 279 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_InstallEventFinished, |
280 int /* request_id */, | 280 int /* request_id */, |
281 blink::WebServiceWorkerEventResult, | 281 blink::WebServiceWorkerEventResult, |
282 bool /* has_fetch_event_handler */, | 282 bool /* has_fetch_event_handler */, |
283 base::Time /* dispatch_event_time */) | 283 base::Time /* dispatch_event_time */) |
284 | 284 |
285 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_ActivateEventFinished, | |
286 int /* request_id */, | |
287 blink::WebServiceWorkerEventResult, | |
288 base::Time /* dispatch_event_time */) | |
289 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, | 285 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, |
290 int /* fetch_event_id */, | 286 int /* fetch_event_id */, |
291 content::ServiceWorkerFetchEventResult, | 287 content::ServiceWorkerFetchEventResult, |
292 content::ServiceWorkerResponse, | 288 content::ServiceWorkerResponse, |
293 base::Time /* dispatch_event_time */) | 289 base::Time /* dispatch_event_time */) |
294 | 290 |
295 // Responds to a Ping from the browser. | 291 // Responds to a Ping from the browser. |
296 // Routed to the target ServiceWorkerVersion. | 292 // Routed to the target ServiceWorkerVersion. |
297 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) | 293 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) |
298 | 294 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 blink::WebServiceWorkerError::ErrorType /* code */, | 501 blink::WebServiceWorkerError::ErrorType /* code */, |
506 std::string /* message */) | 502 std::string /* message */) |
507 | 503 |
508 // Sends MessageEvent to a client document (browser->renderer). | 504 // Sends MessageEvent to a client document (browser->renderer). |
509 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_MessageToDocument, | 505 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_MessageToDocument, |
510 ServiceWorkerMsg_MessageToDocument_Params) | 506 ServiceWorkerMsg_MessageToDocument_Params) |
511 | 507 |
512 // Sent via EmbeddedWorker to dispatch events. | 508 // Sent via EmbeddedWorker to dispatch events. |
513 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 509 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
514 int /* request_id */) | 510 int /* request_id */) |
515 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | |
516 int /* request_id */) | |
517 | |
518 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, | 511 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
519 int /* request_id */) | 512 int /* request_id */) |
520 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, | 513 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, |
521 int /* request_id */) | 514 int /* request_id */) |
522 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, | 515 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, |
523 int /* request_id */, | 516 int /* request_id */, |
524 blink::WebServiceWorkerError::ErrorType /* code */, | 517 blink::WebServiceWorkerError::ErrorType /* code */, |
525 base::string16 /* message */) | 518 base::string16 /* message */) |
526 | 519 |
527 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response. | 520 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response. |
(...skipping 26 matching lines...) Expand all Loading... |
554 | 547 |
555 // Sent via EmbeddedWorker as a response of NavigateClient. | 548 // Sent via EmbeddedWorker as a response of NavigateClient. |
556 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 549 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
557 int /* request_id */, | 550 int /* request_id */, |
558 content::ServiceWorkerClientInfo /* client */) | 551 content::ServiceWorkerClientInfo /* client */) |
559 | 552 |
560 // Sent via EmbeddedWorker as an error response of NavigateClient. | 553 // Sent via EmbeddedWorker as an error response of NavigateClient. |
561 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 554 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
562 int /* request_id */, | 555 int /* request_id */, |
563 GURL /* url */) | 556 GURL /* url */) |
OLD | NEW |