| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, | 209 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, |
| 210 int /* request_id */, | 210 int /* request_id */, |
| 211 blink::WebServiceWorkerEventResult) | 211 blink::WebServiceWorkerEventResult) |
| 212 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 212 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
| 213 int /* request_id */, | 213 int /* request_id */, |
| 214 blink::WebServiceWorkerEventResult) | 214 blink::WebServiceWorkerEventResult) |
| 215 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 215 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
| 216 int /* request_id */, | 216 int /* request_id */, |
| 217 content::ServiceWorkerFetchEventResult, | 217 content::ServiceWorkerFetchEventResult, |
| 218 content::ServiceWorkerResponse) | 218 content::ServiceWorkerResponse) |
| 219 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished, | |
| 220 int /* request_id */, | |
| 221 blink::WebServiceWorkerEventResult) | |
| 222 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, | 219 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, |
| 223 int /* request_id */) | 220 int /* request_id */) |
| 224 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, | 221 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, |
| 225 int /* request_id */, | 222 int /* request_id */, |
| 226 blink::WebServiceWorkerEventResult) | 223 blink::WebServiceWorkerEventResult) |
| 227 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, | 224 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, |
| 228 int /* request_id */) | 225 int /* request_id */) |
| 229 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, | 226 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, |
| 230 int /* request_id */, | 227 int /* request_id */, |
| 231 bool /* accept_connection */) | 228 bool /* accept_connection */) |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 std::vector<int> /* new_routing_ids */) | 408 std::vector<int> /* new_routing_ids */) |
| 412 | 409 |
| 413 // Sent via EmbeddedWorker to dispatch events. | 410 // Sent via EmbeddedWorker to dispatch events. |
| 414 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 411 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
| 415 int /* request_id */) | 412 int /* request_id */) |
| 416 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 413 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 417 int /* request_id */) | 414 int /* request_id */) |
| 418 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 415 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
| 419 int /* request_id */, | 416 int /* request_id */, |
| 420 content::ServiceWorkerFetchRequest) | 417 content::ServiceWorkerFetchRequest) |
| 421 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, | |
| 422 int /* request_id */) | |
| 423 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, | 418 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, |
| 424 int /* request_id */, | 419 int /* request_id */, |
| 425 int64_t /* persistent_notification_id */, | 420 int64_t /* persistent_notification_id */, |
| 426 content::PlatformNotificationData /* notification_data */) | 421 content::PlatformNotificationData /* notification_data */) |
| 427 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 422 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
| 428 int /* request_id */, | 423 int /* request_id */, |
| 429 std::string /* data */) | 424 std::string /* data */) |
| 430 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 425 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
| 431 int /* request_id */, | 426 int /* request_id */, |
| 432 blink::WebGeofencingEventType /* event_type */, | 427 blink::WebGeofencingEventType /* event_type */, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 472 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 478 int /* request_id */, | 473 int /* request_id */, |
| 479 content::ServiceWorkerClientInfo /* client */) | 474 content::ServiceWorkerClientInfo /* client */) |
| 480 | 475 |
| 481 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 476 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
| 482 IPC_MESSAGE_CONTROL3( | 477 IPC_MESSAGE_CONTROL3( |
| 483 ServiceWorkerMsg_SendStashedMessagePorts, | 478 ServiceWorkerMsg_SendStashedMessagePorts, |
| 484 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 479 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
| 485 std::vector<int> /* new_routing_ids */, | 480 std::vector<int> /* new_routing_ids */, |
| 486 std::vector<base::string16> /* port_names */) | 481 std::vector<base::string16> /* port_names */) |
| OLD | NEW |