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

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: 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
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 f3d73282c0f3f419038b372b518aa810bf6d572a..eba0d074afe52bdb97a0a253eb2e44b7500ed4a6 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -665,7 +665,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