Index: third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
diff --git a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
index cfa961b9d10d500a013e0b3ee76022da81189d8c..d4729d8cc1b84882d867f6d7ae41029e7a349a4e 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
@@ -45,6 +45,9 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective { |
bool allowHashedAttributes() const; |
bool isHashOrNoncePresent() const; |
uint8_t hashAlgorithmsUsed() const; |
+ // The algorothm is described more extensively here: |
+ // https://w3c.github.io/webappsec-csp/embedded/#subsume-source-list |
+ bool subsumes(HeapVector<Member<SourceListDirective>>); |
private: |
FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, GetIntersectCSPSources); |