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 | 10 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 IPC_STRUCT_TRAITS_MEMBER(final_url) | 147 IPC_STRUCT_TRAITS_MEMBER(final_url) |
148 IPC_STRUCT_TRAITS_MEMBER(data) | 148 IPC_STRUCT_TRAITS_MEMBER(data) |
149 IPC_STRUCT_TRAITS_END() | 149 IPC_STRUCT_TRAITS_END() |
150 | 150 |
151 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseInfo) | 151 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseInfo) |
152 IPC_STRUCT_TRAITS_MEMBER(request_time) | 152 IPC_STRUCT_TRAITS_MEMBER(request_time) |
153 IPC_STRUCT_TRAITS_MEMBER(response_time) | 153 IPC_STRUCT_TRAITS_MEMBER(response_time) |
154 IPC_STRUCT_TRAITS_MEMBER(headers) | 154 IPC_STRUCT_TRAITS_MEMBER(headers) |
155 IPC_STRUCT_TRAITS_MEMBER(mime_type) | 155 IPC_STRUCT_TRAITS_MEMBER(mime_type) |
156 IPC_STRUCT_TRAITS_MEMBER(charset) | 156 IPC_STRUCT_TRAITS_MEMBER(charset) |
157 IPC_STRUCT_TRAITS_MEMBER(security_info) | |
158 IPC_STRUCT_TRAITS_MEMBER(has_major_certificate_errors) | 157 IPC_STRUCT_TRAITS_MEMBER(has_major_certificate_errors) |
159 IPC_STRUCT_TRAITS_MEMBER(content_length) | 158 IPC_STRUCT_TRAITS_MEMBER(content_length) |
160 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) | 159 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) |
161 IPC_STRUCT_TRAITS_MEMBER(encoded_body_length) | 160 IPC_STRUCT_TRAITS_MEMBER(encoded_body_length) |
162 IPC_STRUCT_TRAITS_MEMBER(appcache_id) | 161 IPC_STRUCT_TRAITS_MEMBER(appcache_id) |
163 IPC_STRUCT_TRAITS_MEMBER(appcache_manifest_url) | 162 IPC_STRUCT_TRAITS_MEMBER(appcache_manifest_url) |
164 IPC_STRUCT_TRAITS_MEMBER(load_timing) | 163 IPC_STRUCT_TRAITS_MEMBER(load_timing) |
165 IPC_STRUCT_TRAITS_MEMBER(devtools_info) | 164 IPC_STRUCT_TRAITS_MEMBER(devtools_info) |
166 IPC_STRUCT_TRAITS_MEMBER(download_file_path) | 165 IPC_STRUCT_TRAITS_MEMBER(download_file_path) |
167 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_spdy) | 166 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_spdy) |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 IPC_STRUCT_TRAITS_MEMBER(lofi_state) | 251 IPC_STRUCT_TRAITS_MEMBER(lofi_state) |
253 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url) | 252 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url) |
254 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context) | 253 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context) |
255 IPC_STRUCT_TRAITS_END() | 254 IPC_STRUCT_TRAITS_END() |
256 | 255 |
257 // Parameters for a ResourceMsg_RequestComplete | 256 // Parameters for a ResourceMsg_RequestComplete |
258 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) | 257 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) |
259 IPC_STRUCT_TRAITS_MEMBER(error_code) | 258 IPC_STRUCT_TRAITS_MEMBER(error_code) |
260 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) | 259 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) |
261 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) | 260 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) |
262 IPC_STRUCT_TRAITS_MEMBER(security_info) | |
263 IPC_STRUCT_TRAITS_MEMBER(completion_time) | 261 IPC_STRUCT_TRAITS_MEMBER(completion_time) |
264 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) | 262 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) |
265 IPC_STRUCT_TRAITS_END() | 263 IPC_STRUCT_TRAITS_END() |
266 | 264 |
267 // Resource messages sent from the browser to the renderer. | 265 // Resource messages sent from the browser to the renderer. |
268 | 266 |
269 // Sent when the headers are available for a resource request. | 267 // Sent when the headers are available for a resource request. |
270 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedResponse, | 268 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedResponse, |
271 int /* request_id */, | 269 int /* request_id */, |
272 content::ResourceResponseHead) | 270 content::ResourceResponseHead) |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 | 376 |
379 // Sent when the renderer process deletes a resource loader. | 377 // Sent when the renderer process deletes a resource loader. |
380 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 378 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
381 int /* request_id */) | 379 int /* request_id */) |
382 | 380 |
383 // Sent by the renderer when a resource request changes priority. | 381 // Sent by the renderer when a resource request changes priority. |
384 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 382 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
385 int /* request_id */, | 383 int /* request_id */, |
386 net::RequestPriority, | 384 net::RequestPriority, |
387 int /* intra_priority_value */) | 385 int /* intra_priority_value */) |
OLD | NEW |