Chromium Code Reviews| 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/macros.h" | |
| 6 #include "base/process/process_handle.h" | |
| 7 | |
| 8 namespace base { | |
| 9 | |
| 10 ProcessId GetParentProcessId(ProcessHandle process) { | |
| 11 // TODO(scottmg): Port. | |
|
cpu_(ooo_6.6-7.5)
2017/02/20 23:22:15
we don't have this. A possible approximation is th
scottmg
2017/02/21 00:30:16
Is a koid a suitable pid? i.e. the definition of P
cpu_(ooo_6.6-7.5)
2017/02/25 23:44:10
tl;dr: Yes
If you have a powerful enough handle t
| |
| 12 return 0; | |
| 13 } | |
| 14 | |
| 15 FilePath GetProcessExecutablePath(ProcessHandle process) { | |
| 16 // TODO(scottmg): Port. | |
| 17 return FilePath(); | |
| 18 } | |
| 19 | |
| 20 } // namespace base | |
| OLD | NEW |