summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2015-02-18 16:20:06 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-19 00:21:19 +0000
commitfdad07617cf72b7be8ff5530256fa3aef9b74af5 (patch)
tree1767012bb66fabd6d8d9e1a83268aa24f1e5b5e4 /chrome/installer
parent53c256fe8661ea83c53f01700a552b04cbee77d2 (diff)
downloadchromium_src-fdad07617cf72b7be8ff5530256fa3aef9b74af5.zip
chromium_src-fdad07617cf72b7be8ff5530256fa3aef9b74af5.tar.gz
chromium_src-fdad07617cf72b7be8ff5530256fa3aef9b74af5.tar.bz2
Remove uses of WaitForExitCodeWithTimeout
BUG=417532 Review URL: https://codereview.chromium.org/927443004 Cr-Commit-Position: refs/heads/master@{#316929}
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/google_update_util.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/installer/util/google_update_util.cc b/chrome/installer/util/google_update_util.cc
index 5140146..3a8558f 100644
--- a/chrome/installer/util/google_update_util.cc
+++ b/chrome/installer/util/google_update_util.cc
@@ -95,8 +95,7 @@ bool LaunchProcessAndWaitWithTimeout(const base::string16& cmd_string,
base::LaunchProcess(cmd_string, base::LaunchOptions());
if (!process.IsValid()) {
PLOG(ERROR) << "Failed to launch (" << cmd_string << ")";
- } else if (!base::WaitForExitCodeWithTimeout(process.Handle(), &exit_code,
- timeout)) {
+ } else if (!process.WaitForExitWithTimeout(timeout, &exit_code)) {
// The GetExitCodeProcess failed or timed-out.
LOG(ERROR) <<"Command (" << cmd_string << ") is taking more than "
<< timeout.InMilliseconds() << " milliseconds to complete.";