| Index: base/process_util.h
|
| diff --git a/base/process_util.h b/base/process_util.h
|
| index caf39e83a730a54068c9ed0d28d2b5bafc76eff5..8051430b94e35e3678e15de9b5bc3d77dd9ea1cd 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:
|
|
|