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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 request_body) | 217 request_body) |
218 | 218 |
219 IPC_STRUCT_MEMBER(bool, download_to_file) | 219 IPC_STRUCT_MEMBER(bool, download_to_file) |
220 | 220 |
221 // True if the request was user initiated. | 221 // True if the request was user initiated. |
222 IPC_STRUCT_MEMBER(bool, has_user_gesture) | 222 IPC_STRUCT_MEMBER(bool, has_user_gesture) |
223 | 223 |
224 // True if load timing data should be collected for request. | 224 // True if load timing data should be collected for request. |
225 IPC_STRUCT_MEMBER(bool, enable_load_timing) | 225 IPC_STRUCT_MEMBER(bool, enable_load_timing) |
226 | 226 |
| 227 // True if upload progress should be available for request. |
| 228 IPC_STRUCT_MEMBER(bool, enable_upload_progress) |
| 229 |
227 // The routing id of the RenderFrame. | 230 // The routing id of the RenderFrame. |
228 IPC_STRUCT_MEMBER(int, render_frame_id) | 231 IPC_STRUCT_MEMBER(int, render_frame_id) |
229 | 232 |
230 // True if |frame_id| is the main frame of a RenderView. | 233 // True if |frame_id| is the main frame of a RenderView. |
231 IPC_STRUCT_MEMBER(bool, is_main_frame) | 234 IPC_STRUCT_MEMBER(bool, is_main_frame) |
232 | 235 |
233 // True if |parent_render_frame_id| is the main frame of a RenderView. | 236 // True if |parent_render_frame_id| is the main frame of a RenderView. |
234 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) | 237 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) |
235 | 238 |
236 // Identifies the parent frame of the frame that sent the request. | 239 // Identifies the parent frame of the frame that sent the request. |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 | 382 |
380 // Sent when the renderer process deletes a resource loader. | 383 // Sent when the renderer process deletes a resource loader. |
381 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 384 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
382 int /* request_id */) | 385 int /* request_id */) |
383 | 386 |
384 // Sent by the renderer when a resource request changes priority. | 387 // Sent by the renderer when a resource request changes priority. |
385 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 388 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
386 int /* request_id */, | 389 int /* request_id */, |
387 net::RequestPriority, | 390 net::RequestPriority, |
388 int /* intra_priority_value */) | 391 int /* intra_priority_value */) |
OLD | NEW |