Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPSource.h

Issue 2456493002: Splitting *Matches functions in CSPSource (Closed)
Patch Set: Removing KURL equivalents Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..8b4f56a8cd2dd52cc361c3fa09aca2de1441474c 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPSource.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.h
@@ -35,10 +35,10 @@ 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;
+ bool portMatches(int, const String&) const;
bool isSchemeOnly() const;
Member<ContentSecurityPolicy> m_policy;

Powered by Google App Engine
This is Rietveld 408576698