| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 IPC_STRUCT_TRAITS_END() | 102 IPC_STRUCT_TRAITS_END() |
| 103 | 103 |
| 104 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerClientQueryOptions) | 104 IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerClientQueryOptions) |
| 105 IPC_STRUCT_TRAITS_MEMBER(client_type) | 105 IPC_STRUCT_TRAITS_MEMBER(client_type) |
| 106 IPC_STRUCT_TRAITS_MEMBER(include_uncontrolled) | 106 IPC_STRUCT_TRAITS_MEMBER(include_uncontrolled) |
| 107 IPC_STRUCT_TRAITS_END() | 107 IPC_STRUCT_TRAITS_END() |
| 108 | 108 |
| 109 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebGeofencingEventType, | 109 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebGeofencingEventType, |
| 110 blink::WebGeofencingEventTypeLast) | 110 blink::WebGeofencingEventTypeLast) |
| 111 | 111 |
| 112 IPC_STRUCT_TRAITS_BEGIN(content::NavigatorConnectClient) |
| 113 IPC_STRUCT_TRAITS_MEMBER(target_url) |
| 114 IPC_STRUCT_TRAITS_MEMBER(origin) |
| 115 IPC_STRUCT_TRAITS_MEMBER(message_port_id) |
| 116 IPC_STRUCT_TRAITS_END() |
| 117 |
| 112 //--------------------------------------------------------------------------- | 118 //--------------------------------------------------------------------------- |
| 113 // Messages sent from the child process to the browser. | 119 // Messages sent from the child process to the browser. |
| 114 | 120 |
| 115 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, | 121 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, |
| 116 int /* thread_id */, | 122 int /* thread_id */, |
| 117 int /* request_id */, | 123 int /* request_id */, |
| 118 int /* provider_id */, | 124 int /* provider_id */, |
| 119 GURL /* scope */, | 125 GURL /* scope */, |
| 120 GURL /* script_url */) | 126 GURL /* script_url */) |
| 121 | 127 |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 476 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 471 int /* request_id */, | 477 int /* request_id */, |
| 472 content::ServiceWorkerClientInfo /* client */) | 478 content::ServiceWorkerClientInfo /* client */) |
| 473 | 479 |
| 474 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 480 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
| 475 IPC_MESSAGE_CONTROL3( | 481 IPC_MESSAGE_CONTROL3( |
| 476 ServiceWorkerMsg_SendStashedMessagePorts, | 482 ServiceWorkerMsg_SendStashedMessagePorts, |
| 477 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 483 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
| 478 std::vector<int> /* new_routing_ids */, | 484 std::vector<int> /* new_routing_ids */, |
| 479 std::vector<base::string16> /* port_names */) | 485 std::vector<base::string16> /* port_names */) |
| OLD | NEW |