Chromium Code Reviews| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 153 // The requested URL. | 153 // The requested URL. |
| 154 IPC_STRUCT_MEMBER(GURL, url) | 154 IPC_STRUCT_MEMBER(GURL, url) |
| 155 | 155 |
| 156 // Usually the URL of the document in the top-level window, which may be | 156 // Usually the URL of the document in the top-level window, which may be |
| 157 // checked by the third-party cookie blocking policy. Leaving it empty may | 157 // checked by the third-party cookie blocking policy. Leaving it empty may |
| 158 // lead to undesired cookie blocking. Third-party cookie blocking can be | 158 // lead to undesired cookie blocking. Third-party cookie blocking can be |
| 159 // bypassed by setting first_party_for_cookies = url, but this should ideally | 159 // bypassed by setting first_party_for_cookies = url, but this should ideally |
| 160 // only be done if there really is no way to determine the correct value. | 160 // only be done if there really is no way to determine the correct value. |
| 161 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) | 161 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) |
| 162 | 162 |
| 163 // The origin of the context which initiated the request, which will be used | |
| 164 // fo cookie checks like 'First-Party-Only'. | |
|
estark
2015/10/20 23:41:58
typo: for
Mike West
2015/10/22 13:17:02
Fixed.
| |
| 165 IPC_STRUCT_MEMBER(url::Origin, request_initiator) | |
| 166 | |
| 163 // The referrer to use (may be empty). | 167 // The referrer to use (may be empty). |
| 164 IPC_STRUCT_MEMBER(GURL, referrer) | 168 IPC_STRUCT_MEMBER(GURL, referrer) |
| 165 | 169 |
| 166 // The referrer policy to use. | 170 // The referrer policy to use. |
| 167 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) | 171 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) |
| 168 | 172 |
| 169 // The frame's visiblity state. | 173 // The frame's visiblity state. |
| 170 IPC_STRUCT_MEMBER(blink::WebPageVisibilityState, visiblity_state) | 174 IPC_STRUCT_MEMBER(blink::WebPageVisibilityState, visiblity_state) |
| 171 | 175 |
| 172 // Additional HTTP request headers. | 176 // Additional HTTP request headers. |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 397 | 401 |
| 398 // Sent when the renderer process deletes a resource loader. | 402 // Sent when the renderer process deletes a resource loader. |
| 399 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 403 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
| 400 int /* request_id */) | 404 int /* request_id */) |
| 401 | 405 |
| 402 // Sent by the renderer when a resource request changes priority. | 406 // Sent by the renderer when a resource request changes priority. |
| 403 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 407 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
| 404 int /* request_id */, | 408 int /* request_id */, |
| 405 net::RequestPriority, | 409 net::RequestPriority, |
| 406 int /* intra_priority_value */) | 410 int /* intra_priority_value */) |
| OLD | NEW |