Chromium Code Reviews| Index: base/files/file_path.h |
| diff --git a/base/files/file_path.h b/base/files/file_path.h |
| index 5695767a574645a5f4c87aa4816050df02112130..5410e0d686b2ca81f3dac90a4cef13bf3c248716 100644 |
| --- a/base/files/file_path.h |
| +++ b/base/files/file_path.h |
| @@ -374,6 +374,10 @@ class BASE_EXPORT FilePath { |
| // (if FILE_PATH_USES_WIN_SEPARATORS is true), or do nothing on POSIX systems. |
| FilePath NormalizePathSeparators() const; |
| + // Normalize all path separattors to given type on Windows |
| + // (if FILE_PATH_USES_WIN_SEPARATORS is true), or do nothing on POSIX systems. |
| + FilePath NormalizePathSeparatorsTo(CharType separator) const; |
|
scottmg
2014/04/02 00:23:38
Another alternative could be to create AppendWithS
|
| + |
| // Compare two strings in the same way the file system does. |
| // Note that these always ignore case, even on file systems that are case- |
| // sensitive. If case-sensitive comparison is ever needed, add corresponding |