Index: base/process/process.h |
diff --git a/base/process/process.h b/base/process/process.h |
index 045f8702e8ebcaf9fae15eb1b9e2c524e22db2b2..808baeb1fc6ebdf7a9603b7b9b8d070b37694cdd 100644 |
--- a/base/process/process.h |
+++ b/base/process/process.h |
@@ -41,7 +41,7 @@ class BASE_EXPORT Process { |
Process(RValue other); |
// The destructor does not terminate the process. |
- ~Process() {} |
+ ~Process(); |
// Move operator= for C++03 move emulation of this type. |
Process& operator=(RValue other); |
@@ -91,12 +91,12 @@ class BASE_EXPORT Process { |
// Close the process handle. This will not terminate the process. |
void Close(); |
- // Terminates the process with extreme prejudice. The given |result_code| will |
+ // Terminates the process with extreme prejudice. The given |exit_code| will |
// be the exit code of the process. If |wait| is true, this method will wait |
// for up to one minute for the process to actually terminate. |
// Returns true if the process terminates within the allowed time. |
- // NOTE: On POSIX |result_code| is ignored. |
- bool Terminate(int result_code, bool wait) const; |
+ // NOTE: On POSIX |exit_code| is ignored. |
+ bool Terminate(int exit_code, bool wait) 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. |