Lines Matching defs:host_port_pair
69 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair)
70 : scheme_(scheme), host_port_pair_(host_port_pair) {
72 // |host_port_pair| isn't relevant for these special schemes, so none should
75 DCHECK(host_port_pair.Equals(HostPortPair()));
80 const HostPortPair& ProxyServer::host_port_pair() const {
124 return host_port_pair().ToString();
126 return std::string("socks4://") + host_port_pair().ToString();
128 return std::string("socks5://") + host_port_pair().ToString();
130 return std::string("https://") + host_port_pair().ToString();
132 return std::string("quic://") + host_port_pair().ToString();
175 return std::string("PROXY ") + host_port_pair().ToString();
178 return std::string("SOCKS ") + host_port_pair().ToString();
180 return std::string("SOCKS5 ") + host_port_pair().ToString();
182 return std::string("HTTPS ") + host_port_pair().ToString();
184 return std::string("QUIC ") + host_port_pair().ToString();
227 HostPortPair host_port_pair;
241 host_port_pair = HostPortPair(host, port);
244 return ProxyServer(scheme, host_port_pair);