| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_BASE_PATHS_H_ | 5 #ifndef BASE_BASE_PATHS_H_ |
| 6 #define BASE_BASE_PATHS_H_ | 6 #define BASE_BASE_PATHS_H_ |
| 7 | 7 |
| 8 // This file declares path keys for the base module. These can be used with | 8 // This file declares path keys for the base module. These can be used with |
| 9 // the PathService to access various special directories and files. | 9 // the PathService to access various special directories and files. |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
| 13 #include "base/base_paths_win.h" | 13 #include "base/base_paths_win.h" |
| 14 #elif defined(OS_MACOSX) | 14 #elif defined(OS_MACOSX) |
| 15 #include "base/base_paths_mac.h" | 15 #include "base/base_paths_mac.h" |
| 16 #elif defined(OS_LINUX) | 16 #elif defined(OS_LINUX) || defined(OS_FREEBSD) |
| 17 #include "base/base_paths_linux.h" | 17 #include "base/base_paths_linux.h" |
| 18 #endif | 18 #endif |
| 19 #include "base/path_service.h" | 19 #include "base/path_service.h" |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 | 22 |
| 23 enum { | 23 enum { |
| 24 PATH_START = 0, | 24 PATH_START = 0, |
| 25 | 25 |
| 26 DIR_CURRENT, // current directory | 26 DIR_CURRENT, // current directory |
| 27 DIR_EXE, // directory containing FILE_EXE | 27 DIR_EXE, // directory containing FILE_EXE |
| 28 DIR_MODULE, // directory containing FILE_MODULE | 28 DIR_MODULE, // directory containing FILE_MODULE |
| 29 DIR_TEMP, // temporary directory | 29 DIR_TEMP, // temporary directory |
| 30 PATH_END | 30 PATH_END |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 } // namespace base | 33 } // namespace base |
| 34 | 34 |
| 35 #endif // BASE_BASE_PATHS_H_ | 35 #endif // BASE_BASE_PATHS_H_ |
| OLD | NEW |