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