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 cd01cb55202317704e3ce5af54632c2ce964ff27..c9a78360faf0f7f0c684f52ffdf9dc09c6202272 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
@@ -58,6 +58,7 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective { |
GetIntersectCSPSourcesSchemes); |
FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, GetIntersectNonces); |
FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, GetIntersectHashes); |
+ FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, GetSources); |
FRIEND_TEST_ALL_PREFIXES(CSPDirectiveListTest, GetSourceVector); |
FRIEND_TEST_ALL_PREFIXES(CSPDirectiveListTest, OperativeDirectiveGivenType); |
@@ -108,6 +109,7 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective { |
const HeapVector<Member<CSPSource>>& other) const; |
bool subsumesNoncesAndHashes(const HashSet<String>& nonces, |
const HashSet<CSPHashValue> hashes) const; |
+ HeapVector<Member<CSPSource>> getSources(Member<CSPSource>) const; |
Member<ContentSecurityPolicy> m_policy; |
HeapVector<Member<CSPSource>> m_list; |