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

Unified Diff: chrome/common/service_process_util_unittest.cc

Issue 9233018: Convert use of int ms to TimeDelta in files owned by brettw. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 11 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 | « chrome/common/profiling.cc ('k') | chrome/common/worker_thread_ticker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: 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 c402fb6731b1337f2f5f2e341dfe483ef06d67e3..c0516b9d0879482b4dcc8705605f381db315b5e8 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);
@@ -275,7 +275,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(); }
« no previous file with comments | « chrome/common/profiling.cc ('k') | chrome/common/worker_thread_ticker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698