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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
216 request_body) | 216 request_body) |
217 | 217 |
218 IPC_STRUCT_MEMBER(bool, download_to_file) | 218 IPC_STRUCT_MEMBER(bool, download_to_file) |
219 | 219 |
220 // True if the request was user initiated. | 220 // True if the request was user initiated. |
221 IPC_STRUCT_MEMBER(bool, has_user_gesture) | 221 IPC_STRUCT_MEMBER(bool, has_user_gesture) |
222 | 222 |
223 // True if load timing data should be collected for request. | 223 // True if load timing data should be collected for request. |
224 IPC_STRUCT_MEMBER(bool, enable_load_timing) | 224 IPC_STRUCT_MEMBER(bool, enable_load_timing) |
225 | 225 |
226 // True if upload progress should be available for request. | |
227 IPC_STRUCT_MEMBER(bool, enable_upload_progress) | |
mmenke
2014/10/22 18:23:37
You never seem to be populating this field - you s
Lukasz Jagielski
2014/10/22 20:23:39
I forgot to add files, I did run tests for which I
| |
228 | |
226 // The routing id of the RenderFrame. | 229 // The routing id of the RenderFrame. |
227 IPC_STRUCT_MEMBER(int, render_frame_id) | 230 IPC_STRUCT_MEMBER(int, render_frame_id) |
228 | 231 |
229 // True if |frame_id| is the main frame of a RenderView. | 232 // True if |frame_id| is the main frame of a RenderView. |
230 IPC_STRUCT_MEMBER(bool, is_main_frame) | 233 IPC_STRUCT_MEMBER(bool, is_main_frame) |
231 | 234 |
232 // True if |parent_render_frame_id| is the main frame of a RenderView. | 235 // True if |parent_render_frame_id| is the main frame of a RenderView. |
233 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) | 236 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) |
234 | 237 |
235 // Identifies the parent frame of the frame that sent the request. | 238 // Identifies the parent frame of the frame that sent the request. |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
378 | 381 |
379 // Sent when the renderer process deletes a resource loader. | 382 // Sent when the renderer process deletes a resource loader. |
380 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 383 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
381 int /* request_id */) | 384 int /* request_id */) |
382 | 385 |
383 // Sent by the renderer when a resource request changes priority. | 386 // Sent by the renderer when a resource request changes priority. |
384 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 387 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
385 int /* request_id */, | 388 int /* request_id */, |
386 net::RequestPriority, | 389 net::RequestPriority, |
387 int /* intra_priority_value */) | 390 int /* intra_priority_value */) |
OLD | NEW |