OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WIN_H__ | 5 #ifndef BASE_BASE_PATHS_WIN_H__ |
6 #define BASE_BASE_PATHS_WIN_H__ | 6 #define BASE_BASE_PATHS_WIN_H__ |
7 | 7 |
8 // This file declares windows-specific path keys for the base module. | 8 // This file declares windows-specific path keys for the base module. |
9 // These can be used with the PathService to access various special | 9 // These can be used with the PathService to access various special |
10 // directories and files. | 10 // directories and files. |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 | 13 |
14 enum { | 14 enum { |
15 PATH_WIN_START = 100, | 15 PATH_WIN_START = 100, |
16 | 16 |
17 DIR_WINDOWS, // Windows directory, usually "c:\windows" | 17 DIR_WINDOWS, // Windows directory, usually "c:\windows" |
18 DIR_SYSTEM, // Usually c:\windows\system32" | 18 DIR_SYSTEM, // Usually c:\windows\system32" |
19 DIR_PROGRAM_FILES, // Usually c:\program files | 19 DIR_PROGRAM_FILES, // Usually c:\program files |
20 DIR_PROGRAM_FILESX86, // Usually c:\program files or c:\program files (x86) | 20 DIR_PROGRAM_FILESX86, // Usually c:\program files or c:\program files (x86) |
21 | 21 |
22 DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory. | 22 DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory. |
23 DIR_COMMON_START_MENU, // Usually "C:\Documents and Settings\All Users\ | 23 DIR_COMMON_START_MENU, // Usually "C:\Documents and Settings\All Users\ |
24 // Start Menu\Programs" | 24 // Start Menu\Programs" |
25 DIR_START_MENU, // Usually "C:\Documents and Settings\<user>\ | 25 DIR_START_MENU, // Usually "C:\Documents and Settings\<user>\ |
26 // Start Menu\Programs" | 26 // Start Menu\Programs" |
27 DIR_APP_DATA, // Application Data directory under the user profile. | 27 DIR_APP_DATA, // Application Data directory under the user profile. |
28 DIR_LOCAL_APP_DATA_LOW, // Local AppData directory for low integrity level. | |
29 DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory under | 28 DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory under |
30 // the user profile. | 29 // the user profile. |
31 DIR_COMMON_APP_DATA, // W2K, XP, W2K3: "C:\Documents and Settings\ | 30 DIR_COMMON_APP_DATA, // W2K, XP, W2K3: "C:\Documents and Settings\ |
32 // All Users\Application Data". | 31 // All Users\Application Data". |
33 // Vista, W2K8 and above: "C:\ProgramData". | 32 // Vista, W2K8 and above: "C:\ProgramData". |
34 DIR_APP_SHORTCUTS, // Where tiles on the start screen are stored, only | 33 DIR_APP_SHORTCUTS, // Where tiles on the start screen are stored, only |
35 // for Windows 8. Maps to "Local\AppData\Microsoft\ | 34 // for Windows 8. Maps to "Local\AppData\Microsoft\ |
36 // Windows\Application Shortcuts\". | 35 // Windows\Application Shortcuts\". |
37 DIR_COMMON_DESKTOP, // Directory for the common desktop (visible | 36 DIR_COMMON_DESKTOP, // Directory for the common desktop (visible |
38 // on all user's Desktop). | 37 // on all user's Desktop). |
39 DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts. | 38 DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts. |
40 DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar via | 39 DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar via |
41 // base::win::TaskbarPinShortcutLink(). | 40 // base::win::TaskbarPinShortcutLink(). |
42 DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts. | 41 DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts. |
43 | 42 |
44 PATH_WIN_END | 43 PATH_WIN_END |
45 }; | 44 }; |
46 | 45 |
47 } // namespace base | 46 } // namespace base |
48 | 47 |
49 #endif // BASE_BASE_PATHS_WIN_H__ | 48 #endif // BASE_BASE_PATHS_WIN_H__ |
OLD | NEW |