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 53ae94b360d112654b5bb874487d52a4a32bf299..4166240a86081d9285297153661d635aa0d43660 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h |
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h |
@@ -78,6 +78,7 @@ class CORE_EXPORT CSPDirectiveList |
bool allowScriptFromSource(const KURL&, |
const String& nonce, |
+ const IntegrityMetadataSet& hashes, |
ParserDisposition, |
ResourceRequest::RedirectStatus, |
SecurityViolationReportingPolicy) const; |
@@ -241,6 +242,8 @@ class CORE_EXPORT CSPDirectiveList |
bool checkEval(SourceListDirective*) const; |
bool checkDynamic(SourceListDirective*) const; |
bool isMatchingNoncePresent(SourceListDirective*, const String&) const; |
+ bool areAllMatchingHashesPresent(SourceListDirective*, |
+ const IntegrityMetadataSet&) const; |
bool checkHash(SourceListDirective*, const CSPHashValue&) const; |
bool checkHashedAttributes(SourceListDirective*) const; |
bool checkSource(SourceListDirective*, |