From 14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b Mon Sep 17 00:00:00 2001 From: "tedvessenes@gmail.com" <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> Date: Mon, 16 Jan 2012 01:46:26 +0000 Subject: Convert use of int ms to TimeDelta in files owned by brettw. R=brettw@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9185026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117824 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/service_process_util_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/common/service_process_util_unittest.cc') diff --git a/chrome/common/service_process_util_unittest.cc b/chrome/common/service_process_util_unittest.cc index 5de195d..c8f5677 100644 --- a/chrome/common/service_process_util_unittest.cc +++ b/chrome/common/service_process_util_unittest.cc @@ -185,7 +185,7 @@ TEST_F(ServiceProcessStateTest, MAYBE_ForceShutdown) { true); ASSERT_TRUE(handle); for (int i = 0; !CheckServiceProcessReady() && i < 10; ++i) { - base::PlatformThread::Sleep(TestTimeouts::tiny_timeout_ms()); + base::PlatformThread::Sleep(TestTimeouts::tiny_timeout()); } ASSERT_TRUE(CheckServiceProcessReady()); std::string version; @@ -228,7 +228,7 @@ MULTIPROCESS_TEST_MAIN(ServiceProcessStateTestShutdown) { MessageLoop::current()))); message_loop.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), - TestTimeouts::action_max_timeout_ms()); + TestTimeouts::action_max_timeout()); EXPECT_FALSE(g_good_shutdown); message_loop.Run(); EXPECT_TRUE(g_good_shutdown); @@ -274,7 +274,7 @@ class ServiceProcessStateFileManipulationTest : public ::testing::Test { base::Closure())); loop_.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), - TestTimeouts::action_max_timeout_ms()); + TestTimeouts::action_max_timeout()); } const MockLaunchd* mock_launchd() const { return mock_launchd_.get(); } -- cgit v1.1