diff options
Diffstat (limited to 'base/file_util.h')
-rw-r--r-- | base/file_util.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/base/file_util.h b/base/file_util.h index c064b2c..4154856 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -103,10 +103,9 @@ bool AbsolutePath(FilePath* path); // Deprecated temporary compatibility function. bool AbsolutePath(std::wstring* path); -// Returns true if this FilePath represents a parent dir of |other|. Both -// paths are normalized before doing the comparison, but neither |this| nor -// |other| are modified. -bool PathContains(const FilePath& path, const FilePath& other); +// Returns true if |parent| contains |child|. Both paths are converted to +// absolute paths before doing the comparison. +bool ContainsPath(const FilePath& parent, const FilePath& child); // Deprecated compatibility function. Use FilePath::InsertBeforeExtension. void InsertBeforeExtension(FilePath* path, const FilePath::StringType& suffix); |