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..bd4dc4298f45d4529bcf5de551d16bbe48028940 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
@@ -48,6 +48,8 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective { |
private: |
FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, GetIntersectCSPSources); |
+ FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, |
+ GetIntersectCSPSourcesSchemes); |
bool parseSource(const UChar* begin, |
const UChar* end, |
@@ -86,6 +88,8 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective { |
bool hasSourceMatchInList(const KURL&, ResourceRequest::RedirectStatus) const; |
HeapVector<Member<CSPSource>> getIntersectCSPSources( |
HeapVector<Member<CSPSource>> other); |
+ HashMap<String, CSPSource*> getIntersectSchemesOnly( |
+ HeapVector<Member<CSPSource>> other); |
Member<ContentSecurityPolicy> m_policy; |
HeapVector<Member<CSPSource>> m_list; |