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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 122 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_UpdateServiceWorker, |
123 int /* provider_id */, | 123 int /* provider_id */, |
124 int64 /* registration_id */) | 124 int64 /* registration_id */) |
125 | 125 |
126 // TODO(nhiroki): Remove this after http://crbug.com/500404 is fixed. | |
127 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_DeprecatedUnregisterServiceWorker, | |
128 int /* thread_id */, | |
129 int /* request_id */, | |
130 int /* provider_id */, | |
131 GURL /* scope (url pattern) */) | |
132 | |
133 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, | 126 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, |
134 int /* thread_id */, | 127 int /* thread_id */, |
135 int /* request_id */, | 128 int /* request_id */, |
136 int /* provider_id */, | 129 int /* provider_id */, |
137 int64 /* registration_id */) | 130 int64 /* registration_id */) |
138 | 131 |
139 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration, | 132 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration, |
140 int /* thread_id */, | 133 int /* thread_id */, |
141 int /* request_id */, | 134 int /* request_id */, |
142 int /* provider_id */, | 135 int /* provider_id */, |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 469 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
477 int /* request_id */, | 470 int /* request_id */, |
478 content::ServiceWorkerClientInfo /* client */) | 471 content::ServiceWorkerClientInfo /* client */) |
479 | 472 |
480 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 473 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
481 IPC_MESSAGE_CONTROL3( | 474 IPC_MESSAGE_CONTROL3( |
482 ServiceWorkerMsg_SendStashedMessagePorts, | 475 ServiceWorkerMsg_SendStashedMessagePorts, |
483 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 476 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
484 std::vector<int> /* new_routing_ids */, | 477 std::vector<int> /* new_routing_ids */, |
485 std::vector<base::string16> /* port_names */) | 478 std::vector<base::string16> /* port_names */) |
OLD | NEW |