Index: base/process/process.h |
diff --git a/base/process/process.h b/base/process/process.h |
index 978ca78c04683dd4e0c87a388e9c10e8e77a2afd..084e212a3ec2f60ea77d2bffe4a99d9faae636b8 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 current process immediately with |exit_code|. |
+ void TerminateCurrentProcessImmediately(int exit_code) const; |
Primiano Tucci (use gerrit)
2017/01/16 14:37:34
+static (and move up with the other statics) as th
|
+ |
// 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 |