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

Unified Diff: content/browser/frame_host/frame_tree_node.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/frame_host/frame_tree_node.h ('k') | content/browser/frame_host/navigation_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/frame_tree_node.cc
diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc
index 9fcb48b80b71b36f76b718ecfada7dbba0f37746..ae4174256602bfee03c22184dd15288c31c75db9 100644
--- a/content/browser/frame_host/frame_tree_node.cc
+++ b/content/browser/frame_host/frame_tree_node.cc
@@ -267,6 +267,11 @@ void FrameTreeNode::SetInsecureRequestPolicy(
replication_state_.insecure_request_policy = policy;
}
+blink::WebInsecureRequestPolicy FrameTreeNode::GetInsecureRequestPolicy()
+ const {
+ return replication_state_.insecure_request_policy;
+}
+
void FrameTreeNode::SetPendingSandboxFlags(
blink::WebSandboxFlags sandbox_flags) {
pending_sandbox_flags_ = sandbox_flags;
« no previous file with comments | « content/browser/frame_host/frame_tree_node.h ('k') | content/browser/frame_host/navigation_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698