| 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 425680c9acde18c6058bbd4ef227ece2f08a5c86..fe5e42cd5be7a10e65249b045121752ab1ec6e19 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
|
| +++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
|
| @@ -11,6 +11,7 @@
|
| #include "platform/Crypto.h"
|
| #include "platform/network/ContentSecurityPolicyParsers.h"
|
| #include "platform/network/ResourceRequest.h"
|
| +#include "public/platform/WebContentSecurityPolicy.h"
|
| #include "wtf/HashSet.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -52,6 +53,9 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective {
|
| // https://w3c.github.io/webappsec-csp/embedded/#subsume-source-list
|
| bool subsumes(const HeapVector<Member<SourceListDirective>>&) const;
|
|
|
| + WebContentSecurityPolicySourceList expose() const;
|
| + String directiveName() const { return m_directiveName; }
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, GetIntersectCSPSources);
|
| FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest,
|
|
|