| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "base/process/kill.h" |
| 6 |
| 7 namespace base { |
| 8 |
| 9 bool KillProcesses(const FilePath::StringType& executable_name, |
| 10 int exit_code, |
| 11 const ProcessFilter* filter) { |
| 12 // TODO(scottmg): Port. |
| 13 NOTIMPLEMENTED(); |
| 14 return false; |
| 15 } |
| 16 |
| 17 bool KillProcessGroup(ProcessHandle process_group_id) { |
| 18 // TODO(scottmg): Port. |
| 19 NOTIMPLEMENTED(); |
| 20 return false; |
| 21 } |
| 22 |
| 23 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { |
| 24 // TODO(scottmg): Port. |
| 25 NOTIMPLEMENTED(); |
| 26 return TERMINATION_STATUS_MAX_ENUM; |
| 27 } |
| 28 |
| 29 TerminationStatus GetKnownDeadTerminationStatus(ProcessHandle handle, |
| 30 int* exit_code) { |
| 31 // TODO(scottmg): Port. |
| 32 NOTIMPLEMENTED(); |
| 33 return TERMINATION_STATUS_MAX_ENUM; |
| 34 } |
| 35 |
| 36 bool WaitForProcessesToExit(const FilePath::StringType& executable_name, |
| 37 base::TimeDelta wait, |
| 38 const ProcessFilter* filter) { |
| 39 // TODO(scottmg): Port. |
| 40 NOTIMPLEMENTED(); |
| 41 return false; |
| 42 } |
| 43 |
| 44 bool CleanupProcesses(const FilePath::StringType& executable_name, |
| 45 base::TimeDelta wait, |
| 46 int exit_code, |
| 47 const ProcessFilter* filter) { |
| 48 // TODO(scottmg): Port. |
| 49 NOTIMPLEMENTED(); |
| 50 return false; |
| 51 } |
| 52 |
| 53 void EnsureProcessTerminated(Process process) { |
| 54 // TODO(scottmg): Port. |
| 55 NOTIMPLEMENTED(); |
| 56 } |
| 57 |
| 58 } // namespace base |
| OLD | NEW |