Chromium Code Reviews| Index: base/process/process.h |
| diff --git a/base/process/process.h b/base/process/process.h |
| index 808baeb1fc6ebdf7a9603b7b9b8d070b37694cdd..650b5e669be92c7261dd9464cff8190f67a36ba1 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 exit code is not |
|
Lei Zhang
2015/05/06 21:38:00
"if the exit code"
g.mehndiratt
2015/05/21 09:29:52
On 2015/05/06 21:38:00, Lei Zhang wrote:
Acknowle
|
| + // required |
|
Lei Zhang
2015/05/06 21:38:00
Please end the sentence with a period.
g.mehndiratt
2015/05/21 09:29:52
On 2015/05/06 21:38:00, 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 exit code is not |
| + // required |
| bool WaitForExitWithTimeout(TimeDelta timeout, int* exit_code); |
| // A process is backgrounded when it's priority is lower than normal. |