license.bot | f003cfe | 2008-08-24 09:55:55 +0900 | [diff] [blame^] | 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. |
initial.commit | 3f4a732 | 2008-07-27 06:49:38 +0900 | [diff] [blame] | 4 | |
erikkay@google.com | 9fc57d0 | 2008-08-09 05:16:08 +0900 | [diff] [blame] | 5 | #ifndef BASE_BASE_PATHS_H_ |
| 6 | #define BASE_BASE_PATHS_H_ |
initial.commit | 3f4a732 | 2008-07-27 06:49:38 +0900 | [diff] [blame] | 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 | |
erikkay@google.com | c7980ee | 2008-08-06 04:46:31 +0900 | [diff] [blame] | 11 | #include "base/basictypes.h" |
erikkay@google.com | 9fc57d0 | 2008-08-09 05:16:08 +0900 | [diff] [blame] | 12 | #if defined(OS_WIN) |
erikkay@google.com | c7980ee | 2008-08-06 04:46:31 +0900 | [diff] [blame] | 13 | #include "base/base_paths_win.h" |
erikkay@google.com | 9fc57d0 | 2008-08-09 05:16:08 +0900 | [diff] [blame] | 14 | #elif defined(OS_MACOSX) |
| 15 | #include "base/base_paths_mac.h" |
evanm@google.com | e41d3b3 | 2008-08-15 10:04:11 +0900 | [diff] [blame] | 16 | #elif defined(OS_LINUX) |
| 17 | #include "base/base_paths_linux.h" |
erikkay@google.com | c7980ee | 2008-08-06 04:46:31 +0900 | [diff] [blame] | 18 | #endif |
| 19 | |
initial.commit | 3f4a732 | 2008-07-27 06:49:38 +0900 | [diff] [blame] | 20 | namespace base { |
| 21 | |
| 22 | enum { |
| 23 | PATH_START = 0, |
| 24 | |
| 25 | DIR_CURRENT, // current directory |
| 26 | DIR_EXE, // directory containing FILE_EXE |
| 27 | DIR_MODULE, // directory containing FILE_MODULE |
initial.commit | 3f4a732 | 2008-07-27 06:49:38 +0900 | [diff] [blame] | 28 | DIR_TEMP, // temporary directory |
initial.commit | 3f4a732 | 2008-07-27 06:49:38 +0900 | [diff] [blame] | 29 | PATH_END |
| 30 | }; |
| 31 | |
| 32 | } // namespace base |
| 33 | |
erikkay@google.com | 9fc57d0 | 2008-08-09 05:16:08 +0900 | [diff] [blame] | 34 | #endif // BASE_BASE_PATHS_H_ |
license.bot | f003cfe | 2008-08-24 09:55:55 +0900 | [diff] [blame^] | 35 | |