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

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

Issue 2655663004: Introduce content-side Feature Policy object and maintain in parallel with renderer policy. (Closed)
Patch Set: Addressing review comments Created 3 years, 10 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 | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('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.h
diff --git a/content/browser/frame_host/frame_tree_node.h b/content/browser/frame_host/frame_tree_node.h
index 2004107fe107d352a164d7bae5701d653cc734d7..64126c1e7aa696c6eb835b8216e7f7b70751d543 100644
--- a/content/browser/frame_host/frame_tree_node.h
+++ b/content/browser/frame_host/frame_tree_node.h
@@ -25,6 +25,7 @@
namespace content {
+class FeaturePolicy;
class FrameTree;
class NavigationRequest;
class Navigator;
@@ -352,6 +353,8 @@ class CONTENT_EXPORT FrameTreeNode {
// proxies for this frame.
FrameReplicationState replication_state_;
+ std::unique_ptr<FeaturePolicy> feature_policy_;
pfeldman 2017/02/03 18:04:26 I'd talk to someone from the site isolation team o
iclelland 2017/02/03 19:26:37 Thanks -- alexmos, do you have any idea whether th
alexmos 2017/02/03 22:37:16 I think it might make more sense to put this on th
iclelland 2017/02/06 18:32:33 Thanks, Alex, I appreciate the insight. I've moved
alexmos 2017/02/07 00:21:35 Yes, that sounds good to me.
+
// 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
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698