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

Unified Diff: dbus/test_service.cc

Issue 10735022: Switch to TimeDelta interface for TestTimeouts in dbus code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/test_service.cc
diff --git a/dbus/test_service.cc b/dbus/test_service.cc
index 986ebd6f92de8eb598090a31fdbcbd29546626a9..ee1befb630a3766c21cd86fa8d2de3f7873590ac 100644
--- a/dbus/test_service.cc
+++ b/dbus/test_service.cc
@@ -42,9 +42,7 @@ bool TestService::StartService() {
}
bool TestService::WaitUntilServiceIsStarted() {
- const base::TimeDelta timeout(
- base::TimeDelta::FromMilliseconds(
- TestTimeouts::action_max_timeout_ms()));
+ const base::TimeDelta timeout(TestTimeouts::action_max_timeout());
// Wait until all methods are exported.
return on_all_methods_exported_.TimedWait(timeout);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698