| Index: net/base/host_port_pair.h
|
| diff --git a/net/base/host_port_pair.h b/net/base/host_port_pair.h
|
| index 1288a44340d921c2006ff16533fd337926fe0190..df22768fa66409751c2595d9e1891c581b0b340b 100644
|
| --- a/net/base/host_port_pair.h
|
| +++ b/net/base/host_port_pair.h
|
| @@ -10,11 +10,12 @@
|
| #include "base/basictypes.h"
|
| #include "net/base/net_export.h"
|
|
|
| -struct addrinfo;
|
| class GURL;
|
|
|
| namespace net {
|
|
|
| +class IPEndPoint;
|
| +
|
| class NET_EXPORT HostPortPair {
|
| public:
|
| HostPortPair();
|
| @@ -24,8 +25,8 @@ class NET_EXPORT HostPortPair {
|
| // Creates a HostPortPair for the origin of |url|.
|
| static HostPortPair FromURL(const GURL& url);
|
|
|
| - // Creates a HostPortPair from an addrinfo struct.
|
| - static HostPortPair FromAddrInfo(const struct addrinfo* ai);
|
| + // Creates a HostPortPair from an IPEndPoint.
|
| + static HostPortPair FromIPEndPoint(const IPEndPoint& ipe);
|
|
|
| // Creates a HostPortPair from a string formatted in same manner as
|
| // ToString().
|
|
|