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

Unified Diff: net/socket/transport_client_socket_pool.h

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get_canonical_name -> canonical_name. iterator to indexing Created 8 years, 7 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
« no previous file with comments | « net/socket/tcp_server_socket_win.cc ('k') | net/socket/transport_client_socket_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/transport_client_socket_pool.h
diff --git a/net/socket/transport_client_socket_pool.h b/net/socket/transport_client_socket_pool.h
index ef3f6fa179dc14a6f38288650fa10c6f556484e0..fc9ee220c277426ecec09c251f293af16b6b35d7 100644
--- a/net/socket/transport_client_socket_pool.h
+++ b/net/socket/transport_client_socket_pool.h
@@ -69,12 +69,9 @@ class NET_EXPORT_PRIVATE TransportConnectJob : public ConnectJob {
// ConnectJob methods.
virtual LoadState GetLoadState() const OVERRIDE;
- // Makes |addrlist| start with an IPv4 address if |addrlist| contains any
- // IPv4 address.
- //
- // WARNING: this method should only be used to implement the prefer-IPv4
- // hack. It is a public method for the unit tests.
- static void MakeAddrListStartWithIPv4(AddressList* addrlist);
+ // Rolls |addrlist| forward until the first IPv4 address, if any.
+ // WARNING: this method should only be used to implement the prefer-IPv4 hack.
+ static void MakeAddressListStartWithIPv4(AddressList* addrlist);
static const int kIPv6FallbackTimerInMs;
« no previous file with comments | « net/socket/tcp_server_socket_win.cc ('k') | net/socket/transport_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698