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