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 | 10 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // The requested URL. | 159 // The requested URL. |
160 IPC_STRUCT_MEMBER(GURL, url) | 160 IPC_STRUCT_MEMBER(GURL, url) |
161 | 161 |
162 // Usually the URL of the document in the top-level window, which may be | 162 // Usually the URL of the document in the top-level window, which may be |
163 // checked by the third-party cookie blocking policy. Leaving it empty may | 163 // checked by the third-party cookie blocking policy. Leaving it empty may |
164 // lead to undesired cookie blocking. Third-party cookie blocking can be | 164 // lead to undesired cookie blocking. Third-party cookie blocking can be |
165 // bypassed by setting first_party_for_cookies = url, but this should ideally | 165 // bypassed by setting first_party_for_cookies = url, but this should ideally |
166 // only be done if there really is no way to determine the correct value. | 166 // only be done if there really is no way to determine the correct value. |
167 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) | 167 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) |
168 | 168 |
| 169 // The origin of the context which initiated the request, which will be used |
| 170 // for cookie checks like 'First-Party-Only'. |
| 171 IPC_STRUCT_MEMBER(url::Origin, request_initiator) |
| 172 |
169 // The referrer to use (may be empty). | 173 // The referrer to use (may be empty). |
170 IPC_STRUCT_MEMBER(GURL, referrer) | 174 IPC_STRUCT_MEMBER(GURL, referrer) |
171 | 175 |
172 // The referrer policy to use. | 176 // The referrer policy to use. |
173 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) | 177 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) |
174 | 178 |
175 // The frame's visiblity state. | 179 // The frame's visiblity state. |
176 IPC_STRUCT_MEMBER(blink::WebPageVisibilityState, visiblity_state) | 180 IPC_STRUCT_MEMBER(blink::WebPageVisibilityState, visiblity_state) |
177 | 181 |
178 // Additional HTTP request headers. | 182 // Additional HTTP request headers. |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 | 417 |
414 // Sent when the renderer process deletes a resource loader. | 418 // Sent when the renderer process deletes a resource loader. |
415 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 419 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
416 int /* request_id */) | 420 int /* request_id */) |
417 | 421 |
418 // Sent by the renderer when a resource request changes priority. | 422 // Sent by the renderer when a resource request changes priority. |
419 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 423 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
420 int /* request_id */, | 424 int /* request_id */, |
421 net::RequestPriority, | 425 net::RequestPriority, |
422 int /* intra_priority_value */) | 426 int /* intra_priority_value */) |
OLD | NEW |