diff options
Diffstat (limited to 'net/socket/transport_client_socket_pool.h')
-rw-r--r-- | net/socket/transport_client_socket_pool.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/net/socket/transport_client_socket_pool.h b/net/socket/transport_client_socket_pool.h index ef3f6fa..fc9ee22 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; |