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..ff48ed95b27e3ff5be8be5224476ab7c4fa340c1 100644 |
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
@@ -1039,4 +1039,14 @@ LinkResource* FrameLoaderClientImpl::createServiceWorkerLinkResource(HTMLLinkEle |
return ServiceWorkerLinkResource::create(owner); |
} |
+void FrameLoaderClientImpl::didAddContentSecurityPolicy( |
+ const String& headerValue, |
+ ContentSecurityPolicyHeaderType type, |
+ ContentSecurityPolicyHeaderSource source) { |
dcheng
2016/05/11 20:15:07
I'm surprised check-webkit-style didn't complain,
Łukasz Anforowicz
2016/05/11 23:14:48
Done.
|
+ m_webFrame->client()->didAddContentSecurityPolicy( |
alexmos
2016/05/11 19:46:41
Do you need to check for !m_webFrame->client(), si
Łukasz Anforowicz
2016/05/11 23:14:48
Done.
|
+ headerValue, |
+ static_cast<WebContentSecurityPolicyType>(type), |
+ static_cast<WebContentSecurityPolicySource>(source)); |
+} |
+ |
} // namespace blink |