| Index: base/process_util.h
|
| ===================================================================
|
| --- base/process_util.h (revision 17847)
|
| +++ base/process_util.h (working copy)
|
| @@ -23,6 +23,7 @@
|
| #include <vector>
|
|
|
| #include "base/command_line.h"
|
| +#include "base/file_path.h"
|
| #include "base/process.h"
|
|
|
| #if defined(OS_WIN)
|
| @@ -87,6 +88,14 @@
|
| // Win XP SP1 as well.
|
| ProcessId GetProcId(ProcessHandle process);
|
|
|
| +#if defined(OS_LINUX)
|
| +// Returns the ID for the parent of the given process.
|
| +ProcessId GetParentProcessId(ProcessHandle process);
|
| +
|
| +// Returns the path to the executable of the given process.
|
| +FilePath GetProcessExecutablePath(ProcessHandle process);
|
| +#endif
|
| +
|
| #if defined(OS_POSIX)
|
| // Sets all file descriptors to close on exec except for stdin, stdout
|
| // and stderr.
|
|
|