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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2053693002: WIP: Move 'Upgrade-Insecure-Requests' to the browser process. Base URL: https://chromium.googlesource.com/chromium/src.git@replicate
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 05603a5140fc99172fa9a202350b3e4f1ad38016..37a46e90bcf9c7346a0b3e564dfac4c7370fcdbc 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -802,6 +802,7 @@ std::unique_ptr<ResourceRequest> ResourceDispatcher::CreateRequest(
request->lofi_state = extra_data->lofi_state();
request->request_body = request_body;
request->resource_body_stream_url = request_info.resource_body_stream_url;
+ request->insecure_request_policy = request_info.insecure_request_policy;
if (frame_origin)
*frame_origin = extra_data->frame_origin();
return request;

Powered by Google App Engine
This is Rietveld 408576698