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