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 701787120d6ce6863e0ea4672ceeeb46e037e361..4032e8e75cda676077a2fe916f42b5dac7f342b7 100644 |
--- a/content/browser/frame_host/frame_tree_node.h |
+++ b/content/browser/frame_host/frame_tree_node.h |
@@ -17,6 +17,7 @@ |
#include "content/browser/frame_host/render_frame_host_impl.h" |
#include "content/browser/frame_host/render_frame_host_manager.h" |
#include "content/common/content_export.h" |
+#include "content/common/feature_policy/feature_policy.h" |
#include "content/common/frame_owner_properties.h" |
#include "content/common/frame_replication_state.h" |
#include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
@@ -155,7 +156,7 @@ class CONTENT_EXPORT FrameTreeNode { |
// Set the frame's feature policy from an HTTP header, clearing any existing |
// policy. |
- void SetFeaturePolicyHeader(const ParsedFeaturePolicy& parsed_header); |
+ void SetFeaturePolicyHeader(const FeaturePolicyHeader& parsed_header); |
// Clear any feature policy associated with the frame. |
void ResetFeaturePolicy(); |
@@ -350,6 +351,8 @@ class CONTENT_EXPORT FrameTreeNode { |
// proxies for this frame. |
FrameReplicationState replication_state_; |
+ std::unique_ptr<FeaturePolicy> feature_policy_; |
+ |
// Track the pending sandbox flags for this frame. When a parent frame |
// dynamically updates sandbox flags in the <iframe> element for a child |
// frame, these updated flags are stored here and are transferred into |