| 6 |
| 7 | #include "base/files/file_path.h" |
| 8 | #include "base/stl_util.h" |
| 9 |
| 10 | namespace base { |
| 11 |
| 12 | #if defined(FILE_PATH_USES_WIN_SEPARATORS) |
| 13 | const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/"); |
| 14 | #else // FILE_PATH_USES_WIN_SEPARATORS |
| 15 | const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("/"); |
| 16 | #endif // FILE_PATH_USES_WIN_SEPARATORS |
| 17 |
| 18 | const size_t FilePath::kSeparatorsLength = base::size(kSeparators); |
| 19 |
| 20 | const FilePath::CharType FilePath::kCurrentDirectory[] = FILE_PATH_LITERAL("."); |
| 21 | const FilePath::CharType FilePath::kParentDirectory[] = FILE_PATH_LITERAL(".."); |
| 22 |
| 23 | const FilePath::CharType FilePath::kExtensionSeparator = FILE_PATH_LITERAL('.'); |
| 24 |
| 25 | } // namespace base |
| 26 |