base_paths_win.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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
  3. // found in the LICENSE file.
  4. #ifndef BASE_BASE_PATHS_WIN_H_
  5. #define BASE_BASE_PATHS_WIN_H_
  6. // This file declares windows-specific path keys for the base module.
  7. // These can be used with the PathService to access various special
  8. // directories and files.
  9. namespace base {
  10. enum {
  11. PATH_WIN_START = 100,
  12. DIR_WINDOWS, // Windows directory, usually "c:\windows"
  13. DIR_SYSTEM, // Usually c:\windows\system32"
  14. // 32-bit 32-bit on 64-bit 64-bit on 64-bit
  15. // DIR_PROGRAM_FILES 1 2 1
  16. // DIR_PROGRAM_FILESX86 1 2 2
  17. // DIR_PROGRAM_FILES6432 1 1 1
  18. // 1 - C:\Program Files 2 - C:\Program Files (x86)
  19. DIR_PROGRAM_FILES, // See table above.
  20. DIR_PROGRAM_FILESX86, // See table above.
  21. DIR_PROGRAM_FILES6432, // See table above.
  22. DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory.
  23. DIR_COMMON_START_MENU, // Usually "C:\ProgramData\Microsoft\Windows\
  24. // Start Menu\Programs"
  25. DIR_START_MENU, // Usually "C:\Users\<user>\AppData\Roaming\
  26. // Microsoft\Windows\Start Menu\Programs"
  27. DIR_COMMON_STARTUP, // Usually "C:\ProgramData\Microsoft\Windows\
  28. // Start Menu\Programs\Startup"
  29. DIR_USER_STARTUP, // Usually "C:\Users\<user>\AppData\Roaming\
  30. // Microsoft\Windows\Start Menu\Programs\Startup"
  31. DIR_APP_DATA, // Application Data directory under the user
  32. // profile.
  33. DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory
  34. // under the user profile.
  35. DIR_COMMON_APP_DATA, // Usually "C:\ProgramData".
  36. DIR_APP_SHORTCUTS, // Where tiles on the start screen are stored,
  37. // only for Windows 8. Maps to "Local\AppData\
  38. // Microsoft\Windows\Application Shortcuts\".
  39. DIR_COMMON_DESKTOP, // Directory for the common desktop (visible
  40. // on all user's Desktop).
  41. DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts.
  42. DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar.
  43. DIR_IMPLICIT_APP_SHORTCUTS, // The implicit user pinned shortcut directory.
  44. DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts.
  45. PATH_WIN_END
  46. };
  47. } // namespace base
  48. #endif // BASE_BASE_PATHS_WIN_H_