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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 blink::WebServiceWorkerEventResult) | 230 blink::WebServiceWorkerEventResult) |
231 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 231 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
232 int /* request_id */, | 232 int /* request_id */, |
233 blink::WebServiceWorkerEventResult) | 233 blink::WebServiceWorkerEventResult) |
234 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 234 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
235 int /* request_id */, | 235 int /* request_id */, |
236 content::ServiceWorkerFetchEventResult, | 236 content::ServiceWorkerFetchEventResult, |
237 content::ServiceWorkerResponse) | 237 content::ServiceWorkerResponse) |
238 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, | 238 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, |
239 int /* request_id */) | 239 int /* request_id */) |
| 240 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationCloseEventFinished, |
| 241 int /* request_id */) |
240 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, | 242 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, |
241 int /* request_id */, | 243 int /* request_id */, |
242 blink::WebServiceWorkerEventResult) | 244 blink::WebServiceWorkerEventResult) |
243 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished, | 245 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GeofencingEventFinished, |
244 int /* request_id */, | 246 int /* request_id */, |
245 blink::WebServiceWorkerEventResult) | 247 blink::WebServiceWorkerEventResult) |
246 | 248 |
247 // Responds to a Ping from the browser. | 249 // Responds to a Ping from the browser. |
248 // Routed to the target ServiceWorkerVersion. | 250 // Routed to the target ServiceWorkerVersion. |
249 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) | 251 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 437 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
436 int /* request_id */) | 438 int /* request_id */) |
437 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 439 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
438 int /* request_id */, | 440 int /* request_id */, |
439 content::ServiceWorkerFetchRequest) | 441 content::ServiceWorkerFetchRequest) |
440 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, | 442 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, |
441 int /* request_id */, | 443 int /* request_id */, |
442 int64_t /* persistent_notification_id */, | 444 int64_t /* persistent_notification_id */, |
443 content::PlatformNotificationData /* notification_data */, | 445 content::PlatformNotificationData /* notification_data */, |
444 int /* action_index */) | 446 int /* action_index */) |
| 447 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationCloseEvent, |
| 448 int /* request_id */, |
| 449 int64_t /* persistent_notification_id */, |
| 450 content::PlatformNotificationData /* notification_data */) |
445 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 451 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
446 int /* request_id */, | 452 int /* request_id */, |
447 std::string /* data */) | 453 std::string /* data */) |
448 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 454 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
449 int /* request_id */, | 455 int /* request_id */, |
450 blink::WebGeofencingEventType /* event_type */, | 456 blink::WebGeofencingEventType /* event_type */, |
451 std::string /* region_id */, | 457 std::string /* region_id */, |
452 blink::WebCircularGeofencingRegion /* region */) | 458 blink::WebCircularGeofencingRegion /* region */) |
453 IPC_MESSAGE_CONTROL3( | 459 IPC_MESSAGE_CONTROL3( |
454 ServiceWorkerMsg_MessageToWorker, | 460 ServiceWorkerMsg_MessageToWorker, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 | 501 |
496 // Sent via EmbeddedWorker as a response of NavigateClient. | 502 // Sent via EmbeddedWorker as a response of NavigateClient. |
497 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 503 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
498 int /* request_id */, | 504 int /* request_id */, |
499 content::ServiceWorkerClientInfo /* client */) | 505 content::ServiceWorkerClientInfo /* client */) |
500 | 506 |
501 // Sent via EmbeddedWorker as an error response of NavigateClient. | 507 // Sent via EmbeddedWorker as an error response of NavigateClient. |
502 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 508 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
503 int /* request_id */, | 509 int /* request_id */, |
504 GURL /* url */) | 510 GURL /* url */) |
OLD | NEW |