Home | History | Annotate | Download | only in proxy

Lines Matching refs:host_port_pair

74 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair)
75 : scheme_(scheme), host_port_pair_(host_port_pair) {
77 // |host_port_pair| isn't relevant for these special schemes, so none should
80 DCHECK(host_port_pair.Equals(HostPortPair()));
85 const HostPortPair& ProxyServer::host_port_pair() const {
128 return host_port_pair().ToString();
130 return std::string("socks4://") + host_port_pair().ToString();
132 return std::string("socks5://") + host_port_pair().ToString();
134 return std::string("https://") + host_port_pair().ToString();
177 return std::string("PROXY ") + host_port_pair().ToString();
180 return std::string("SOCKS ") + host_port_pair().ToString();
182 return std::string("SOCKS5 ") + host_port_pair().ToString();
184 return std::string("HTTPS ") + host_port_pair().ToString();
224 HostPortPair host_port_pair;
238 host_port_pair = HostPortPair(HostNoBrackets(host), port);
241 return ProxyServer(scheme, host_port_pair);