summaryrefslogtreecommitdiffstats
path: root/chrome/common/process_watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/process_watcher.h')
-rw-r--r--chrome/common/process_watcher.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/process_watcher.h b/chrome/common/process_watcher.h
index 3242984..a1f909c 100644
--- a/chrome/common/process_watcher.h
+++ b/chrome/common/process_watcher.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_PROCESS_WATCHER_H_
#define CHROME_COMMON_PROCESS_WATCHER_H_
+#include "build/build_config.h"
+
#include "base/basictypes.h"
#include "base/process_util.h"
@@ -25,6 +27,12 @@ class ProcessWatcher {
//
static void EnsureProcessTerminated(base::ProcessHandle process_handle);
+#if defined(OS_POSIX)
+ // The nicer version of EnsureProcessTerminated() that is patient and will
+ // wait for |process_handle| to finish and then reap it.
+ static void EnsureProcessGetsReaped(base::ProcessHandle process_handle);
+#endif
+
private:
// Do not instantiate this class.
ProcessWatcher();