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

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: 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..a9740c1ba1bc9b38ffd94401e5957d49375b836d 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_whitelists);
// 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') | third_party/WebKit/public/platform/WebFeaturePolicy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698