OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Multiply-included message file, hence no include guard. | 7 // Multiply-included message file, hence no include guard. |
8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
9 #include "content/public/common/common_param_traits.h" | 9 #include "content/public/common/common_param_traits.h" |
10 #include "content/public/common/resource_response.h" | 10 #include "content/public/common/resource_response.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 IPC_STRUCT_TRAITS_MEMBER(connection_id) | 40 IPC_STRUCT_TRAITS_MEMBER(connection_id) |
41 IPC_STRUCT_TRAITS_MEMBER(connection_reused) | 41 IPC_STRUCT_TRAITS_MEMBER(connection_reused) |
42 IPC_STRUCT_TRAITS_MEMBER(load_timing) | 42 IPC_STRUCT_TRAITS_MEMBER(load_timing) |
43 IPC_STRUCT_TRAITS_MEMBER(devtools_info) | 43 IPC_STRUCT_TRAITS_MEMBER(devtools_info) |
44 IPC_STRUCT_TRAITS_MEMBER(download_file_path) | 44 IPC_STRUCT_TRAITS_MEMBER(download_file_path) |
45 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_spdy) | 45 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_spdy) |
46 IPC_STRUCT_TRAITS_MEMBER(was_npn_negotiated) | 46 IPC_STRUCT_TRAITS_MEMBER(was_npn_negotiated) |
47 IPC_STRUCT_TRAITS_MEMBER(was_alternate_protocol_available) | 47 IPC_STRUCT_TRAITS_MEMBER(was_alternate_protocol_available) |
48 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_proxy) | 48 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_proxy) |
49 IPC_STRUCT_TRAITS_MEMBER(socket_address) | 49 IPC_STRUCT_TRAITS_MEMBER(socket_address) |
| 50 IPC_STRUCT_TRAITS_MEMBER(needs_encoding_detection) |
50 IPC_STRUCT_TRAITS_END() | 51 IPC_STRUCT_TRAITS_END() |
51 | 52 |
52 // Parameters for a resource request. | 53 // Parameters for a resource request. |
53 IPC_STRUCT_BEGIN(ResourceHostMsg_Request) | 54 IPC_STRUCT_BEGIN(ResourceHostMsg_Request) |
54 // The request method: GET, POST, etc. | 55 // The request method: GET, POST, etc. |
55 IPC_STRUCT_MEMBER(std::string, method) | 56 IPC_STRUCT_MEMBER(std::string, method) |
56 | 57 |
57 // The requested URL. | 58 // The requested URL. |
58 IPC_STRUCT_MEMBER(GURL, url) | 59 IPC_STRUCT_MEMBER(GURL, url) |
59 | 60 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 int /* request_id */) | 213 int /* request_id */) |
213 | 214 |
214 // Sent by the renderer process to acknowledge receipt of a | 215 // Sent by the renderer process to acknowledge receipt of a |
215 // UploadProgress message. | 216 // UploadProgress message. |
216 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, | 217 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, |
217 int /* request_id */) | 218 int /* request_id */) |
218 | 219 |
219 // Sent when the renderer process deletes a resource loader. | 220 // Sent when the renderer process deletes a resource loader. |
220 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 221 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
221 int /* request_id */) | 222 int /* request_id */) |
OLD | NEW |