Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
index 5d0c7bfbefe330c0e72ffccf82066662ef06b67c..817dc1ef02660a8a4c3762127bc1a81d9baa96e4 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
@@ -432,6 +432,8 @@ class CORE_EXPORT ContentSecurityPolicy |
bool HasHeaderDeliveredPolicy() const { return header_delivered_; } |
+ static bool IsValidCSPAttr(const String& attr); |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(ContentSecurityPolicyTest, NonceInline); |
FRIEND_TEST_ALL_PREFIXES(ContentSecurityPolicyTest, NonceSinglePolicy); |