| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 // True if the request was user initiated. | 225 // True if the request was user initiated. |
| 226 IPC_STRUCT_MEMBER(bool, has_user_gesture) | 226 IPC_STRUCT_MEMBER(bool, has_user_gesture) |
| 227 | 227 |
| 228 // True if load timing data should be collected for request. | 228 // True if load timing data should be collected for request. |
| 229 IPC_STRUCT_MEMBER(bool, enable_load_timing) | 229 IPC_STRUCT_MEMBER(bool, enable_load_timing) |
| 230 | 230 |
| 231 // True if upload progress should be available for request. | 231 // True if upload progress should be available for request. |
| 232 IPC_STRUCT_MEMBER(bool, enable_upload_progress) | 232 IPC_STRUCT_MEMBER(bool, enable_upload_progress) |
| 233 | 233 |
| 234 // True if login prompts for this request should be supressed. |
| 235 IPC_STRUCT_MEMBER(bool, do_not_prompt_for_login) |
| 236 |
| 234 // The routing id of the RenderFrame. | 237 // The routing id of the RenderFrame. |
| 235 IPC_STRUCT_MEMBER(int, render_frame_id) | 238 IPC_STRUCT_MEMBER(int, render_frame_id) |
| 236 | 239 |
| 237 // True if |frame_id| is the main frame of a RenderView. | 240 // True if |frame_id| is the main frame of a RenderView. |
| 238 IPC_STRUCT_MEMBER(bool, is_main_frame) | 241 IPC_STRUCT_MEMBER(bool, is_main_frame) |
| 239 | 242 |
| 240 // True if |parent_render_frame_id| is the main frame of a RenderView. | 243 // True if |parent_render_frame_id| is the main frame of a RenderView. |
| 241 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) | 244 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) |
| 242 | 245 |
| 243 // Identifies the parent frame of the frame that sent the request. | 246 // Identifies the parent frame of the frame that sent the request. |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 | 389 |
| 387 // Sent when the renderer process deletes a resource loader. | 390 // Sent when the renderer process deletes a resource loader. |
| 388 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 391 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
| 389 int /* request_id */) | 392 int /* request_id */) |
| 390 | 393 |
| 391 // Sent by the renderer when a resource request changes priority. | 394 // Sent by the renderer when a resource request changes priority. |
| 392 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 395 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
| 393 int /* request_id */, | 396 int /* request_id */, |
| 394 net::RequestPriority, | 397 net::RequestPriority, |
| 395 int /* intra_priority_value */) | 398 int /* intra_priority_value */) |
| OLD | NEW |