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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrameClient.h

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: Group the IPC instead of splitting them. (browser -> renderer) 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/Source/core/frame/LocalFrameClient.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrameClient.h b/third_party/WebKit/Source/core/frame/LocalFrameClient.h
index edb133b463005f4839d270cda7cc6f6f4dadfd1d..1a47775b0bab6aa63c2747a473db6f1b2f00c283 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrameClient.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrameClient.h
@@ -280,11 +280,8 @@ class CORE_EXPORT LocalFrameClient : public FrameClient {
// Called when a new Content Security Policy is added to the frame's 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 String& headerValue,
- ContentSecurityPolicyHeaderType,
- ContentSecurityPolicyHeaderSource,
- const std::vector<WebContentSecurityPolicyPolicy>&) {}
+ virtual void didAddContentSecurityPolicies(
+ const blink::WebVector<WebContentSecurityPolicyPolicy>&) {}
virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {}

Powered by Google App Engine
This is Rietveld 408576698