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

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

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… Created 4 years 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/render_frame_host_impl.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 d4d00597cd05957af9c5facf5975ce7f30e68efe..a67de695a205b85c456d5c8f63254140222ec10f 100644
--- a/content/browser/frame_host/frame_tree_node.cc
+++ b/content/browser/frame_host/frame_tree_node.cc
@@ -255,8 +255,9 @@ void FrameTreeNode::SetFrameName(const std::string& name,
replication_state_.unique_name = unique_name;
}
-void FrameTreeNode::SetFeaturePolicyHeader(const std::string& header) {
- replication_state_.feature_policy_header = header;
+void FrameTreeNode::SetFeaturePolicyHeader(
+ const ParsedFeaturePolicy& parsed_header) {
+ replication_state_.feature_policy_header = parsed_header;
}
void FrameTreeNode::ResetFeaturePolicy() {
« no previous file with comments | « content/browser/frame_host/frame_tree_node.h ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698