chrome_constants.cc 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. #include "chrome/common/chrome_constants.h"
  5. #define FPL FILE_PATH_LITERAL
  6. namespace chrome {
  7. #if defined(OS_MACOSX)
  8. const base::FilePath::CharType kFrameworkName[] =
  9. FPL(ATOM_PRODUCT_NAME " Framework.framework");
  10. #endif // OS_MACOSX
  11. // filenames
  12. const base::FilePath::CharType kCacheDirname[] = FPL("Cache");
  13. const base::FilePath::CharType kChannelIDFilename[] = FPL("Origin Bound Certs");
  14. const base::FilePath::CharType kCookieFilename[] = FPL("Cookies");
  15. const base::FilePath::CharType kCRLSetFilename[] =
  16. FPL("Certificate Revocation Lists");
  17. const base::FilePath::CharType kCustomDictionaryFileName[] =
  18. FPL("Custom Dictionary.txt");
  19. const base::FilePath::CharType kExtensionActivityLogFilename[] =
  20. FPL("Extension Activity");
  21. const base::FilePath::CharType kExtensionsCookieFilename[] =
  22. FPL("Extension Cookies");
  23. const base::FilePath::CharType kFirstRunSentinel[] = FPL("First Run");
  24. const base::FilePath::CharType kGCMStoreDirname[] = FPL("GCM Store");
  25. const base::FilePath::CharType kLocalStateFilename[] = FPL("Local State");
  26. const base::FilePath::CharType kLocalStorePoolName[] = FPL("LocalStorePool");
  27. const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache");
  28. const base::FilePath::CharType kNetworkPersistentStateFilename[] =
  29. FPL("Network Persistent State");
  30. const base::FilePath::CharType kOfflinePageArchviesDirname[] =
  31. FPL("Offline Pages/archives");
  32. const base::FilePath::CharType kOfflinePageMetadataDirname[] =
  33. FPL("Offline Pages/metadata");
  34. const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences");
  35. const base::FilePath::CharType kProtectedPreferencesFilenameDeprecated[] =
  36. FPL("Protected Preferences");
  37. const base::FilePath::CharType kReadmeFilename[] = FPL("README");
  38. const base::FilePath::CharType kResetPromptMementoFilename[] =
  39. FPL("Reset Prompt Memento");
  40. const base::FilePath::CharType kSafeBrowsingBaseFilename[] =
  41. FPL("Safe Browsing");
  42. const base::FilePath::CharType kSecurePreferencesFilename[] =
  43. FPL("Secure Preferences");
  44. const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State");
  45. const base::FilePath::CharType kSingletonCookieFilename[] =
  46. FPL("SingletonCookie");
  47. const base::FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock");
  48. const base::FilePath::CharType kSingletonSocketFilename[] =
  49. FPL("SingletonSocket");
  50. const base::FilePath::CharType kSupervisedUserSettingsFilename[] =
  51. FPL("Managed Mode Settings");
  52. const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak");
  53. const base::FilePath::CharType kThemePackMaterialDesignFilename[] =
  54. FPL("Cached Theme Material Design.pak");
  55. const base::FilePath::CharType kWebAppDirname[] = FPL("Web Applications");
  56. // File name of the Pepper Flash plugin on different platforms.
  57. const base::FilePath::CharType kPepperFlashPluginFilename[] =
  58. #if defined(OS_MACOSX)
  59. FPL("PepperFlashPlayer.plugin");
  60. #elif defined(OS_WIN)
  61. FPL("pepflashplayer.dll");
  62. #else // OS_LINUX, etc.
  63. FPL("libpepflashplayer.so");
  64. #endif
  65. } // namespace chrome
  66. #undef FPL