OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 // This file declares path keys for the base module. These can be used with | 9 // This file declares path keys for the base module. These can be used with |
10 // the PathService to access various special directories and files. | 10 // the PathService to access various special directories and files. |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "build/build_config.h" |
| 13 |
13 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
14 #include "base/base_paths_win.h" | 15 #include "base/base_paths_win.h" |
15 #elif defined(OS_MACOSX) | 16 #elif defined(OS_MACOSX) |
16 #include "base/base_paths_mac.h" | 17 #include "base/base_paths_mac.h" |
17 #endif | 18 #endif |
18 | 19 |
19 namespace base { | 20 namespace base { |
20 | 21 |
21 enum { | 22 enum { |
22 PATH_START = 0, | 23 PATH_START = 0, |
(...skipping 16 matching lines...) Expand all Loading... |
39 // This is $XDG_CACHE_HOME on Linux and | 40 // This is $XDG_CACHE_HOME on Linux and |
40 // ~/Library/Caches on Mac. | 41 // ~/Library/Caches on Mac. |
41 #endif | 42 #endif |
42 | 43 |
43 PATH_END | 44 PATH_END |
44 }; | 45 }; |
45 | 46 |
46 } // namespace base | 47 } // namespace base |
47 | 48 |
48 #endif // BASE_BASE_PATHS_H_ | 49 #endif // BASE_BASE_PATHS_H_ |
OLD | NEW |