| Index: base/files/file_util.h
|
| diff --git a/base/files/file_util.h b/base/files/file_util.h
|
| index 8fd9fffeb36d044c6e169fc24f33ccdea0dec732..420dcaee61b4ff0936b1189c6dc9e0ecb0369de7 100644
|
| --- a/base/files/file_util.h
|
| +++ b/base/files/file_util.h
|
| @@ -37,6 +37,7 @@
|
|
|
| namespace base {
|
|
|
| +class Environment;
|
| class Time;
|
|
|
| //-----------------------------------------------------------------------------
|
| @@ -199,6 +200,11 @@ BASE_EXPORT bool GetPosixFilePermissions(const FilePath& path, int* mode);
|
| // the permission of a file which the symlink points to.
|
| BASE_EXPORT bool SetPosixFilePermissions(const FilePath& path, int mode);
|
|
|
| +// Returns true iff |executable| can be found in any directory specified by the
|
| +// environment variable in |env|.
|
| +BASE_EXPORT bool ExecutableExistsInPath(Environment* env,
|
| + const FilePath::StringType& executable);
|
| +
|
| #endif // OS_POSIX
|
|
|
| // Returns true if the given directory is empty
|
|
|