Lines Matching refs:url
27 virtual bool Matches(const GURL& url) const {
28 if (optional_port_ != -1 && url.EffectiveIntPort() != optional_port_)
31 if (!optional_scheme_.empty() && url.scheme() != optional_scheme_)
36 return MatchPattern(StringToLowerASCII(url.host()), hostname_pattern_);
63 virtual bool Matches(const GURL& url) const {
64 const std::string& host = url.host();
79 // Rule for matching a URL that is an IP address, if that IP address falls
95 virtual bool Matches(const GURL& url) const {
96 if (!url.HostIsIPAddress())
99 if (!optional_scheme_.empty() && url.scheme() != optional_scheme_)
104 if (!ParseIPLiteralToNumber(url.HostNoBrackets(), &ip_number))
169 bool ProxyBypassRules::Matches(const GURL& url) const {
171 if ((*it)->Matches(url))