| 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 */) |
| 285 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, | 289 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, |
| 286 int /* fetch_event_id */, | 290 int /* fetch_event_id */, |
| 287 content::ServiceWorkerFetchEventResult, | 291 content::ServiceWorkerFetchEventResult, |
| 288 content::ServiceWorkerResponse, | 292 content::ServiceWorkerResponse, |
| 289 base::Time /* dispatch_event_time */) | 293 base::Time /* dispatch_event_time */) |
| 290 | 294 |
| 291 // Responds to a Ping from the browser. | 295 // Responds to a Ping from the browser. |
| 292 // Routed to the target ServiceWorkerVersion. | 296 // Routed to the target ServiceWorkerVersion. |
| 293 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) | 297 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) |
| 294 | 298 |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 // purposes (browser->renderer). |feature| must be one of the values from | 515 // purposes (browser->renderer). |feature| must be one of the values from |
| 512 // blink::UseCounter::Feature enum. | 516 // blink::UseCounter::Feature enum. |
| 513 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_CountFeature, | 517 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_CountFeature, |
| 514 int /* thread_id */, | 518 int /* thread_id */, |
| 515 int /* provider_id */, | 519 int /* provider_id */, |
| 516 uint32_t /* feature */) | 520 uint32_t /* feature */) |
| 517 | 521 |
| 518 // Sent via EmbeddedWorker to dispatch events. | 522 // Sent via EmbeddedWorker to dispatch events. |
| 519 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 523 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
| 520 int /* request_id */) | 524 int /* request_id */) |
| 525 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 526 int /* request_id */) |
| 527 |
| 521 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, | 528 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
| 522 int /* request_id */) | 529 int /* request_id */) |
| 523 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, | 530 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, |
| 524 int /* request_id */) | 531 int /* request_id */) |
| 525 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, | 532 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, |
| 526 int /* request_id */, | 533 int /* request_id */, |
| 527 blink::WebServiceWorkerError::ErrorType /* code */, | 534 blink::WebServiceWorkerError::ErrorType /* code */, |
| 528 base::string16 /* message */) | 535 base::string16 /* message */) |
| 529 | 536 |
| 530 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response. | 537 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 557 | 564 |
| 558 // Sent via EmbeddedWorker as a response of NavigateClient. | 565 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 559 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 566 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 560 int /* request_id */, | 567 int /* request_id */, |
| 561 content::ServiceWorkerClientInfo /* client */) | 568 content::ServiceWorkerClientInfo /* client */) |
| 562 | 569 |
| 563 // Sent via EmbeddedWorker as an error response of NavigateClient. | 570 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 564 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 571 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 565 int /* request_id */, | 572 int /* request_id */, |
| 566 GURL /* url */) | 573 GURL /* url */) |
| OLD | NEW |