| 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..b049bf6c87966def6e30c4eb3fb72696f106021d 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPSource.h
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.h
|
| @@ -35,10 +35,11 @@ class CORE_EXPORT CSPSource : public GarbageCollectedFinalized<CSPSource> {
|
| DECLARE_TRACE();
|
|
|
| private:
|
| - bool schemeMatches(const KURL&) const;
|
| - bool hostMatches(const KURL&) const;
|
| - bool pathMatches(const KURL&) const;
|
| - bool portMatches(const KURL&) const;
|
| + bool schemeMatches(const String&) const;
|
| + bool hostMatches(const String&) const;
|
| + bool pathMatches(const String&) const;
|
| + // Protocol is necessary to determine default port if it is zero.
|
| + bool portMatches(int port, const String& protocol) const;
|
| bool isSchemeOnly() const;
|
|
|
| Member<ContentSecurityPolicy> m_policy;
|
|
|