| Index: content/browser/frame_host/frame_tree_node.cc
|
| diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc
|
| index 655c46092ccd43acb579fd8813a123639ebb8f1f..946cbde9f8831e4e9f9b84f905d45ffa40aa57dc 100644
|
| --- a/content/browser/frame_host/frame_tree_node.cc
|
| +++ b/content/browser/frame_host/frame_tree_node.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/profiler/scoped_tracker.h"
|
| #include "base/stl_util.h"
|
| +#include "content/browser/frame_host/csp_context_impl.h"
|
| #include "content/browser/frame_host/frame_tree.h"
|
| #include "content/browser/frame_host/navigation_request.h"
|
| #include "content/browser/frame_host/navigator.h"
|
| @@ -291,17 +292,14 @@ void FrameTreeNode::ResetFeaturePolicyHeader() {
|
| }
|
|
|
| void FrameTreeNode::AddContentSecurityPolicy(
|
| - const ContentSecurityPolicyHeader& header,
|
| - const std::vector<ContentSecurityPolicy>& policies) {
|
| + const ContentSecurityPolicyHeader& header) {
|
| replication_state_.accumulated_csp_headers.push_back(header);
|
| render_manager_.OnDidAddContentSecurityPolicy(header);
|
| - csp_policies_.insert(csp_policies_.end(), policies.begin(), policies.end());
|
| }
|
|
|
| void FrameTreeNode::ResetContentSecurityPolicy() {
|
| replication_state_.accumulated_csp_headers.clear();
|
| render_manager_.OnDidResetContentSecurityPolicy();
|
| - csp_policies_.clear();
|
| }
|
|
|
| void FrameTreeNode::SetInsecureRequestPolicy(
|
|
|