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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished, | 231 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished, |
232 int /* request_id */, | 232 int /* request_id */, |
233 blink::WebServiceWorkerEventResult) | 233 blink::WebServiceWorkerEventResult) |
234 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, | 234 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, |
235 int /* request_id */) | 235 int /* request_id */) |
236 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, | 236 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, |
237 int /* request_id */, | 237 int /* request_id */, |
238 blink::WebServiceWorkerEventResult) | 238 blink::WebServiceWorkerEventResult) |
239 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, | 239 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, |
240 int /* request_id */) | 240 int /* request_id */) |
241 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, | |
242 int /* request_id */, | |
243 bool /* accept_connection */) | |
244 | 241 |
245 // Responds to a Ping from the browser. | 242 // Responds to a Ping from the browser. |
246 // Routed to the target ServiceWorkerVersion. | 243 // Routed to the target ServiceWorkerVersion. |
247 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) | 244 IPC_MESSAGE_ROUTED0(ServiceWorkerHostMsg_Pong) |
248 | 245 |
249 // Asks the browser to retrieve clients of the sender ServiceWorker. | 246 // Asks the browser to retrieve clients of the sender ServiceWorker. |
250 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClients, | 247 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClients, |
251 int /* request_id */, | 248 int /* request_id */, |
252 content::ServiceWorkerClientQueryOptions) | 249 content::ServiceWorkerClientQueryOptions) |
253 | 250 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 int64_t /* persistent_notification_id */, | 429 int64_t /* persistent_notification_id */, |
433 content::PlatformNotificationData /* notification_data */) | 430 content::PlatformNotificationData /* notification_data */) |
434 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 431 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
435 int /* request_id */, | 432 int /* request_id */, |
436 std::string /* data */) | 433 std::string /* data */) |
437 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 434 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
438 int /* request_id */, | 435 int /* request_id */, |
439 blink::WebGeofencingEventType /* event_type */, | 436 blink::WebGeofencingEventType /* event_type */, |
440 std::string /* region_id */, | 437 std::string /* region_id */, |
441 blink::WebCircularGeofencingRegion /* region */) | 438 blink::WebCircularGeofencingRegion /* region */) |
442 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CrossOriginConnectEvent, | |
443 int /* request_id */, | |
444 content::NavigatorConnectClient /* client */) | |
445 IPC_MESSAGE_CONTROL3( | 439 IPC_MESSAGE_CONTROL3( |
446 ServiceWorkerMsg_MessageToWorker, | 440 ServiceWorkerMsg_MessageToWorker, |
447 base::string16 /* message */, | 441 base::string16 /* message */, |
448 std::vector<content::TransferredMessagePort> /* sent_message_ports */, | 442 std::vector<content::TransferredMessagePort> /* sent_message_ports */, |
449 std::vector<int> /* new_routing_ids */) | 443 std::vector<int> /* new_routing_ids */) |
450 IPC_MESSAGE_CONTROL4( | 444 IPC_MESSAGE_CONTROL4( |
451 ServiceWorkerMsg_CrossOriginMessageToWorker, | 445 ServiceWorkerMsg_CrossOriginMessageToWorker, |
452 content::NavigatorConnectClient /* client */, | 446 content::NavigatorConnectClient /* client */, |
453 base::string16 /* message */, | 447 base::string16 /* message */, |
454 std::vector<content::TransferredMessagePort> /* sent_message_ports */, | 448 std::vector<content::TransferredMessagePort> /* sent_message_ports */, |
(...skipping 29 matching lines...) Expand all Loading... |
484 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 478 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
485 int /* request_id */, | 479 int /* request_id */, |
486 content::ServiceWorkerClientInfo /* client */) | 480 content::ServiceWorkerClientInfo /* client */) |
487 | 481 |
488 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 482 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
489 IPC_MESSAGE_CONTROL3( | 483 IPC_MESSAGE_CONTROL3( |
490 ServiceWorkerMsg_SendStashedMessagePorts, | 484 ServiceWorkerMsg_SendStashedMessagePorts, |
491 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 485 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
492 std::vector<int> /* new_routing_ids */, | 486 std::vector<int> /* new_routing_ids */, |
493 std::vector<base::string16> /* port_names */) | 487 std::vector<base::string16> /* port_names */) |
OLD | NEW |