diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 22:23:53 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 22:23:53 +0000 |
commit | 89dd4eed72dfea6912684540a65842ad01773aa6 (patch) | |
tree | 7d7d01a3877ec1b6e7424fc1aeb03b10e855bea6 /chrome/common/process_watcher.h | |
parent | 706ab7f69fe1f8bd46d3341bf2709a93664c724d (diff) | |
download | chromium_src-89dd4eed72dfea6912684540a65842ad01773aa6.zip chromium_src-89dd4eed72dfea6912684540a65842ad01773aa6.tar.gz chromium_src-89dd4eed72dfea6912684540a65842ad01773aa6.tar.bz2 |
Additional svn ignores for native_client and Makefile.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/process_watcher.h')
-rw-r--r-- | chrome/common/process_watcher.h | 8 |
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(); |