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 <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // cache |data| associated with |url|. | 265 // cache |data| associated with |url|. |
266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SetCachedMetadata, | 266 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_SetCachedMetadata, |
267 GURL /* url */, | 267 GURL /* url */, |
268 std::vector<char> /* data */) | 268 std::vector<char> /* data */) |
269 | 269 |
270 // ServiceWorker -> Browser message to request that the ServiceWorkerStorage | 270 // ServiceWorker -> Browser message to request that the ServiceWorkerStorage |
271 // clear the cache associated with |url|. | 271 // clear the cache associated with |url|. |
272 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClearCachedMetadata, GURL /* url */) | 272 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClearCachedMetadata, GURL /* url */) |
273 | 273 |
274 // Ask the browser to open a tab/window (renderer->browser). | 274 // Ask the browser to open a tab/window (renderer->browser). |
275 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_OpenWindow, | 275 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_OpenWindow, |
276 int /* request_id */, | 276 int /* request_id */, |
| 277 GURL /* redirect_url */, |
277 GURL /* url */) | 278 GURL /* url */) |
278 | 279 |
279 // Ask the browser to focus a client (renderer->browser). | 280 // Ask the browser to focus a client (renderer->browser). |
280 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient, | 281 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient, |
281 int /* request_id */, | 282 int /* request_id */, |
282 std::string /* uuid */) | 283 std::string /* uuid */) |
283 | 284 |
284 // Ask the browser to navigate a client (renderer->browser). | 285 // Ask the browser to navigate a client (renderer->browser). |
285 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient, | 286 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient, |
286 int /* request_id */, | 287 int /* request_id */, |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 | 505 |
505 // Sent via EmbeddedWorker as a response of NavigateClient. | 506 // Sent via EmbeddedWorker as a response of NavigateClient. |
506 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 507 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
507 int /* request_id */, | 508 int /* request_id */, |
508 content::ServiceWorkerClientInfo /* client */) | 509 content::ServiceWorkerClientInfo /* client */) |
509 | 510 |
510 // Sent via EmbeddedWorker as an error response of NavigateClient. | 511 // Sent via EmbeddedWorker as an error response of NavigateClient. |
511 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 512 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
512 int /* request_id */, | 513 int /* request_id */, |
513 GURL /* url */) | 514 GURL /* url */) |
OLD | NEW |