Index: base/process/process.h |
diff --git a/base/process/process.h b/base/process/process.h |
index 978ca78c04683dd4e0c87a388e9c10e8e77a2afd..d911f408469d304f0e98a31a8117a79d60364a67 100644 |
--- a/base/process/process.h |
+++ b/base/process/process.h |
@@ -102,6 +102,9 @@ class BASE_EXPORT Process { |
// NOTE: On POSIX |exit_code| is ignored. |
bool Terminate(int exit_code, bool wait) const; |
+ // Terminates the process immediately with |exit_code|. |
+ void TerminateImmediately(int exit_code) const; |
+ |
// Waits for the process to exit. Returns true on success. |
// On POSIX, if the process has been signaled then |exit_code| is set to -1. |
// On Linux this must be a child process, however on Mac and Windows it can be |