| Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
|
| index 667724a324a4bd33677d1a23a1e1315aa2eea41b..3c2fca38fee4aa742bc0995966ea4e0c754c21e4 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
|
| @@ -39,6 +39,14 @@ class CORE_EXPORT CSPDirectiveList
|
|
|
| void Parse(const UChar* begin, const UChar* end);
|
|
|
| + static bool IsValid(const UChar* begin,
|
| + const UChar* end,
|
| + ContentSecurityPolicyHeaderType,
|
| + ContentSecurityPolicyHeaderSource);
|
| + static bool IsValid(const String& directive_list,
|
| + ContentSecurityPolicyHeaderType,
|
| + ContentSecurityPolicyHeaderSource);
|
| +
|
| const String& Header() const { return header_; }
|
| ContentSecurityPolicyHeaderType HeaderType() const { return header_type_; }
|
| ContentSecurityPolicyHeaderSource HeaderSource() const {
|
|
|