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

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

Issue 2053693002: WIP: Move 'Upgrade-Insecure-Requests' to the browser process. Base URL: https://chromium.googlesource.com/chromium/src.git@replicate
Patch Set: Rebase. :( Created 3 years, 9 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
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/common/resource_request.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 IPC_STRUCT_TRAITS_MEMBER(transition_type) 250 IPC_STRUCT_TRAITS_MEMBER(transition_type)
251 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 251 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
252 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 252 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
253 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 253 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
254 IPC_STRUCT_TRAITS_MEMBER(allow_download) 254 IPC_STRUCT_TRAITS_MEMBER(allow_download)
255 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers) 255 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers)
256 IPC_STRUCT_TRAITS_MEMBER(previews_state) 256 IPC_STRUCT_TRAITS_MEMBER(previews_state)
257 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url) 257 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url)
258 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context) 258 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context)
259 IPC_STRUCT_TRAITS_MEMBER(download_to_network_cache_only) 259 IPC_STRUCT_TRAITS_MEMBER(download_to_network_cache_only)
260 IPC_STRUCT_TRAITS_MEMBER(insecure_request_policy)
260 IPC_STRUCT_TRAITS_END() 261 IPC_STRUCT_TRAITS_END()
261 262
262 // Parameters for a ResourceMsg_RequestComplete 263 // Parameters for a ResourceMsg_RequestComplete
263 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) 264 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus)
264 IPC_STRUCT_TRAITS_MEMBER(error_code) 265 IPC_STRUCT_TRAITS_MEMBER(error_code)
265 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) 266 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler)
266 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) 267 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache)
267 IPC_STRUCT_TRAITS_MEMBER(completion_time) 268 IPC_STRUCT_TRAITS_MEMBER(completion_time)
268 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) 269 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length)
269 IPC_STRUCT_TRAITS_MEMBER(encoded_body_length) 270 IPC_STRUCT_TRAITS_MEMBER(encoded_body_length)
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 378
378 // Sent when the renderer process deletes a resource loader. 379 // Sent when the renderer process deletes a resource loader.
379 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 380 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
380 int /* request_id */) 381 int /* request_id */)
381 382
382 // Sent by the renderer when a resource request changes priority. 383 // Sent by the renderer when a resource request changes priority.
383 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 384 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
384 int /* request_id */, 385 int /* request_id */,
385 net::RequestPriority, 386 net::RequestPriority,
386 int /* intra_priority_value */) 387 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/common/resource_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698