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

Unified Diff: base/process_util.h

Issue 10808069: Remove old test timeout and process waiting function interfaces. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits. 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 | base/process_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util.h
diff --git a/base/process_util.h b/base/process_util.h
index a9dc0583886215b76263f2b48f3f916983c7c289..6745d4b27a9c7cbd9478dd670c4018a28547d8d8 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -508,9 +508,6 @@ BASE_EXPORT bool WaitForExitCode(ProcessHandle handle, int* exit_code);
// The caller is always responsible for closing the |handle|.
BASE_EXPORT bool WaitForExitCodeWithTimeout(ProcessHandle handle,
int* exit_code,
- int64 timeout_milliseconds);
-BASE_EXPORT bool WaitForExitCodeWithTimeout(ProcessHandle handle,
- int* exit_code,
base::TimeDelta timeout);
// Wait for all the processes based on the named executable to exit. If filter
@@ -519,10 +516,6 @@ BASE_EXPORT bool WaitForExitCodeWithTimeout(ProcessHandle handle,
// Returns true if all the processes exited, false otherwise.
BASE_EXPORT bool WaitForProcessesToExit(
const FilePath::StringType& executable_name,
- int64 wait_milliseconds,
- const ProcessFilter* filter);
-BASE_EXPORT bool WaitForProcessesToExit(
- const FilePath::StringType& executable_name,
base::TimeDelta wait,
const ProcessFilter* filter);
@@ -530,8 +523,6 @@ BASE_EXPORT bool WaitForProcessesToExit(
// the given time limit. On Linux |handle| must be a child process, however
// on Mac and Windows it can be any process.
BASE_EXPORT bool WaitForSingleProcess(ProcessHandle handle,
- int64 wait_milliseconds);
-BASE_EXPORT bool WaitForSingleProcess(ProcessHandle handle,
base::TimeDelta wait);
// Waits a certain amount of time (can be 0) for all the processes with a given
« no previous file with comments | « no previous file | base/process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698