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

Unified Diff: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h

Issue 2500383002: CSP: Fire 'securitypolicyviolation' events in Workers. (Closed)
Patch Set: Feedback. Created 4 years, 1 month 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/csp/ContentSecurityPolicy.h
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
index 87ee339795f85923cf494622f90bf4d8ea47296d..a8f8033d1b6fb05fd33dcbbe62904f64fcba8825 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -386,8 +386,10 @@ class CORE_EXPORT ContentSecurityPolicy
bool shouldSendViolationReport(const String&) const;
void didSendViolationReport(const String&);
void dispatchViolationEvents(const SecurityPolicyViolationEventInit&,
- Element*,
- Document*);
+ Element*);
+ void postViolationReport(const SecurityPolicyViolationEventInit&,
+ LocalFrame*,
+ const Vector<String>& reportEndpoints);
Member<ExecutionContext> m_executionContext;
bool m_overrideInlineStyleAllowed;

Powered by Google App Engine
This is Rietveld 408576698