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 71b01c8aaf560a5c8ef420f5fb029ad373eaff51..8c354ed4c90d5d0a7fc84b78aa16ef4dd04af827 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
@@ -915,6 +915,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\"."); |