| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, | 201 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, |
| 202 int /* request_id */, | 202 int /* request_id */, |
| 203 blink::WebServiceWorkerEventResult) | 203 blink::WebServiceWorkerEventResult) |
| 204 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 204 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
| 205 int /* request_id */, | 205 int /* request_id */, |
| 206 blink::WebServiceWorkerEventResult) | 206 blink::WebServiceWorkerEventResult) |
| 207 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 207 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
| 208 int /* request_id */, | 208 int /* request_id */, |
| 209 content::ServiceWorkerFetchEventResult, | 209 content::ServiceWorkerFetchEventResult, |
| 210 content::ServiceWorkerResponse) | 210 content::ServiceWorkerResponse) |
| 211 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished, | |
| 212 int /* request_id */, | |
| 213 blink::WebServiceWorkerEventResult) | |
| 214 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, | 211 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, |
| 215 int /* request_id */) | 212 int /* request_id */) |
| 216 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, | 213 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, |
| 217 int /* request_id */, | 214 int /* request_id */, |
| 218 blink::WebServiceWorkerEventResult) | 215 blink::WebServiceWorkerEventResult) |
| 219 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, | 216 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, |
| 220 int /* request_id */) | 217 int /* request_id */) |
| 221 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, | 218 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, |
| 222 int /* request_id */, | 219 int /* request_id */, |
| 223 bool /* accept_connection */) | 220 bool /* accept_connection */) |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 std::vector<int> /* new_routing_ids */) | 400 std::vector<int> /* new_routing_ids */) |
| 404 | 401 |
| 405 // Sent via EmbeddedWorker to dispatch events. | 402 // Sent via EmbeddedWorker to dispatch events. |
| 406 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 403 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
| 407 int /* request_id */) | 404 int /* request_id */) |
| 408 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 405 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 409 int /* request_id */) | 406 int /* request_id */) |
| 410 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 407 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
| 411 int /* request_id */, | 408 int /* request_id */, |
| 412 content::ServiceWorkerFetchRequest) | 409 content::ServiceWorkerFetchRequest) |
| 413 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, | |
| 414 int /* request_id */) | |
| 415 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, | 410 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, |
| 416 int /* request_id */, | 411 int /* request_id */, |
| 417 int64_t /* persistent_notification_id */, | 412 int64_t /* persistent_notification_id */, |
| 418 content::PlatformNotificationData /* notification_data */) | 413 content::PlatformNotificationData /* notification_data */) |
| 419 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 414 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
| 420 int /* request_id */, | 415 int /* request_id */, |
| 421 std::string /* data */) | 416 std::string /* data */) |
| 422 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 417 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
| 423 int /* request_id */, | 418 int /* request_id */, |
| 424 blink::WebGeofencingEventType /* event_type */, | 419 blink::WebGeofencingEventType /* event_type */, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 464 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 470 int /* request_id */, | 465 int /* request_id */, |
| 471 content::ServiceWorkerClientInfo /* client */) | 466 content::ServiceWorkerClientInfo /* client */) |
| 472 | 467 |
| 473 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 468 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
| 474 IPC_MESSAGE_CONTROL3( | 469 IPC_MESSAGE_CONTROL3( |
| 475 ServiceWorkerMsg_SendStashedMessagePorts, | 470 ServiceWorkerMsg_SendStashedMessagePorts, |
| 476 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 471 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
| 477 std::vector<int> /* new_routing_ids */, | 472 std::vector<int> /* new_routing_ids */, |
| 478 std::vector<base::string16> /* port_names */) | 473 std::vector<base::string16> /* port_names */) |
| OLD | NEW |