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

Unified Diff: content/browser/frame_host/render_frame_host_impl.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/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index da77b87507170c7dceec611f60ab35d0a2cc7017..a80587f15af50e0815bf84a7e3b22fd5999ab302 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -661,7 +661,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
void OnDidAccessInitialDocument();
void OnDidChangeOpener(int32_t opener_routing_id);
void OnDidChangeName(const std::string& name, const std::string& unique_name);
- void OnDidSetFeaturePolicyHeader(const std::string& header);
+ void OnDidSetFeaturePolicyHeader(
+ const std::vector<FeaturePolicyParsedWhitelist>& parsed_whitelists);
void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);

Powered by Google App Engine
This is Rietveld 408576698