| Index: base/process/process_posix.cc
|
| diff --git a/base/process/process_posix.cc b/base/process/process_posix.cc
|
| index a36bf77ff21dd5862002ba5c1d63029df0a7bc0e..1c4210b0fe590380503ced3c94cf98d01405ff44 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) {
|
| @@ -324,4 +325,4 @@ int Process::GetPriority() const {
|
| return getpriority(PRIO_PROCESS, process_);
|
| }
|
|
|
| -} // namspace base
|
| +} // namespace base
|
|
|