Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/csp/CSPSource.h |
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSource.h b/third_party/WebKit/Source/core/frame/csp/CSPSource.h |
| index d7295244feed27c8b4ac7bf5a0e9e0c5100e549c..39c289a12e48fc05c5d6c083b25e3bdb836e274f 100644 |
| --- a/third_party/WebKit/Source/core/frame/csp/CSPSource.h |
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.h |
| @@ -41,6 +41,11 @@ class CORE_EXPORT CSPSource : public GarbageCollectedFinalized<CSPSource> { |
| bool portMatches(const KURL&) const; |
| bool isSchemeOnly() const; |
| + bool schemeMatches(const String&) const; |
| + bool hostMatches(const String&) const; |
| + bool pathMatches(const String&) const; |
| + bool portMatches(int, const String&) const; |
|
Mike West
2016/10/26 12:25:16
I think we can actually just remove the KURL varia
|
| + |
| Member<ContentSecurityPolicy> m_policy; |
| String m_scheme; |
| String m_host; |