Chromium Code Reviews| Index: base/process/process.h |
| diff --git a/base/process/process.h b/base/process/process.h |
| index 5538475863b09f65cba4d7bede6db24b27091f4c..978ca78c04683dd4e0c87a388e9c10e8e77a2afd 100644 |
| --- a/base/process/process.h |
| +++ b/base/process/process.h |
| @@ -108,12 +108,12 @@ class BASE_EXPORT Process { |
| // any process. |
| // NOTE: |exit_code| is optional, nullptr can be passed if the exit code is |
| // not required. |
| - bool WaitForExit(int* exit_code); |
| + bool WaitForExit(int* exit_code) const; |
|
Robert Sesek
2016/12/20 20:44:34
Is this const-ification related? Seems like it cou
Jay Civelli
2016/12/20 23:07:26
It is needed as in base/test/multiprocess_test.cc
|
| // 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); |
| + bool WaitForExitWithTimeout(TimeDelta timeout, int* exit_code) const; |
| #if defined(OS_MACOSX) |
| // The Mac needs a Mach port in order to manipulate a process's priority, |