michael@0: // Copyright (c) 2012 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: #ifndef BASE_BASE_PATHS_H_ michael@0: #define BASE_BASE_PATHS_H_ michael@0: michael@0: // This file declares path keys for the base module. These can be used with michael@0: // the PathService to access various special directories and files. michael@0: michael@0: #include "build/build_config.h" michael@0: michael@0: #if defined(OS_WIN) michael@0: #include "base/base_paths_win.h" michael@0: #elif defined(OS_MACOSX) michael@0: #include "base/base_paths_mac.h" michael@0: #elif defined(OS_ANDROID) michael@0: #include "base/base_paths_android.h" michael@0: #endif michael@0: michael@0: #if defined(OS_POSIX) michael@0: #include "base/base_paths_posix.h" michael@0: #endif michael@0: michael@0: namespace base { michael@0: michael@0: enum BasePathKey { michael@0: PATH_START = 0, michael@0: michael@0: DIR_CURRENT, // Current directory. michael@0: DIR_EXE, // Directory containing FILE_EXE. michael@0: DIR_MODULE, // Directory containing FILE_MODULE. michael@0: DIR_TEMP, // Temporary directory. michael@0: FILE_EXE, // Path and filename of the current executable. michael@0: FILE_MODULE, // Path and filename of the module containing the code for michael@0: // the PathService (which could differ from FILE_EXE if the michael@0: // PathService were compiled into a shared object, for michael@0: // example). michael@0: DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful michael@0: // for tests that need to locate various resources. It michael@0: // should not be used outside of test code. michael@0: DIR_USER_DESKTOP, // The current user's Desktop. michael@0: michael@0: DIR_TEST_DATA, // Used only for testing. michael@0: michael@0: PATH_END michael@0: }; michael@0: michael@0: } // namespace base michael@0: michael@0: #endif // BASE_BASE_PATHS_H_