Index: content/browser/frame_host/frame_tree_node.h |
diff --git a/content/browser/frame_host/frame_tree_node.h b/content/browser/frame_host/frame_tree_node.h |
index bf15e2f4c32ba34482d54a0191e36e61b8bfe3f1..ac0ca5f2fc89cc9e3f208cc73aff963388f44219 100644 |
--- a/content/browser/frame_host/frame_tree_node.h |
+++ b/content/browser/frame_host/frame_tree_node.h |
@@ -157,6 +157,11 @@ class CONTENT_EXPORT FrameTreeNode { |
// new document comes with a fresh set of CSP http headers). |
void ResetContentSecurityPolicy(); |
+ // Checks if the current Content Security Policy contains |
+ // |header_value_to_find|. |
+ bool ContainsContentSecurityPolicyHeader( |
+ const std::string& header_value_to_find); |
+ |
// Sets the current insecure request policy, and notifies proxies about the |
// update. |
void SetInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |