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 <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, | 221 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, |
222 int /* request_id */, | 222 int /* request_id */, |
223 blink::WebServiceWorkerEventResult) | 223 blink::WebServiceWorkerEventResult) |
224 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 224 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
225 int /* request_id */, | 225 int /* request_id */, |
226 blink::WebServiceWorkerEventResult) | 226 blink::WebServiceWorkerEventResult) |
227 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 227 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
228 int /* request_id */, | 228 int /* request_id */, |
229 content::ServiceWorkerFetchEventResult, | 229 content::ServiceWorkerFetchEventResult, |
230 content::ServiceWorkerResponse) | 230 content::ServiceWorkerResponse) |
231 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished, | |
232 int /* request_id */, | |
233 blink::WebServiceWorkerEventResult) | |
234 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, | 231 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, |
235 int /* request_id */) | 232 int /* request_id */) |
236 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, | 233 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, |
237 int /* request_id */, | 234 int /* request_id */, |
238 blink::WebServiceWorkerEventResult) | 235 blink::WebServiceWorkerEventResult) |
239 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, | 236 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, |
240 int /* request_id */) | 237 int /* request_id */) |
241 | 238 |
242 // Responds to a Ping from the browser. | 239 // Responds to a Ping from the browser. |
243 // Routed to the target ServiceWorkerVersion. | 240 // Routed to the target ServiceWorkerVersion. |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 ServiceWorkerMsg_MessageToDocument_Params) | 412 ServiceWorkerMsg_MessageToDocument_Params) |
416 | 413 |
417 // Sent via EmbeddedWorker to dispatch events. | 414 // Sent via EmbeddedWorker to dispatch events. |
418 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 415 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
419 int /* request_id */) | 416 int /* request_id */) |
420 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 417 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
421 int /* request_id */) | 418 int /* request_id */) |
422 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 419 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
423 int /* request_id */, | 420 int /* request_id */, |
424 content::ServiceWorkerFetchRequest) | 421 content::ServiceWorkerFetchRequest) |
425 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, | |
426 int /* request_id */) | |
427 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, | 422 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, |
428 int /* request_id */, | 423 int /* request_id */, |
429 int64_t /* persistent_notification_id */, | 424 int64_t /* persistent_notification_id */, |
430 content::PlatformNotificationData /* notification_data */) | 425 content::PlatformNotificationData /* notification_data */) |
431 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 426 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
432 int /* request_id */, | 427 int /* request_id */, |
433 std::string /* data */) | 428 std::string /* data */) |
434 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 429 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
435 int /* request_id */, | 430 int /* request_id */, |
436 blink::WebGeofencingEventType /* event_type */, | 431 blink::WebGeofencingEventType /* event_type */, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 473 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
479 int /* request_id */, | 474 int /* request_id */, |
480 content::ServiceWorkerClientInfo /* client */) | 475 content::ServiceWorkerClientInfo /* client */) |
481 | 476 |
482 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 477 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
483 IPC_MESSAGE_CONTROL3( | 478 IPC_MESSAGE_CONTROL3( |
484 ServiceWorkerMsg_SendStashedMessagePorts, | 479 ServiceWorkerMsg_SendStashedMessagePorts, |
485 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 480 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
486 std::vector<int> /* new_routing_ids */, | 481 std::vector<int> /* new_routing_ids */, |
487 std::vector<base::string16> /* port_names */) | 482 std::vector<base::string16> /* port_names */) |
OLD | NEW |