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

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

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Fp2 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 77a0df9451ef0146cd1494fd0d1b10fda8474cab..6b2529c10b86823a494d63881afab6e1ba48fcb8 100644
--- a/content/browser/frame_host/frame_tree_node.h
+++ b/content/browser/frame_host/frame_tree_node.h
@@ -151,7 +151,8 @@ class CONTENT_EXPORT FrameTreeNode {
// Set the frame's feature policy from an HTTP header, clearing any existing
// policy.
- void SetFeaturePolicyHeader(const std::string& header);
+ void SetFeaturePolicyHeader(
+ const std::vector<FeaturePolicyParsedWhitelist>& parsed_header);
// Clear any feature policy associated with the frame.
void ResetFeaturePolicy();
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | content/browser/site_per_process_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698