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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: Nit. Created 3 years, 9 months 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 65660d54bf1f650b4a7a27bc1dd742f66c3a30c0..2073a1a677d6046e4a72967d677d3789ab4878ad 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -527,11 +527,8 @@ class CONTENT_EXPORT RenderFrameImpl
blink::WebSandboxFlags flags) override;
void didSetFeaturePolicyHeader(
const blink::WebParsedFeaturePolicy& parsed_header) override;
- void didAddContentSecurityPolicy(
- const blink::WebString& header_value,
- blink::WebContentSecurityPolicyType type,
- blink::WebContentSecurityPolicySource source,
- const std::vector<blink::WebContentSecurityPolicyPolicy>&) override;
+ void didAddContentSecurityPolicies(
+ const blink::WebVector<blink::WebContentSecurityPolicyPolicy>&) override;
void didChangeFrameOwnerProperties(
blink::WebFrame* child_frame,
const blink::WebFrameOwnerProperties& frame_owner_properties) override;

Powered by Google App Engine
This is Rietveld 408576698