| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // checked by the third-party cookie blocking policy. Leaving it empty may | 131 // checked by the third-party cookie blocking policy. Leaving it empty may |
| 132 // lead to undesired cookie blocking. Third-party cookie blocking can be | 132 // lead to undesired cookie blocking. Third-party cookie blocking can be |
| 133 // bypassed by setting first_party_for_cookies = url, but this should ideally | 133 // bypassed by setting first_party_for_cookies = url, but this should ideally |
| 134 // only be done if there really is no way to determine the correct value. | 134 // only be done if there really is no way to determine the correct value. |
| 135 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) | 135 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) |
| 136 | 136 |
| 137 // The referrer to use (may be empty). | 137 // The referrer to use (may be empty). |
| 138 IPC_STRUCT_MEMBER(GURL, referrer) | 138 IPC_STRUCT_MEMBER(GURL, referrer) |
| 139 | 139 |
| 140 // The referrer policy to use. | 140 // The referrer policy to use. |
| 141 IPC_STRUCT_MEMBER(WebKit::WebReferrerPolicy, referrer_policy) | 141 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) |
| 142 | 142 |
| 143 // Additional HTTP request headers. | 143 // Additional HTTP request headers. |
| 144 IPC_STRUCT_MEMBER(std::string, headers) | 144 IPC_STRUCT_MEMBER(std::string, headers) |
| 145 | 145 |
| 146 // net::URLRequest load flags (0 by default). | 146 // net::URLRequest load flags (0 by default). |
| 147 IPC_STRUCT_MEMBER(int, load_flags) | 147 IPC_STRUCT_MEMBER(int, load_flags) |
| 148 | 148 |
| 149 // Process ID from which this request originated, or zero if it originated | 149 // Process ID from which this request originated, or zero if it originated |
| 150 // in the renderer itself. | 150 // in the renderer itself. |
| 151 // If kDirectNPAPIRequests isn't specified, then plugin requests get routed | 151 // If kDirectNPAPIRequests isn't specified, then plugin requests get routed |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 int /* request_id */) | 310 int /* request_id */) |
| 311 | 311 |
| 312 // Sent when the renderer process deletes a resource loader. | 312 // Sent when the renderer process deletes a resource loader. |
| 313 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 313 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
| 314 int /* request_id */) | 314 int /* request_id */) |
| 315 | 315 |
| 316 // Sent by the renderer when a resource request changes priority. | 316 // Sent by the renderer when a resource request changes priority. |
| 317 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority, | 317 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority, |
| 318 int /* request_id */, | 318 int /* request_id */, |
| 319 net::RequestPriority) | 319 net::RequestPriority) |
| OLD | NEW |