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

Unified Diff: content/browser/frame_host/frame_tree_node.h

Issue 2483703002: Replicate feature policy headers to remote frames (Closed)
Patch Set: Get replication actually working; add layout tests Created 4 years, 1 month 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 | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | content/renderer/render_frame_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/frame_tree_node.h
diff --git a/content/browser/frame_host/frame_tree_node.h b/content/browser/frame_host/frame_tree_node.h
index bf15e2f4c32ba34482d54a0191e36e61b8bfe3f1..1ce35db50a653ac0c2d28e9f82bc1e5e1dc5b3f2 100644
--- a/content/browser/frame_host/frame_tree_node.h
+++ b/content/browser/frame_host/frame_tree_node.h
@@ -149,6 +149,10 @@ class CONTENT_EXPORT FrameTreeNode {
// Set the current name and notify proxies about the update.
void SetFrameName(const std::string& name, const std::string& unique_name);
+ // Set the frame's feature policy, clearing any existing policy after
+ // navigation.
+ void SetFeaturePolicyHeader(const std::string& header);
+
// Add CSP header to replication state and notify proxies about the update.
void AddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | content/renderer/render_frame_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698