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 | |
230 // The routing id of the RenderFrame. | 227 // The routing id of the RenderFrame. |
231 IPC_STRUCT_MEMBER(int, render_frame_id) | 228 IPC_STRUCT_MEMBER(int, render_frame_id) |
232 | 229 |
233 // True if |frame_id| is the main frame of a RenderView. | 230 // True if |frame_id| is the main frame of a RenderView. |
234 IPC_STRUCT_MEMBER(bool, is_main_frame) | 231 IPC_STRUCT_MEMBER(bool, is_main_frame) |
235 | 232 |
236 // True if |parent_render_frame_id| is the main frame of a RenderView. | 233 // True if |parent_render_frame_id| is the main frame of a RenderView. |
237 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) | 234 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) |
238 | 235 |
239 // Identifies the parent frame of the frame that sent the request. | 236 // Identifies the parent frame of the frame that sent the request. |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 | 379 |
383 // Sent when the renderer process deletes a resource loader. | 380 // Sent when the renderer process deletes a resource loader. |
384 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 381 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
385 int /* request_id */) | 382 int /* request_id */) |
386 | 383 |
387 // Sent by the renderer when a resource request changes priority. | 384 // Sent by the renderer when a resource request changes priority. |
388 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 385 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
389 int /* request_id */, | 386 int /* request_id */, |
390 net::RequestPriority, | 387 net::RequestPriority, |
391 int /* intra_priority_value */) | 388 int /* intra_priority_value */) |
OLD | NEW |