Index: base/process_util_win.cc |
diff --git a/base/process_util_win.cc b/base/process_util_win.cc |
index 0ed5d86d58f5638cf9923dae6ad6b4f21c2f1932..9829a4143ab5278b485dec853fdcbabbd94385a7 100644 |
--- a/base/process_util_win.cc |
+++ b/base/process_util_win.cc |
@@ -353,6 +353,11 @@ bool WaitForSingleProcess(ProcessHandle handle, int wait_milliseconds) { |
return retval; |
} |
+bool CrashAwareSleep(ProcessHandle handle, int wait_milliseconds) { |
+ bool retval = WaitForSingleObject(handle, wait_milliseconds) == WAIT_TIMEOUT; |
+ return retval; |
+} |
+ |
bool CleanupProcesses(const std::wstring& executable_name, |
int wait_milliseconds, |
int exit_code, |