|
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 |
|
3 // found in the LICENSE file. |
|
4 |
|
5 #ifndef BASE_BASE_PATHS_H_ |
|
6 #define BASE_BASE_PATHS_H_ |
|
7 |
|
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. |
|
10 |
|
11 #include "base/basictypes.h" |
|
12 #if defined(OS_WIN) |
|
13 #include "base/base_paths_win.h" |
|
14 #elif defined(OS_MACOSX) |
|
15 #include "base/base_paths_mac.h" |
|
16 #elif defined(OS_LINUX) || defined(OS_BSD) |
|
17 #include "base/base_paths_linux.h" |
|
18 #endif |
|
19 #include "base/path_service.h" |
|
20 |
|
21 namespace base { |
|
22 |
|
23 enum { |
|
24 PATH_START = 0, |
|
25 |
|
26 DIR_CURRENT, // current directory |
|
27 DIR_EXE, // directory containing FILE_EXE |
|
28 DIR_MODULE, // directory containing FILE_MODULE |
|
29 DIR_TEMP, // temporary directory |
|
30 PATH_END |
|
31 }; |
|
32 |
|
33 } // namespace base |
|
34 |
|
35 #endif // BASE_BASE_PATHS_H_ |