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

Unified Diff: content/browser/frame_host/navigation_request_info.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_info.cc
diff --git a/content/browser/frame_host/navigation_request_info.cc b/content/browser/frame_host/navigation_request_info.cc
index 6b01863fa1c2bf07ee179f5e35a9f93227e90c85..e7b252d5d8370459d82f75e852007af00a57063f 100644
--- a/content/browser/frame_host/navigation_request_info.cc
+++ b/content/browser/frame_host/navigation_request_info.cc
@@ -12,6 +12,7 @@ NavigationRequestInfo::NavigationRequestInfo(
const BeginNavigationParams& begin_params,
const GURL& first_party_for_cookies,
const url::Origin& request_initiator,
+ bool should_upgrade_to_secure_transport,
bool is_main_frame,
bool parent_is_main_frame,
int frame_tree_node_id)
@@ -19,6 +20,7 @@ NavigationRequestInfo::NavigationRequestInfo(
begin_params(begin_params),
first_party_for_cookies(first_party_for_cookies),
request_initiator(request_initiator),
+ should_upgrade_to_secure_transport(should_upgrade_to_secure_transport),
is_main_frame(is_main_frame),
parent_is_main_frame(parent_is_main_frame),
frame_tree_node_id(frame_tree_node_id) {}

Powered by Google App Engine
This is Rietveld 408576698