|
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_WIN_H__ |
|
6 #define BASE_BASE_PATHS_WIN_H__ |
|
7 |
|
8 // This file declares windows-specific path keys for the base module. |
|
9 // These can be used with the PathService to access various special |
|
10 // directories and files. |
|
11 |
|
12 namespace base { |
|
13 |
|
14 enum { |
|
15 PATH_WIN_START = 100, |
|
16 |
|
17 FILE_EXE, // path and filename of the current executable |
|
18 FILE_MODULE, // path and filename of the module containing the code for the |
|
19 // PathService (which could differ from FILE_EXE if the |
|
20 // PathService were compiled into a DLL, for example) |
|
21 DIR_WINDOWS, // Windows directory, usually "c:\windows" |
|
22 DIR_SYSTEM, // Usually c:\windows\system32" |
|
23 DIR_PROGRAM_FILES, // Usually c:\program files |
|
24 |
|
25 DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory. |
|
26 DIR_COMMON_START_MENU, // Usually "C:\Documents and Settings\All Users\ |
|
27 // Start Menu\Programs" |
|
28 DIR_START_MENU, // Usually "C:\Documents and Settings\<user>\ |
|
29 // Start Menu\Programs" |
|
30 DIR_APP_DATA, // Application Data directory under the user profile. |
|
31 DIR_LOCAL_APP_DATA_LOW, // Local AppData directory for low integrity level. |
|
32 DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory under the |
|
33 // user profile. |
|
34 DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful |
|
35 // for tests that need to locate various resources. It |
|
36 // should not be used outside of test code. |
|
37 PATH_WIN_END |
|
38 }; |
|
39 |
|
40 } // namespace base |
|
41 |
|
42 #endif // BASE_BASE_PATHS_WIN_H__ |