Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: net/base/host_port_pair.h

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_EXPORT to *PortOnAddressList. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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().

Powered by Google App Engine
This is Rietveld 408576698