Chromium Code Reviews| 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..f8e113526bd0af28ca312c44a483fc26d97c7ab7 100644 |
| --- a/net/base/host_port_pair.h |
| +++ b/net/base/host_port_pair.h |
| @@ -15,6 +15,8 @@ class GURL; |
| namespace net { |
| +class IPEndPoint; |
| + |
| class NET_EXPORT HostPortPair { |
| public: |
| HostPortPair(); |
| @@ -25,7 +27,7 @@ class NET_EXPORT HostPortPair { |
| static HostPortPair FromURL(const GURL& url); |
| // Creates a HostPortPair from an addrinfo struct. |
|
eroman
2012/05/04 01:08:41
Update the comment.
|
| - static HostPortPair FromAddrInfo(const struct addrinfo* ai); |
| + static HostPortPair FromIPEndPoint(const IPEndPoint& ipe); |
| // Creates a HostPortPair from a string formatted in same manner as |
| // ToString(). |