base_paths_win.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_ROAMING_APP_DATA, // Roaming Application Data directory under the
  32. // user profile.
  33. // Usually "C:\Users\<user>\AppData\Roaming".
  34. // Data for specific applications is stored in
  35. // subdirectories.
  36. DIR_LOCAL_APP_DATA, // Local Application Data directory under the
  37. // user profile.
  38. // Usually "C:\Users\<user>\AppData\Local".
  39. // Data for specific applications is stored in
  40. // subdirectories.
  41. DIR_COMMON_APP_DATA, // Usually "C:\ProgramData". Data for specific
  42. // applications is stored in subdirectories.
  43. DIR_APP_SHORTCUTS, // Where tiles on the start screen are stored,
  44. // only for Windows 8. Maps to "Local\AppData\
  45. // Microsoft\Windows\Application Shortcuts\".
  46. DIR_COMMON_DESKTOP, // Directory for the common desktop (visible
  47. // on all user's Desktop).
  48. DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts.
  49. DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar.
  50. DIR_IMPLICIT_APP_SHORTCUTS, // The implicit user pinned shortcut directory.
  51. DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts.
  52. PATH_WIN_END
  53. };
  54. } // namespace base
  55. #endif // BASE_BASE_PATHS_WIN_H_