[email protected] | 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. |
[email protected] | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 4 | |
| 5 | #ifndef BASE_BASE_PATHS_WIN_H__ |
| 6 | #define BASE_BASE_PATHS_WIN_H__ |
| 7 | |
[email protected] | 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 |
[email protected] | 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 | |
[email protected] | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 17 | DIR_WINDOWS, // Windows directory, usually "c:\windows" |
| 18 | DIR_SYSTEM, // Usually c:\windows\system32" |
[email protected] | 9759ffc | 2011-04-25 18:03:12 | [diff] [blame] | 19 | DIR_PROGRAM_FILES, // Usually c:\program files |
| 20 | DIR_PROGRAM_FILESX86, // Usually c:\program files or c:\program files (x86) |
[email protected] | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 21 | |
| 22 | DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory. |
| 23 | DIR_COMMON_START_MENU, // Usually "C:\Documents and Settings\All Users\ |
| 24 | // Start Menu\Programs" |
| 25 | DIR_START_MENU, // Usually "C:\Documents and Settings\<user>\ |
| 26 | // Start Menu\Programs" |
[email protected] | 20c0192 | 2010-02-01 18:53:54 | [diff] [blame] | 27 | DIR_APP_DATA, // Application Data directory under the user profile. |
| 28 | DIR_PROFILE, // Usually "C:\Documents and settings\<user>. |
[email protected] | bf3e52c3 | 2012-04-04 05:18:47 | [diff] [blame] | 29 | DIR_LOCAL_APP_DATA_LOW, // Local AppData directory for low integrity level. |
| 30 | DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory under |
| 31 | // the user profile. |
| 32 | DIR_COMMON_APP_DATA, // W2K, XP, W2K3: "C:\Documents and Settings\ |
| 33 | // All Users\Application Data". |
| 34 | // Vista, W2K8 and above: "C:\ProgramData". |
[email protected] | b2721b0 | 2012-08-30 09:16:55 | [diff] [blame] | 35 | DIR_APP_SHORTCUTS, // Where tiles on the start screen are stored, only |
| 36 | // for Windows 8. Maps to "Local\AppData\Microsoft\ |
| 37 | // Windows\Application Shortcuts\". |
[email protected] | dea1d7d | 2012-09-20 16:24:52 | [diff] [blame] | 38 | DIR_COMMON_DESKTOP, // Directory for the common desktop (visible |
| 39 | // on all user's Desktop). |
| 40 | DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts. |
| 41 | DIR_DEFAULT_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts |
| 42 | // of the Default user. |
[email protected] | e5f9d82 | 2012-11-06 22:27:01 | [diff] [blame] | 43 | DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar via |
| 44 | // base::win::TaskbarPinShortcutLink(). |
[email protected] | dea1d7d | 2012-09-20 16:24:52 | [diff] [blame] | 45 | |
[email protected] | ac510e1 | 2008-08-05 19:46:31 | [diff] [blame] | 46 | PATH_WIN_END |
| 47 | }; |
| 48 | |
| 49 | } // namespace base |
| 50 | |
| 51 | #endif // BASE_BASE_PATHS_WIN_H__ |