Index: base/file_util.h |
diff --git a/base/file_util.h b/base/file_util.h |
index c064b2c4e30648232a85fcd1862612583732980b..4154856724e4ce8404c1007470456ee66ec07b32 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. |
Erik does not do reviews
2009/01/12 17:14:05
If we're not going to handle MacOSX case-sensitivi
|
+bool ContainsPath(const FilePath& parent, const FilePath& child); |
// Deprecated compatibility function. Use FilePath::InsertBeforeExtension. |
void InsertBeforeExtension(FilePath* path, const FilePath::StringType& suffix); |