| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 //--------------------------------------------------------------------------- | 112 //--------------------------------------------------------------------------- |
| 113 // Messages sent from the child process to the browser. | 113 // Messages sent from the child process to the browser. |
| 114 | 114 |
| 115 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, | 115 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, |
| 116 int /* thread_id */, | 116 int /* thread_id */, |
| 117 int /* request_id */, | 117 int /* request_id */, |
| 118 int /* provider_id */, | 118 int /* provider_id */, |
| 119 GURL /* scope */, | 119 GURL /* scope */, |
| 120 GURL /* script_url */) | 120 GURL /* script_url */) |
| 121 | 121 |
| 122 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_UpdateServiceWorker, |
| 123 int /* provider_id */, |
| 124 GURL /* scope */) |
| 125 |
| 122 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, | 126 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, |
| 123 int /* thread_id */, | 127 int /* thread_id */, |
| 124 int /* request_id */, | 128 int /* request_id */, |
| 125 int /* provider_id */, | 129 int /* provider_id */, |
| 126 GURL /* scope (url pattern) */) | 130 GURL /* scope */) |
| 127 | 131 |
| 128 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration, | 132 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration, |
| 129 int /* thread_id */, | 133 int /* thread_id */, |
| 130 int /* request_id */, | 134 int /* request_id */, |
| 131 int /* provider_id */, | 135 int /* provider_id */, |
| 132 GURL /* document_url */) | 136 GURL /* document_url */) |
| 133 | 137 |
| 134 IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrationForReady, | 138 IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrationForReady, |
| 135 int /* thread_id */, | 139 int /* thread_id */, |
| 136 int /* request_id */, | 140 int /* request_id */, |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 449 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 446 int /* request_id */, | 450 int /* request_id */, |
| 447 content::ServiceWorkerClientInfo /* client */) | 451 content::ServiceWorkerClientInfo /* client */) |
| 448 | 452 |
| 449 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 453 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
| 450 IPC_MESSAGE_CONTROL3( | 454 IPC_MESSAGE_CONTROL3( |
| 451 ServiceWorkerMsg_SendStashedMessagePorts, | 455 ServiceWorkerMsg_SendStashedMessagePorts, |
| 452 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 456 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
| 453 std::vector<int> /* new_routing_ids */, | 457 std::vector<int> /* new_routing_ids */, |
| 454 std::vector<base::string16> /* port_names */) | 458 std::vector<base::string16> /* port_names */) |
| OLD | NEW |