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

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: 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/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 127c0229fbef6ab533d8e208fad9befe6eb85a1b..52eb8d661d557999109341c302eb0c1034b7fff2 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -664,7 +664,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_header);
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