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

Unified Diff: content/child/web_url_loader_impl.cc

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, 10 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/loader/resource_dispatcher_host_impl.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 454cbd7d387b02c4fedc7c46c18e83bc4befa77a..56aa6b35e50c951d3ae8628b7f92f2a68978110e 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -600,6 +600,8 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
resource_request->report_raw_headers = request.reportRawHeaders();
resource_request->previews_state =
static_cast<PreviewsState>(request.getPreviewsState());
+ resource_request->insecure_request_policy =
+ request.getInsecureRequestPolicy();
// 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/loader/resource_dispatcher_host_impl.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698