| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 237 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
| 238 int /* request_id */, | 238 int /* request_id */, |
| 239 blink::WebServiceWorkerEventResult) | 239 blink::WebServiceWorkerEventResult) |
| 240 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 240 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
| 241 int /* request_id */, | 241 int /* request_id */, |
| 242 content::ServiceWorkerFetchEventResult, | 242 content::ServiceWorkerFetchEventResult, |
| 243 content::ServiceWorkerResponse) | 243 content::ServiceWorkerResponse) |
| 244 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished, | 244 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationClickEventFinished, |
| 245 int /* request_id */, | 245 int /* request_id */, |
| 246 blink::WebServiceWorkerEventResult) | 246 blink::WebServiceWorkerEventResult) |
| 247 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_NotificationCloseEventFinished, |
| 248 int /* request_id */, |
| 249 blink::WebServiceWorkerEventResult) |
| 247 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, | 250 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, |
| 248 int /* request_id */, | 251 int /* request_id */, |
| 249 blink::WebServiceWorkerEventResult) | 252 blink::WebServiceWorkerEventResult) |
| 250 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished, | 253 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished, |
| 251 int /* request_id */, | 254 int /* request_id */, |
| 252 blink::WebServiceWorkerEventResult) | 255 blink::WebServiceWorkerEventResult) |
| 253 | 256 |
| 254 // Responds to a Ping from the browser. | 257 // Responds to a Ping from the browser. |
| 255 // Routed to the target ServiceWorkerVersion. | 258 // Routed to the target ServiceWorkerVersion. |
| 256 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) | 259 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 445 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 443 int /* request_id */) | 446 int /* request_id */) |
| 444 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 447 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
| 445 int /* request_id */, | 448 int /* request_id */, |
| 446 content::ServiceWorkerFetchRequest) | 449 content::ServiceWorkerFetchRequest) |
| 447 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, | 450 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, |
| 448 int /* request_id */, | 451 int /* request_id */, |
| 449 int64_t /* persistent_notification_id */, | 452 int64_t /* persistent_notification_id */, |
| 450 content::PlatformNotificationData /* notification_data */, | 453 content::PlatformNotificationData /* notification_data */, |
| 451 int /* action_index */) | 454 int /* action_index */) |
| 455 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, |
| 456 int /* request_id */, |
| 457 int64_t /* persistent_notification_id */, |
| 458 content::PlatformNotificationData /* notification_data */) |
| 452 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 459 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
| 453 int /* request_id */, | 460 int /* request_id */, |
| 454 content::PushEventPayload /* data */) | 461 content::PushEventPayload /* data */) |
| 455 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 462 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
| 456 int /* request_id */, | 463 int /* request_id */, |
| 457 blink::WebGeofencingEventType /* event_type */, | 464 blink::WebGeofencingEventType /* event_type */, |
| 458 std::string /* region_id */, | 465 std::string /* region_id */, |
| 459 blink::WebCircularGeofencingRegion /* region */) | 466 blink::WebCircularGeofencingRegion /* region */) |
| 460 IPC_MESSAGE_CONTROL3( | 467 IPC_MESSAGE_CONTROL3( |
| 461 ServiceWorkerMsg_MessageToWorker, | 468 ServiceWorkerMsg_MessageToWorker, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 | 509 |
| 503 // Sent via EmbeddedWorker as a response of NavigateClient. | 510 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 504 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 511 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 505 int /* request_id */, | 512 int /* request_id */, |
| 506 content::ServiceWorkerClientInfo /* client */) | 513 content::ServiceWorkerClientInfo /* client */) |
| 507 | 514 |
| 508 // Sent via EmbeddedWorker as an error response of NavigateClient. | 515 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 509 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 516 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 510 int /* request_id */, | 517 int /* request_id */, |
| 511 GURL /* url */) | 518 GURL /* url */) |
| OLD | NEW |