Index: net/socket/tcp_client_socket_pool_unittest.cc |
=================================================================== |
--- net/socket/tcp_client_socket_pool_unittest.cc (revision 70328) |
+++ net/socket/tcp_client_socket_pool_unittest.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include "base/callback.h" |
#include "base/compiler_specific.h" |
#include "base/message_loop.h" |
+#include "base/threading/platform_thread.h" |
#include "net/base/mock_host_resolver.h" |
#include "net/base/net_errors.h" |
#include "net/base/test_completion_callback.h" |
@@ -758,7 +759,7 @@ |
MessageLoop::current()->RunAllPending(); |
// Wait for the backup socket timer to fire. |
- PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs * 2); |
+ base::PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs * 2); |
// Let the appropriate socket connect. |
MessageLoop::current()->RunAllPending(); |
@@ -800,7 +801,7 @@ |
if (index == CANCEL_AFTER_WAIT) { |
// Wait for the backup socket timer to fire. |
- PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs); |
+ base::PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs); |
} |
// Let the appropriate socket connect. |
@@ -843,7 +844,7 @@ |
MessageLoop::current()->RunAllPending(); |
// Wait for the backup socket timer to fire. |
- PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs); |
+ base::PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs); |
// Let the second connect be synchronous. Otherwise, the emulated |
// host resolution takes an extra trip through the message loop. |
@@ -888,7 +889,7 @@ |
MessageLoop::current()->RunAllPending(); |
// Wait for the backup socket timer to fire. |
- PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs); |
+ base::PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs); |
// Let the second connect be synchronous. Otherwise, the emulated |
// host resolution takes an extra trip through the message loop. |