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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, | 192 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, |
193 int /* request_id */, | 193 int /* request_id */, |
194 blink::WebServiceWorkerEventResult) | 194 blink::WebServiceWorkerEventResult) |
195 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 195 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
196 int /* request_id */, | 196 int /* request_id */, |
197 blink::WebServiceWorkerEventResult) | 197 blink::WebServiceWorkerEventResult) |
198 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 198 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
199 int /* request_id */, | 199 int /* request_id */, |
200 content::ServiceWorkerFetchEventResult, | 200 content::ServiceWorkerFetchEventResult, |
201 content::ServiceWorkerResponse) | 201 content::ServiceWorkerResponse) |
202 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished, | |
203 int /* request_id */, | |
204 blink::WebServiceWorkerEventResult) | |
205 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, | 202 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, |
206 int /* request_id */) | 203 int /* request_id */) |
207 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, | 204 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, |
208 int /* request_id */, | 205 int /* request_id */, |
209 blink::WebServiceWorkerEventResult) | 206 blink::WebServiceWorkerEventResult) |
210 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, | 207 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, |
211 int /* request_id */) | 208 int /* request_id */) |
212 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, | 209 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, |
213 int /* request_id */, | 210 int /* request_id */, |
214 bool /* accept_connection */) | 211 bool /* accept_connection */) |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 std::vector<int> /* new_routing_ids */) | 376 std::vector<int> /* new_routing_ids */) |
380 | 377 |
381 // Sent via EmbeddedWorker to dispatch events. | 378 // Sent via EmbeddedWorker to dispatch events. |
382 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 379 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
383 int /* request_id */) | 380 int /* request_id */) |
384 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 381 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
385 int /* request_id */) | 382 int /* request_id */) |
386 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 383 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
387 int /* request_id */, | 384 int /* request_id */, |
388 content::ServiceWorkerFetchRequest) | 385 content::ServiceWorkerFetchRequest) |
389 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, | |
390 int /* request_id */) | |
391 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, | 386 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, |
392 int /* request_id */, | 387 int /* request_id */, |
393 int64_t /* persistent_notification_id */, | 388 int64_t /* persistent_notification_id */, |
394 content::PlatformNotificationData /* notification_data */) | 389 content::PlatformNotificationData /* notification_data */) |
395 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 390 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
396 int /* request_id */, | 391 int /* request_id */, |
397 std::string /* data */) | 392 std::string /* data */) |
398 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 393 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
399 int /* request_id */, | 394 int /* request_id */, |
400 blink::WebGeofencingEventType /* event_type */, | 395 blink::WebGeofencingEventType /* event_type */, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 440 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
446 int /* request_id */, | 441 int /* request_id */, |
447 content::ServiceWorkerClientInfo /* client */) | 442 content::ServiceWorkerClientInfo /* client */) |
448 | 443 |
449 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 444 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
450 IPC_MESSAGE_CONTROL3( | 445 IPC_MESSAGE_CONTROL3( |
451 ServiceWorkerMsg_SendStashedMessagePorts, | 446 ServiceWorkerMsg_SendStashedMessagePorts, |
452 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 447 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
453 std::vector<int> /* new_routing_ids */, | 448 std::vector<int> /* new_routing_ids */, |
454 std::vector<base::string16> /* port_names */) | 449 std::vector<base::string16> /* port_names */) |
OLD | NEW |