Lines Matching refs:host_port_pair
74 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair) in ProxyServer() argument
75 : scheme_(scheme), host_port_pair_(host_port_pair) { in ProxyServer()
80 DCHECK(host_port_pair.Equals(HostPortPair())); in ProxyServer()
85 const HostPortPair& ProxyServer::host_port_pair() const { in host_port_pair() function in net::ProxyServer
128 return host_port_pair().ToString(); in ToURI()
130 return std::string("socks4://") + host_port_pair().ToString(); in ToURI()
132 return std::string("socks5://") + host_port_pair().ToString(); in ToURI()
134 return std::string("https://") + host_port_pair().ToString(); in ToURI()
177 return std::string("PROXY ") + host_port_pair().ToString(); in ToPacString()
180 return std::string("SOCKS ") + host_port_pair().ToString(); in ToPacString()
182 return std::string("SOCKS5 ") + host_port_pair().ToString(); in ToPacString()
184 return std::string("HTTPS ") + host_port_pair().ToString(); in ToPacString()
224 HostPortPair host_port_pair; in FromSchemeHostAndPort() local
238 host_port_pair = HostPortPair(HostNoBrackets(host), port); in FromSchemeHostAndPort()
241 return ProxyServer(scheme, host_port_pair); in FromSchemeHostAndPort()