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

Unified Diff: chrome/test/mini_installer_test/installer_test_util.cc

Issue 10787010: Switch to TimeDelta interfaces in chrome automation test infrastructure. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. 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 | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/perf/dom_checker_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/mini_installer_test/installer_test_util.cc
diff --git a/chrome/test/mini_installer_test/installer_test_util.cc b/chrome/test/mini_installer_test/installer_test_util.cc
index 8565dfd3b35f99ec9459b7dfbf44c882c964f5f0..a9c6d5934e83c0e2a6db9554385d1c085d93f43a 100644
--- a/chrome/test/mini_installer_test/installer_test_util.cc
+++ b/chrome/test/mini_installer_test/installer_test_util.cc
@@ -291,7 +291,7 @@ bool RunAndWaitForCommandToFinish(CommandLine command) {
<< command.GetCommandLineString();
return false;
}
- if (!base::WaitForSingleProcess(process, 60 * 1000)) {
+ if (!base::WaitForSingleProcess(process, base::TimeDelta::FromMinutes(1))) {
LOG(ERROR) << "Launched process did not complete.";
return false;
}
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/perf/dom_checker_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698