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

Unified Diff: content/browser/frame_host/navigation_request.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/browser/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index 69a03030fead12e996529949a67250750f4ffd52..9ac2d60c603ff9116002f3182991dd5305d3aa53 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -188,8 +188,10 @@ NavigationRequest::NavigationRequest(
false : frame_tree_node->parent()->IsMainFrame();
info_.reset(new NavigationRequestInfo(
common_params, begin_params, first_party_for_cookies,
- frame_tree_node->current_origin(), frame_tree_node->IsMainFrame(),
- parent_is_main_frame, frame_tree_node->frame_tree_node_id()));
+ frame_tree_node->current_origin(),
+ frame_tree_node->upgrades_insecure_requests(),
+ frame_tree_node->IsMainFrame(), parent_is_main_frame,
+ frame_tree_node->frame_tree_node_id()));
}
NavigationRequest::~NavigationRequest() {

Powered by Google App Engine
This is Rietveld 408576698