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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2445993006: [WIP] Upgrade-insecure-request: upgrade insecurely-redirected requests.
Patch Set: bugfix Created 4 years, 2 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
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index dd6425d64fe227305fde3703df4a553694a27a15..6952fb16465cb52e01014d553202aee7406a4305 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -590,6 +590,7 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
}
resource_request->report_raw_headers = request.reportRawHeaders();
resource_request->lofi_state = static_cast<LoFiState>(request.getLoFiState());
+ resource_request->insecure_request_policy = request.insecureRequestPolicy();
// PlzNavigate: during navigation, the renderer should request a stream which
// contains the body of the response. The network request has already been
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698