blob: 34b17a60b727d43055439e377abebb1ef6a179d9 [file] [log] [blame]
scottmg@chromium.orgdef6ed82013-05-21 18:44:02 +09001// Copyright 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "base/files/file_path.h"
6
7namespace base {
8
9#if defined(FILE_PATH_USES_WIN_SEPARATORS)
10const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/");
11#else // FILE_PATH_USES_WIN_SEPARATORS
12const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("/");
13#endif // FILE_PATH_USES_WIN_SEPARATORS
14
15const size_t FilePath::kSeparatorsLength = arraysize(kSeparators);
16
17const FilePath::CharType FilePath::kCurrentDirectory[] = FILE_PATH_LITERAL(".");
18const FilePath::CharType FilePath::kParentDirectory[] = FILE_PATH_LITERAL("..");
19
20const FilePath::CharType FilePath::kExtensionSeparator = FILE_PATH_LITERAL('.');
21
22} // namespace base