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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Addressed all jam@ latest comments. Created 3 years, 11 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/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index de9efa92419f7285987d17b389ff222eda3407ed..9c444531a4796bbbeb6110f31576753d26f68dd8 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -586,6 +586,9 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
GetFetchRedirectModeForWebURLRequest(request);
resource_request->fetch_request_context_type =
GetRequestContextTypeForWebURLRequest(request);
+ resource_request->fetch_mixed_content_context_type =
+ GetMixedContentContextTypeForWebURLRequest(request);
+
resource_request->fetch_frame_type =
GetRequestContextFrameTypeForWebURLRequest(request);
resource_request->request_body =

Powered by Google App Engine
This is Rietveld 408576698