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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // The requested URL. | 150 // The requested URL. |
151 IPC_STRUCT_MEMBER(GURL, url) | 151 IPC_STRUCT_MEMBER(GURL, url) |
152 | 152 |
153 // Usually the URL of the document in the top-level window, which may be | 153 // Usually the URL of the document in the top-level window, which may be |
154 // checked by the third-party cookie blocking policy. Leaving it empty may | 154 // checked by the third-party cookie blocking policy. Leaving it empty may |
155 // lead to undesired cookie blocking. Third-party cookie blocking can be | 155 // lead to undesired cookie blocking. Third-party cookie blocking can be |
156 // bypassed by setting first_party_for_cookies = url, but this should ideally | 156 // bypassed by setting first_party_for_cookies = url, but this should ideally |
157 // only be done if there really is no way to determine the correct value. | 157 // only be done if there really is no way to determine the correct value. |
158 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) | 158 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) |
159 | 159 |
| 160 // The origin responsible for making the request; used for First-Party-Only |
| 161 // cookie policy enforcement. |
| 162 IPC_STRUCT_MEMBER(url::Origin, requestor_origin) |
| 163 |
160 // The referrer to use (may be empty). | 164 // The referrer to use (may be empty). |
161 IPC_STRUCT_MEMBER(GURL, referrer) | 165 IPC_STRUCT_MEMBER(GURL, referrer) |
162 | 166 |
163 // The referrer policy to use. | 167 // The referrer policy to use. |
164 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) | 168 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) |
165 | 169 |
166 // The frame's visiblity state. | 170 // The frame's visiblity state. |
167 IPC_STRUCT_MEMBER(blink::WebPageVisibilityState, visiblity_state) | 171 IPC_STRUCT_MEMBER(blink::WebPageVisibilityState, visiblity_state) |
168 | 172 |
169 // Additional HTTP request headers. | 173 // Additional HTTP request headers. |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 | 392 |
389 // Sent when the renderer process deletes a resource loader. | 393 // Sent when the renderer process deletes a resource loader. |
390 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 394 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
391 int /* request_id */) | 395 int /* request_id */) |
392 | 396 |
393 // Sent by the renderer when a resource request changes priority. | 397 // Sent by the renderer when a resource request changes priority. |
394 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 398 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
395 int /* request_id */, | 399 int /* request_id */, |
396 net::RequestPriority, | 400 net::RequestPriority, |
397 int /* intra_priority_value */) | 401 int /* intra_priority_value */) |
OLD | NEW |