| Index: base/process/process_posix.cc
|
| diff --git a/base/process/process_posix.cc b/base/process/process_posix.cc
|
| index a36bf77ff21dd5862002ba5c1d63029df0a7bc0e..d05116e3145a72ae225e0e5ec52d99fa7227960f 100644
|
| --- a/base/process/process_posix.cc
|
| +++ b/base/process/process_posix.cc
|
| @@ -287,12 +287,13 @@ void Process::Close() {
|
| // end up w/ a zombie when it does finally exit.
|
| }
|
|
|
| -void Process::Terminate(int result_code) {
|
| +bool Process::Terminate(int result_code, bool wait) const {
|
| // result_code isn't supportable.
|
| DCHECK(IsValid());
|
| // We don't wait here. It's the responsibility of other code to reap the
|
| // child.
|
| - KillProcess(process_, result_code, false);
|
| + // TODO(rvargas) crbug/417532: Move the implementation here.
|
| + return KillProcess(process_, result_code, wait);
|
| }
|
|
|
| bool Process::WaitForExit(int* exit_code) {
|
|
|