Index: base/process/process.h |
diff --git a/base/process/process.h b/base/process/process.h |
index 808baeb1fc6ebdf7a9603b7b9b8d070b37694cdd..b490e3e757347d164b9c673ad8e0bde114d24e67 100644 |
--- a/base/process/process.h |
+++ b/base/process/process.h |
@@ -102,9 +102,13 @@ class BASE_EXPORT Process { |
// 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 |
// any process. |
+ // NOTE: |exit_code| is optional, nullptr can be passed |
+ //if the exit code is not required. |
Lei Zhang
2015/05/21 19:53:15
Put a space after //, to be consistent with the re
g.mehndiratt
2015/05/27 05:30:43
On 2015/05/21 19:53:15, Lei Zhang wrote:
Acknowle
|
bool WaitForExit(int* exit_code); |
// Same as WaitForExit() but only waits for up to |timeout|. |
+ // NOTE: |exit_code| is optional, nullptr can be passed |
+ //if the exit code is not required. |
bool WaitForExitWithTimeout(TimeDelta timeout, int* exit_code); |
// A process is backgrounded when it's priority is lower than normal. |