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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.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: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 9ea3567f6cf252a6640322ce5b59778d50cdd945..8349ec0153229ceea225d1c5872cc671258f2f64 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -235,11 +235,8 @@ class BLINK_EXPORT WebFrameClient {
// document. This can be triggered by handling of HTTP headers, handling
// of <meta> element, or by inheriting CSP from the parent (in case of
// about:blank).
- virtual void didAddContentSecurityPolicy(
- const WebString& headerValue,
- WebContentSecurityPolicyType type,
- WebContentSecurityPolicySource source,
- const std::vector<WebContentSecurityPolicyPolicy>& policies) {}
+ virtual void didAddContentSecurityPolicies(
+ const WebVector<WebContentSecurityPolicyPolicy>& policies) {}
// Some frame owner properties have changed for a child frame of this frame.
// Frame owner properties currently include: scrolling, marginwidth and

Powered by Google App Engine
This is Rietveld 408576698