OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // IPC messages for resource loading. | 5 // IPC messages for resource loading. |
6 // | 6 // |
7 // NOTE: All messages must send an |int request_id| as their first parameter. | 7 // NOTE: All messages must send an |int request_id| as their first parameter. |
8 | 8 |
9 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 IPC_STRUCT_TRAITS_MEMBER(load_timing) | 110 IPC_STRUCT_TRAITS_MEMBER(load_timing) |
111 IPC_STRUCT_TRAITS_MEMBER(devtools_info) | 111 IPC_STRUCT_TRAITS_MEMBER(devtools_info) |
112 IPC_STRUCT_TRAITS_MEMBER(download_file_path) | 112 IPC_STRUCT_TRAITS_MEMBER(download_file_path) |
113 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_spdy) | 113 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_spdy) |
114 IPC_STRUCT_TRAITS_MEMBER(was_npn_negotiated) | 114 IPC_STRUCT_TRAITS_MEMBER(was_npn_negotiated) |
115 IPC_STRUCT_TRAITS_MEMBER(was_alternate_protocol_available) | 115 IPC_STRUCT_TRAITS_MEMBER(was_alternate_protocol_available) |
116 IPC_STRUCT_TRAITS_MEMBER(connection_info) | 116 IPC_STRUCT_TRAITS_MEMBER(connection_info) |
117 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_proxy) | 117 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_proxy) |
118 IPC_STRUCT_TRAITS_MEMBER(npn_negotiated_protocol) | 118 IPC_STRUCT_TRAITS_MEMBER(npn_negotiated_protocol) |
119 IPC_STRUCT_TRAITS_MEMBER(socket_address) | 119 IPC_STRUCT_TRAITS_MEMBER(socket_address) |
| 120 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_service_worker) |
| 121 IPC_STRUCT_TRAITS_MEMBER(original_url_via_service_worker) |
120 IPC_STRUCT_TRAITS_END() | 122 IPC_STRUCT_TRAITS_END() |
121 | 123 |
122 // Parameters for a resource request. | 124 // Parameters for a resource request. |
123 IPC_STRUCT_BEGIN(ResourceHostMsg_Request) | 125 IPC_STRUCT_BEGIN(ResourceHostMsg_Request) |
124 // The request method: GET, POST, etc. | 126 // The request method: GET, POST, etc. |
125 IPC_STRUCT_MEMBER(std::string, method) | 127 IPC_STRUCT_MEMBER(std::string, method) |
126 | 128 |
127 // The requested URL. | 129 // The requested URL. |
128 IPC_STRUCT_MEMBER(GURL, url) | 130 IPC_STRUCT_MEMBER(GURL, url) |
129 | 131 |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 | 341 |
340 // Sent when the renderer process deletes a resource loader. | 342 // Sent when the renderer process deletes a resource loader. |
341 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 343 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
342 int /* request_id */) | 344 int /* request_id */) |
343 | 345 |
344 // Sent by the renderer when a resource request changes priority. | 346 // Sent by the renderer when a resource request changes priority. |
345 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 347 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
346 int /* request_id */, | 348 int /* request_id */, |
347 net::RequestPriority, | 349 net::RequestPriority, |
348 int /* intra_priority_value */) | 350 int /* intra_priority_value */) |
OLD | NEW |