| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index 8e6dff68f781c09c66bcc9e570dea23f4e085ae7..4cc992cd3c2d59f789b43bf7a76da60f68139950 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -59,6 +59,7 @@
|
| #include "content/common/accessibility_messages.h"
|
| #include "content/common/associated_interface_provider_impl.h"
|
| #include "content/common/associated_interfaces.mojom.h"
|
| +#include "content/common/content_security_policy/csp_policy.h"
|
| #include "content/common/frame_messages.h"
|
| #include "content/common/frame_owner_properties.h"
|
| #include "content/common/input_messages.h"
|
| @@ -1855,8 +1856,9 @@ void RenderFrameHostImpl::OnDidSetFeaturePolicyHeader(
|
| }
|
|
|
| void RenderFrameHostImpl::OnDidAddContentSecurityPolicy(
|
| - const ContentSecurityPolicyHeader& header) {
|
| - frame_tree_node()->AddContentSecurityPolicy(header);
|
| + const ContentSecurityPolicyHeader& header,
|
| + const std::vector<CSPPolicy>& policies) {
|
| + frame_tree_node()->AddContentSecurityPolicy(header, policies);
|
| }
|
|
|
| void RenderFrameHostImpl::OnEnforceInsecureRequestPolicy(
|
|
|