| 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 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationClickEventFinished, | 290 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationClickEventFinished, |
| 295 int /* request_id */, | 291 int /* request_id */, |
| 296 blink::WebServiceWorkerEventResult, | 292 blink::WebServiceWorkerEventResult, |
| 297 base::Time /* dispatch_event_time */) | 293 base::Time /* dispatch_event_time */) |
| 298 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationCloseEventFinished, | 294 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NotificationCloseEventFinished, |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 blink::WebServiceWorkerError::ErrorType /* code */, | 509 blink::WebServiceWorkerError::ErrorType /* code */, |
| 514 std::string /* message */) | 510 std::string /* message */) |
| 515 | 511 |
| 516 // Sends MessageEvent to a client document (browser->renderer). | 512 // Sends MessageEvent to a client document (browser->renderer). |
| 517 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_MessageToDocument, | 513 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_MessageToDocument, |
| 518 ServiceWorkerMsg_MessageToDocument_Params) | 514 ServiceWorkerMsg_MessageToDocument_Params) |
| 519 | 515 |
| 520 // Sent via EmbeddedWorker to dispatch events. | 516 // Sent via EmbeddedWorker to dispatch events. |
| 521 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 517 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
| 522 int /* request_id */) | 518 int /* request_id */) |
| 523 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | |
| 524 int /* request_id */) | |
| 525 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_NotificationClickEvent, | 519 IPC_MESSAGE_CONTROL5(ServiceWorkerMsg_NotificationClickEvent, |
| 526 int /* request_id */, | 520 int /* request_id */, |
| 527 std::string /* notification_id */, | 521 std::string /* notification_id */, |
| 528 content::PlatformNotificationData /* notification_data */, | 522 content::PlatformNotificationData /* notification_data */, |
| 529 int /* action_index */, | 523 int /* action_index */, |
| 530 base::NullableString16 /* notification reply */) | 524 base::NullableString16 /* notification reply */) |
| 531 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, | 525 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, |
| 532 int /* request_id */, | 526 int /* request_id */, |
| 533 std::string /* notification_id */, | 527 std::string /* notification_id */, |
| 534 content::PlatformNotificationData /* notification_data */) | 528 content::PlatformNotificationData /* notification_data */) |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 | 566 |
| 573 // Sent via EmbeddedWorker as a response of NavigateClient. | 567 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 574 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 568 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 575 int /* request_id */, | 569 int /* request_id */, |
| 576 content::ServiceWorkerClientInfo /* client */) | 570 content::ServiceWorkerClientInfo /* client */) |
| 577 | 571 |
| 578 // Sent via EmbeddedWorker as an error response of NavigateClient. | 572 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 579 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 573 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 580 int /* request_id */, | 574 int /* request_id */, |
| 581 GURL /* url */) | 575 GURL /* url */) |
| OLD | NEW |