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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrameClient.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/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 23adffcb1afe6d2f0356b99dc7e002f865bd51ed..3079e8421ec42f1b359dc406746c1e1e05b8c726 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.
alexmos 2017/03/25 01:46:27 nit: update this comment to say a set of new polic
arthursonzogni 2017/03/27 12:03:52 Done.
// 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