Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
index 1743ea5afd355906c6c56ec478292bd55b6ad62f..4deb1bd1b542aa68c79317183f9a56edd8d63233 100644 |
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
@@ -936,6 +936,19 @@ void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag |
m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); |
} |
+void FrameLoaderClientImpl::didAddContentSecurityPolicy( |
+ const String& headerValue, |
+ ContentSecurityPolicyHeaderType type, |
+ ContentSecurityPolicyHeaderSource source) |
+{ |
+ if (m_webFrame->client()) { |
+ m_webFrame->client()->didAddContentSecurityPolicy( |
+ headerValue, |
+ static_cast<WebContentSecurityPolicyType>(type), |
+ static_cast<WebContentSecurityPolicySource>(source)); |
+ } |
+} |
+ |
void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase* frameElement) |
{ |
if (!m_webFrame->client()) |