| Index: base/process_util.h
|
| diff --git a/base/process_util.h b/base/process_util.h
|
| index cc91c67df902f1aa2fb673fd1849317e8b02bb32..135b92e062630a9b9cad0dc66d3386d87ab732b9 100644
|
| --- a/base/process_util.h
|
| +++ b/base/process_util.h
|
| @@ -169,6 +169,14 @@ bool LaunchApp(const CommandLine& cl,
|
| // successfully.
|
| bool GetAppOutput(const CommandLine& cl, std::string* output);
|
|
|
| +#if defined(OS_POSIX)
|
| +// A restricted version of |GetAppOutput()| which (a) clears the environment,
|
| +// and (b) stores at most |max_output| bytes; also, it doesn't search the path
|
| +// for the command.
|
| +bool GetAppOutputRestricted(const CommandLine& cl,
|
| + std::string* output, size_t max_output);
|
| +#endif
|
| +
|
| // Used to filter processes by process ID.
|
| class ProcessFilter {
|
| public:
|
|
|