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 c9b091b10652602be32af0409230dd9f45a46b5f..39ed351acd26e22eacc8335f3b21f6c3d8e80e33 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
@@ -245,6 +245,10 @@ public: |
// on the floor if no such context is available). |
void reportViolation(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, const Vector<String>& reportEndpoints, const String& header, ViolationType, LocalFrame* = nullptr); |
+ // Called when mixed content is detected on a page; will trigger a violation report if |
+ // the 'block-all-mixed-content' directive is specified for a policy. |
+ void reportMixedContent(const KURL& mixedURL); |
+ |
void reportBlockedScriptExecutionToInspector(const String& directiveText) const; |
const KURL url() const; |