alexeypa@chromium.org | bf3e52c3 | 2012-04-04 05:18:47 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
erikkay@google.com | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 4 | |
tfarina | a3116351 | 2015-05-13 22:10:15 | [diff] [blame] | 5 | #ifndef BASE_BASE_PATHS_WIN_H_ |
| 6 | #define BASE_BASE_PATHS_WIN_H_ |
erikkay@google.com | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 7 | |
maruel@chromium.org | 52a261f | 2009-03-03 15:01:12 | [diff] [blame] | 8 | // This file declares windows-specific path keys for the base module. |
| 9 | // These can be used with the PathService to access various special |
erikkay@google.com | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 10 | // directories and files. |
| 11 | |
| 12 | namespace base { |
| 13 | |
| 14 | enum { |
| 15 | PATH_WIN_START = 100, |
| 16 | |
erikkay@google.com | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 17 | DIR_WINDOWS, // Windows directory, usually "c:\windows" |
| 18 | DIR_SYSTEM, // Usually c:\windows\system32" |
wfh | 16d2f12 | 2015-03-13 14:34:47 | [diff] [blame] | 19 | // 32-bit 32-bit on 64-bit 64-bit on 64-bit |
| 20 | // DIR_PROGRAM_FILES 1 2 1 |
| 21 | // DIR_PROGRAM_FILESX86 1 2 2 |
| 22 | // DIR_PROGRAM_FILES6432 1 1 1 |
| 23 | // 1 - C:\Program Files 2 - C:\Program Files (x86) |
| 24 | DIR_PROGRAM_FILES, // See table above. |
| 25 | DIR_PROGRAM_FILESX86, // See table above. |
| 26 | DIR_PROGRAM_FILES6432, // See table above. |
erikkay@google.com | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 27 | |
pmonette | 5057ca3b | 2016-07-04 16:48:40 | [diff] [blame] | 28 | DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory. |
| 29 | DIR_COMMON_START_MENU, // Usually "C:\ProgramData\Microsoft\Windows\ |
| 30 | // Start Menu\Programs" |
| 31 | DIR_START_MENU, // Usually "C:\Users\<user>\AppData\Roaming\ |
| 32 | // Microsoft\Windows\Start Menu\Programs" |
Carlos Frias | 5ddded6 | 2020-05-27 23:38:18 | [diff] [blame] | 33 | DIR_COMMON_STARTUP, // Usually "C:\ProgramData\Microsoft\Windows\ |
| 34 | // Start Menu\Programs\Startup" |
| 35 | DIR_USER_STARTUP, // Usually "C:\Users\<user>\AppData\Roaming\ |
| 36 | // Microsoft\Windows\Start Menu\Programs\Startup" |
pmonette | 5057ca3b | 2016-07-04 16:48:40 | [diff] [blame] | 37 | DIR_APP_DATA, // Application Data directory under the user |
| 38 | // profile. |
| 39 | DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory |
| 40 | // under the user profile. |
| 41 | DIR_COMMON_APP_DATA, // Usually "C:\ProgramData". |
| 42 | DIR_APP_SHORTCUTS, // Where tiles on the start screen are stored, |
| 43 | // only for Windows 8. Maps to "Local\AppData\ |
| 44 | // Microsoft\Windows\Application Shortcuts\". |
| 45 | DIR_COMMON_DESKTOP, // Directory for the common desktop (visible |
| 46 | // on all user's Desktop). |
| 47 | DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts. |
| 48 | DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar. |
| 49 | DIR_IMPLICIT_APP_SHORTCUTS, // The implicit user pinned shortcut directory. |
| 50 | DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts. |
gab@chromium.org | dea1d7d | 2012-09-20 16:24:52 | [diff] [blame] | 51 | |
erikkay@google.com | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 52 | PATH_WIN_END |
| 53 | }; |
| 54 | |
| 55 | } // namespace base |
| 56 | |
tfarina | a3116351 | 2015-05-13 22:10:15 | [diff] [blame] | 57 | #endif // BASE_BASE_PATHS_WIN_H_ |