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

Unified Diff: chrome/common/service_process_util_unittest.cc

Issue 9215005: Revert 117824 - Convert use of int ms to TimeDelta in files owned by brettw. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/service_process_util_linux.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
===================================================================
--- chrome/common/service_process_util_unittest.cc (revision 117824)
+++ chrome/common/service_process_util_unittest.cc (working copy)
@@ -185,7 +185,7 @@
true);
ASSERT_TRUE(handle);
for (int i = 0; !CheckServiceProcessReady() && i < 10; ++i) {
- base::PlatformThread::Sleep(TestTimeouts::tiny_timeout());
+ base::PlatformThread::Sleep(TestTimeouts::tiny_timeout_ms());
}
ASSERT_TRUE(CheckServiceProcessReady());
std::string version;
@@ -228,7 +228,7 @@
MessageLoop::current())));
message_loop.PostDelayedTask(FROM_HERE,
MessageLoop::QuitClosure(),
- TestTimeouts::action_max_timeout());
+ TestTimeouts::action_max_timeout_ms());
EXPECT_FALSE(g_good_shutdown);
message_loop.Run();
EXPECT_TRUE(g_good_shutdown);
@@ -274,7 +274,7 @@
base::Closure()));
loop_.PostDelayedTask(FROM_HERE,
MessageLoop::QuitClosure(),
- TestTimeouts::action_max_timeout());
+ TestTimeouts::action_max_timeout_ms());
}
const MockLaunchd* mock_launchd() const { return mock_launchd_.get(); }
« no previous file with comments | « chrome/common/service_process_util_linux.cc ('k') | chrome/common/worker_thread_ticker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698