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

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

Issue 2483703002: Replicate feature policy headers to remote frames (Closed)
Patch Set: 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
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..f87a534b223cc9b4568d87b18ba5e4e681ce4d89 100644
--- a/content/browser/frame_host/frame_tree_node.h
+++ b/content/browser/frame_host/frame_tree_node.h
@@ -149,6 +149,9 @@ 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);
+ void AddFeaturePolicyHeader(const std::string& header);
+ void ResetFeaturePolicy();
+
// 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/common/frame_replication_state.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698