Index: base/process/kill_win.cc |
diff --git a/base/process/kill_win.cc b/base/process/kill_win.cc |
index 7daf5f868fb7d6f847789a078d5c7d5a27a049f9..d52f6ab7987bdd5d45520116b8cd9a05f96668a1 100644 |
--- a/base/process/kill_win.cc |
+++ b/base/process/kill_win.cc |
@@ -181,26 +181,6 @@ TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { |
} |
} |
-bool WaitForExitCode(ProcessHandle handle, int* exit_code) { |
- // TODO(rvargas) crbug.com/417532: Remove this function. |
- Process process(handle); |
- return process.WaitForExit(exit_code); |
-} |
- |
-bool WaitForExitCodeWithTimeout(ProcessHandle handle, |
- int* exit_code, |
- TimeDelta timeout) { |
- if (::WaitForSingleObject( |
- handle, static_cast<DWORD>(timeout.InMilliseconds())) != WAIT_OBJECT_0) |
- return false; |
- DWORD temp_code; // Don't clobber out-parameters in case of failure. |
- if (!::GetExitCodeProcess(handle, &temp_code)) |
- return false; |
- |
- *exit_code = temp_code; |
- return true; |
-} |
- |
bool WaitForProcessesToExit(const FilePath::StringType& executable_name, |
TimeDelta wait, |
const ProcessFilter* filter) { |