Lines Matching defs:HostPortPair
18 class NET_EXPORT HostPortPair {
20 HostPortPair();
22 HostPortPair(const std::string& in_host, uint16 in_port);
24 // Creates a HostPortPair for the origin of |url|.
25 static HostPortPair FromURL(const GURL& url);
27 // Creates a HostPortPair from an IPEndPoint.
28 static HostPortPair FromIPEndPoint(const IPEndPoint& ipe);
30 // Creates a HostPortPair from a string formatted in same manner as
32 static HostPortPair FromString(const std::string& str);
36 bool operator<(const HostPortPair& other) const {
43 bool Equals(const HostPortPair& other) const {
67 // ToString() will convert the HostPortPair to "host:port". If |host_| is an