diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 15:41:43 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 15:41:43 +0000 |
commit | 0f2e45ec2650ebd32037ca109f1876ed85ce1fd5 (patch) | |
tree | 0e289579bccf4d39273e60010eeed8699fa00bd8 /ipc/sync_socket_unittest.cc | |
parent | b80ffe2725c3d5ca17d21e3743c06689bca46935 (diff) | |
download | chromium_src-0f2e45ec2650ebd32037ca109f1876ed85ce1fd5.zip chromium_src-0f2e45ec2650ebd32037ca109f1876ed85ce1fd5.tar.gz chromium_src-0f2e45ec2650ebd32037ca109f1876ed85ce1fd5.tar.bz2 |
Switch to TimeDelta interfaces for process waiting functions in net and ipc.
R=agl@chromium.org
BUG=108171
Review URL: https://chromiumcodereview.appspot.com/10692155
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146124 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/sync_socket_unittest.cc')
-rw-r--r-- | ipc/sync_socket_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/sync_socket_unittest.cc b/ipc/sync_socket_unittest.cc index 40367cf..69a2dca 100644 --- a/ipc/sync_socket_unittest.cc +++ b/ipc/sync_socket_unittest.cc @@ -203,7 +203,8 @@ TEST_F(SyncSocketTest, SanityTest) { // Shut down. pair[0].Close(); pair[1].Close(); - EXPECT_TRUE(base::WaitForSingleProcess(server_process, 5000)); + EXPECT_TRUE(base::WaitForSingleProcess( + server_process, base::TimeDelta::FromSeconds(5))); base::CloseProcessHandle(server_process); } |