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

Unified Diff: base/process_util_win.cc

Issue 10821062: Fix CleanupProcesses() interface to use TimeDelta. (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 | « base/process_util_posix.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_win.cc
diff --git a/base/process_util_win.cc b/base/process_util_win.cc
index 313b187294980b03d6cd2924b227dafc7bd523bd..c5ba392920ec5bed6489445da3355b74c4f8b3f1 100644
--- a/base/process_util_win.cc
+++ b/base/process_util_win.cc
@@ -619,13 +619,10 @@ bool WaitForSingleProcess(ProcessHandle handle, base::TimeDelta wait) {
}
bool CleanupProcesses(const FilePath::StringType& executable_name,
- int64 wait_milliseconds,
+ base::TimeDelta wait,
int exit_code,
const ProcessFilter* filter) {
- bool exited_cleanly = WaitForProcessesToExit(
- executable_name,
- base::TimeDelta::FromMilliseconds(wait_milliseconds),
- filter);
+ bool exited_cleanly = WaitForProcessesToExit(executable_name, wait, filter);
if (!exited_cleanly)
KillProcesses(executable_name, exit_code, filter);
return exited_cleanly;
« no previous file with comments | « base/process_util_posix.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698