| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 | 284 |
| 285 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_ActivateEventFinished, | 285 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_ActivateEventFinished, |
| 286 int /* request_id */, | 286 int /* request_id */, |
| 287 blink::WebServiceWorkerEventResult, | 287 blink::WebServiceWorkerEventResult, |
| 288 base::Time /* dispatch_event_time */) | 288 base::Time /* dispatch_event_time */) |
| 289 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, | 289 IPC_MESSAGE_ROUTED4(ServiceWorkerHostMsg_FetchEventResponse, |
| 290 int /* fetch_event_id */, | 290 int /* fetch_event_id */, |
| 291 content::ServiceWorkerFetchEventResult, | 291 content::ServiceWorkerFetchEventResult, |
| 292 content::ServiceWorkerResponse, | 292 content::ServiceWorkerResponse, |
| 293 base::Time /* dispatch_event_time */) | 293 base::Time /* dispatch_event_time */) |
| 294 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationClickEventFinished, | |
| 295 int /* request_id */, | |
| 296 blink::WebServiceWorkerEventResult, | |
| 297 base::Time /* dispatch_event_time */) | |
| 298 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationCloseEventFinished, | |
| 299 int /* request_id */, | |
| 300 blink::WebServiceWorkerEventResult, | |
| 301 base::Time /* dispatch_event_time */) | |
| 302 | 294 |
| 303 // Responds to a Ping from the browser. | 295 // Responds to a Ping from the browser. |
| 304 // Routed to the target ServiceWorkerVersion. | 296 // Routed to the target ServiceWorkerVersion. |
| 305 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) | 297 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) |
| 306 | 298 |
| 307 // Asks the browser to retrieve client of the sender ServiceWorker. | 299 // Asks the browser to retrieve client of the sender ServiceWorker. |
| 308 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClient, | 300 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClient, |
| 309 int /* request_id */, | 301 int /* request_id */, |
| 310 std::string /* client_uuid */) | 302 std::string /* client_uuid */) |
| 311 | 303 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 | 507 |
| 516 // Sends MessageEvent to a client document (browser->renderer). | 508 // Sends MessageEvent to a client document (browser->renderer). |
| 517 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_MessageToDocument, | 509 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_MessageToDocument, |
| 518 ServiceWorkerMsg_MessageToDocument_Params) | 510 ServiceWorkerMsg_MessageToDocument_Params) |
| 519 | 511 |
| 520 // Sent via EmbeddedWorker to dispatch events. | 512 // Sent via EmbeddedWorker to dispatch events. |
| 521 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 513 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
| 522 int /* request_id */) | 514 int /* request_id */) |
| 523 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 515 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 524 int /* request_id */) | 516 int /* request_id */) |
| 525 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_NotificationClickEvent, | |
| 526 int /* request_id */, | |
| 527 std::string /* notification_id */, | |
| 528 content::PlatformNotificationData /* notification_data */, | |
| 529 int /* action_index */, | |
| 530 base::NullableString16 /* notification reply */) | |
| 531 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, | |
| 532 int /* request_id */, | |
| 533 std::string /* notification_id */, | |
| 534 content::PlatformNotificationData /* notification_data */) | |
| 535 | 517 |
| 536 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, | 518 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, |
| 537 int /* request_id */) | 519 int /* request_id */) |
| 538 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, | 520 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidClaimClients, |
| 539 int /* request_id */) | 521 int /* request_id */) |
| 540 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, | 522 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ClaimClientsError, |
| 541 int /* request_id */, | 523 int /* request_id */, |
| 542 blink::WebServiceWorkerError::ErrorType /* code */, | 524 blink::WebServiceWorkerError::ErrorType /* code */, |
| 543 base::string16 /* message */) | 525 base::string16 /* message */) |
| 544 | 526 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 572 | 554 |
| 573 // Sent via EmbeddedWorker as a response of NavigateClient. | 555 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 574 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 556 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 575 int /* request_id */, | 557 int /* request_id */, |
| 576 content::ServiceWorkerClientInfo /* client */) | 558 content::ServiceWorkerClientInfo /* client */) |
| 577 | 559 |
| 578 // Sent via EmbeddedWorker as an error response of NavigateClient. | 560 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 579 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 561 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 580 int /* request_id */, | 562 int /* request_id */, |
| 581 GURL /* url */) | 563 GURL /* url */) |
| OLD | NEW |