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 6c6d5df389489f221674a92b0b48928c40b2373f..3c6b29535fb48c35ff261433ed1b2a32fb5ff4ce 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h |
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h |
@@ -64,6 +64,7 @@ public: |
bool allowStyleNonce(const String&) const; |
bool allowScriptHash(const CSPHashValue&) const; |
bool allowStyleHash(const CSPHashValue&) const; |
+ bool allowDynamic() const; |
const String& evalDisabledErrorMessage() const { return m_evalDisabledErrorMessage; } |
ReflectedXSSDisposition reflectedXSSDisposition() const { return m_reflectedXSSDisposition; } |
@@ -107,6 +108,7 @@ private: |
bool checkEval(SourceListDirective*) const; |
bool checkInline(SourceListDirective*) const; |
+ bool checkDynamic(SourceListDirective*) const; |
bool checkNonce(SourceListDirective*, const String&) const; |
bool checkHash(SourceListDirective*, const CSPHashValue&) const; |
bool checkSource(SourceListDirective*, const KURL&, ContentSecurityPolicy::RedirectStatus) const; |