Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Side by Side Diff: content/common/resource_messages.h

Issue 2111623003: Reland of Apply Referrer-Policy header when following redirects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initialize |read_handler| Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 IPC_STRUCT_TRAITS_MEMBER(service_worker_ready_time) 176 IPC_STRUCT_TRAITS_MEMBER(service_worker_ready_time)
177 IPC_STRUCT_TRAITS_MEMBER(is_in_cache_storage) 177 IPC_STRUCT_TRAITS_MEMBER(is_in_cache_storage)
178 IPC_STRUCT_TRAITS_MEMBER(cache_storage_cache_name) 178 IPC_STRUCT_TRAITS_MEMBER(cache_storage_cache_name)
179 IPC_STRUCT_TRAITS_MEMBER(proxy_server) 179 IPC_STRUCT_TRAITS_MEMBER(proxy_server)
180 IPC_STRUCT_TRAITS_MEMBER(is_using_lofi) 180 IPC_STRUCT_TRAITS_MEMBER(is_using_lofi)
181 IPC_STRUCT_TRAITS_MEMBER(effective_connection_type) 181 IPC_STRUCT_TRAITS_MEMBER(effective_connection_type)
182 IPC_STRUCT_TRAITS_MEMBER(signed_certificate_timestamps) 182 IPC_STRUCT_TRAITS_MEMBER(signed_certificate_timestamps)
183 IPC_STRUCT_TRAITS_MEMBER(cors_exposed_header_names) 183 IPC_STRUCT_TRAITS_MEMBER(cors_exposed_header_names)
184 IPC_STRUCT_TRAITS_END() 184 IPC_STRUCT_TRAITS_END()
185 185
186 IPC_ENUM_TRAITS_MAX_VALUE(net::URLRequest::ReferrerPolicy,
187 net::URLRequest::MAX_REFERRER_POLICY - 1)
188
186 IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo) 189 IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo)
187 IPC_STRUCT_TRAITS_MEMBER(status_code) 190 IPC_STRUCT_TRAITS_MEMBER(status_code)
188 IPC_STRUCT_TRAITS_MEMBER(new_method) 191 IPC_STRUCT_TRAITS_MEMBER(new_method)
189 IPC_STRUCT_TRAITS_MEMBER(new_url) 192 IPC_STRUCT_TRAITS_MEMBER(new_url)
190 IPC_STRUCT_TRAITS_MEMBER(new_first_party_for_cookies) 193 IPC_STRUCT_TRAITS_MEMBER(new_first_party_for_cookies)
191 IPC_STRUCT_TRAITS_MEMBER(new_referrer) 194 IPC_STRUCT_TRAITS_MEMBER(new_referrer)
195 IPC_STRUCT_TRAITS_MEMBER(new_referrer_policy)
192 IPC_STRUCT_TRAITS_MEMBER(referred_token_binding_host) 196 IPC_STRUCT_TRAITS_MEMBER(referred_token_binding_host)
193 IPC_STRUCT_TRAITS_END() 197 IPC_STRUCT_TRAITS_END()
194 198
195 IPC_STRUCT_TRAITS_BEGIN(net::SignedCertificateTimestampAndStatus) 199 IPC_STRUCT_TRAITS_BEGIN(net::SignedCertificateTimestampAndStatus)
196 IPC_STRUCT_TRAITS_MEMBER(sct) 200 IPC_STRUCT_TRAITS_MEMBER(sct)
197 IPC_STRUCT_TRAITS_MEMBER(status) 201 IPC_STRUCT_TRAITS_MEMBER(status)
198 IPC_STRUCT_TRAITS_END() 202 IPC_STRUCT_TRAITS_END()
199 203
200 IPC_ENUM_TRAITS_MAX_VALUE(net::ct::SCTVerifyStatus, net::ct::SCT_STATUS_MAX) 204 IPC_ENUM_TRAITS_MAX_VALUE(net::ct::SCTVerifyStatus, net::ct::SCT_STATUS_MAX)
201 205
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 370
367 // Sent when the renderer process deletes a resource loader. 371 // Sent when the renderer process deletes a resource loader.
368 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 372 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
369 int /* request_id */) 373 int /* request_id */)
370 374
371 // Sent by the renderer when a resource request changes priority. 375 // Sent by the renderer when a resource request changes priority.
372 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 376 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
373 int /* request_id */, 377 int /* request_id */,
374 net::RequestPriority, 378 net::RequestPriority,
375 int /* intra_priority_value */) 379 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | content/shell/browser/layout_test/layout_test_url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698