Lines Matching refs:HostPortPair
17 class HostPortPair {
19 HostPortPair();
21 HostPortPair(const std::string& in_host, uint16 in_port);
23 // Creates a HostPortPair for the origin of |url|.
24 static HostPortPair FromURL(const GURL& url);
26 // Creates a HostPortPair from an addrinfo struct.
27 static HostPortPair FromAddrInfo(const struct addrinfo* ai);
31 bool operator<(const HostPortPair& other) const {
38 bool Equals(const HostPortPair& other) const {
58 // ToString() will convert the HostPortPair to "host:port". If |host_| is an