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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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(blink::WebReferrerPolicy, referrer_policy) | 141 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) |
142 | 142 |
143 // The frame's visiblity state. | |
144 IPC_STRUCT_MEMBER(blink::WebPageVisibilityState, visiblity_state) | |
nasko
2014/01/21 18:19:21
Since this is an enum, we should add at least IPC_
jam
2014/01/21 18:54:09
I had added it in content_param_traits_macros.h
| |
145 | |
143 // Additional HTTP request headers. | 146 // Additional HTTP request headers. |
144 IPC_STRUCT_MEMBER(std::string, headers) | 147 IPC_STRUCT_MEMBER(std::string, headers) |
145 | 148 |
146 // net::URLRequest load flags (0 by default). | 149 // net::URLRequest load flags (0 by default). |
147 IPC_STRUCT_MEMBER(int, load_flags) | 150 IPC_STRUCT_MEMBER(int, load_flags) |
148 | 151 |
149 // Process ID from which this request originated, or zero if it originated | 152 // Process ID from which this request originated, or zero if it originated |
150 // in the renderer itself. | 153 // in the renderer itself. |
151 // If kDirectNPAPIRequests isn't specified, then plugin requests get routed | 154 // If kDirectNPAPIRequests isn't specified, then plugin requests get routed |
152 // through the renderer and and this holds the pid of the plugin process. | 155 // through the renderer and and this holds the pid of the plugin process. |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
317 int /* request_id */) | 320 int /* request_id */) |
318 | 321 |
319 // Sent when the renderer process deletes a resource loader. | 322 // Sent when the renderer process deletes a resource loader. |
320 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 323 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
321 int /* request_id */) | 324 int /* request_id */) |
322 | 325 |
323 // Sent by the renderer when a resource request changes priority. | 326 // Sent by the renderer when a resource request changes priority. |
324 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority, | 327 IPC_MESSAGE_CONTROL2(ResourceHostMsg_DidChangePriority, |
325 int /* request_id */, | 328 int /* request_id */, |
326 net::RequestPriority) | 329 net::RequestPriority) |
OLD | NEW |