| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, | 221 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, |
| 222 int /* request_id */, | 222 int /* request_id */, |
| 223 blink::WebServiceWorkerEventResult) | 223 blink::WebServiceWorkerEventResult) |
| 224 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, | 224 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, |
| 225 int /* request_id */, | 225 int /* request_id */, |
| 226 blink::WebServiceWorkerEventResult) | 226 blink::WebServiceWorkerEventResult) |
| 227 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, | 227 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, |
| 228 int /* request_id */, | 228 int /* request_id */, |
| 229 content::ServiceWorkerFetchEventResult, | 229 content::ServiceWorkerFetchEventResult, |
| 230 content::ServiceWorkerResponse) | 230 content::ServiceWorkerResponse) |
| 231 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SyncEventFinished, | |
| 232 int /* request_id */, | |
| 233 blink::WebServiceWorkerEventResult) | |
| 234 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, | 231 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_NotificationClickEventFinished, |
| 235 int /* request_id */) | 232 int /* request_id */) |
| 236 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, | 233 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_PushEventFinished, |
| 237 int /* request_id */, | 234 int /* request_id */, |
| 238 blink::WebServiceWorkerEventResult) | 235 blink::WebServiceWorkerEventResult) |
| 239 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, | 236 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GeofencingEventFinished, |
| 240 int /* request_id */) | 237 int /* request_id */) |
| 241 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, | 238 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CrossOriginConnectEventFinished, |
| 242 int /* request_id */, | 239 int /* request_id */, |
| 243 bool /* accept_connection */) | 240 bool /* accept_connection */) |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 ServiceWorkerMsg_MessageToDocument_Params) | 415 ServiceWorkerMsg_MessageToDocument_Params) |
| 419 | 416 |
| 420 // Sent via EmbeddedWorker to dispatch events. | 417 // Sent via EmbeddedWorker to dispatch events. |
| 421 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, | 418 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
| 422 int /* request_id */) | 419 int /* request_id */) |
| 423 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 420 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 424 int /* request_id */) | 421 int /* request_id */) |
| 425 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 422 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
| 426 int /* request_id */, | 423 int /* request_id */, |
| 427 content::ServiceWorkerFetchRequest) | 424 content::ServiceWorkerFetchRequest) |
| 428 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, | |
| 429 int /* request_id */) | |
| 430 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, | 425 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, |
| 431 int /* request_id */, | 426 int /* request_id */, |
| 432 int64_t /* persistent_notification_id */, | 427 int64_t /* persistent_notification_id */, |
| 433 content::PlatformNotificationData /* notification_data */) | 428 content::PlatformNotificationData /* notification_data */) |
| 434 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, | 429 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
| 435 int /* request_id */, | 430 int /* request_id */, |
| 436 std::string /* data */) | 431 std::string /* data */) |
| 437 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 432 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
| 438 int /* request_id */, | 433 int /* request_id */, |
| 439 blink::WebGeofencingEventType /* event_type */, | 434 blink::WebGeofencingEventType /* event_type */, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 479 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 485 int /* request_id */, | 480 int /* request_id */, |
| 486 content::ServiceWorkerClientInfo /* client */) | 481 content::ServiceWorkerClientInfo /* client */) |
| 487 | 482 |
| 488 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 483 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
| 489 IPC_MESSAGE_CONTROL3( | 484 IPC_MESSAGE_CONTROL3( |
| 490 ServiceWorkerMsg_SendStashedMessagePorts, | 485 ServiceWorkerMsg_SendStashedMessagePorts, |
| 491 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 486 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
| 492 std::vector<int> /* new_routing_ids */, | 487 std::vector<int> /* new_routing_ids */, |
| 493 std::vector<base::string16> /* port_names */) | 488 std::vector<base::string16> /* port_names */) |
| OLD | NEW |