Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
index f0676e3db15d73b1ab85081f91b57273ccbd5e7c..8c29560f039453cc67d5895fa9ab1175f00f3a7e 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
@@ -918,6 +918,12 @@ void ContentSecurityPolicy::reportViolation(const String& directiveText, const S |
didSendViolationReport(stringifiedReport); |
} |
+void ContentSecurityPolicy::reportMixedContent(const KURL& mixedURL) |
+{ |
+ for (const auto& policy : m_policies) |
+ policy->reportMixedContent(mixedURL); |
+} |
+ |
void ContentSecurityPolicy::reportInvalidReferrer(const String& invalidValue) |
{ |
logToConsole("The 'referrer' Content Security Policy directive has the invalid value \"" + invalidValue + "\". Valid values are \"no-referrer\", \"no-referrer-when-downgrade\", \"origin\", \"origin-when-cross-origin\", and \"unsafe-url\"."); |