| 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 ecfe5353f44b0de925d873ef2c2eb37c696d3816..dcbb202f23dcd11d83816b1d069a2a5987b24470 100644
|
| --- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -1039,4 +1039,17 @@ LinkResource* FrameLoaderClientImpl::createServiceWorkerLinkResource(HTMLLinkEle
|
| return ServiceWorkerLinkResource::create(owner);
|
| }
|
|
|
| +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));
|
| + }
|
| +}
|
| +
|
| } // namespace blink
|
|
|