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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 IPC_STRUCT_TRAITS_MEMBER(transition_type) | 244 IPC_STRUCT_TRAITS_MEMBER(transition_type) |
245 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) | 245 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) |
246 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) | 246 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) |
247 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) | 247 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) |
248 IPC_STRUCT_TRAITS_MEMBER(allow_download) | 248 IPC_STRUCT_TRAITS_MEMBER(allow_download) |
249 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers) | 249 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers) |
250 IPC_STRUCT_TRAITS_MEMBER(lofi_state) | 250 IPC_STRUCT_TRAITS_MEMBER(lofi_state) |
251 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url) | 251 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url) |
252 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context) | 252 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context) |
253 IPC_STRUCT_TRAITS_MEMBER(download_to_network_cache_only) | 253 IPC_STRUCT_TRAITS_MEMBER(download_to_network_cache_only) |
| 254 IPC_STRUCT_TRAITS_MEMBER(insecure_request_policy) |
254 IPC_STRUCT_TRAITS_END() | 255 IPC_STRUCT_TRAITS_END() |
255 | 256 |
256 // Parameters for a ResourceMsg_RequestComplete | 257 // Parameters for a ResourceMsg_RequestComplete |
257 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) | 258 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) |
258 IPC_STRUCT_TRAITS_MEMBER(error_code) | 259 IPC_STRUCT_TRAITS_MEMBER(error_code) |
259 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) | 260 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) |
260 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) | 261 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) |
261 IPC_STRUCT_TRAITS_MEMBER(completion_time) | 262 IPC_STRUCT_TRAITS_MEMBER(completion_time) |
262 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) | 263 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) |
263 IPC_STRUCT_TRAITS_END() | 264 IPC_STRUCT_TRAITS_END() |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 | 377 |
377 // Sent when the renderer process deletes a resource loader. | 378 // Sent when the renderer process deletes a resource loader. |
378 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 379 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
379 int /* request_id */) | 380 int /* request_id */) |
380 | 381 |
381 // Sent by the renderer when a resource request changes priority. | 382 // Sent by the renderer when a resource request changes priority. |
382 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 383 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
383 int /* request_id */, | 384 int /* request_id */, |
384 net::RequestPriority, | 385 net::RequestPriority, |
385 int /* intra_priority_value */) | 386 int /* intra_priority_value */) |
OLD | NEW |