cast_paths.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright 2014 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 CHROMECAST_BASE_CAST_PATHS_H_
  5. #define CHROMECAST_BASE_CAST_PATHS_H_
  6. #include "build/build_config.h"
  7. #include "third_party/widevine/cdm/buildflags.h"
  8. // This file declares path keys for the chromecast module. These can be used
  9. // with the PathService to access various special directories and files.
  10. namespace chromecast {
  11. enum {
  12. PATH_START = 8000,
  13. DIR_CAST_HOME, // Return a modified $HOME which works for both
  14. // development use and the actual device.
  15. #if BUILDFLAG(IS_ANDROID)
  16. FILE_CAST_ANDROID_LOG, // Log file location for Android.
  17. #endif
  18. FILE_CAST_CONFIG, // Config/preferences file path.
  19. FILE_CAST_CRL, // CRL persistent cache file path.
  20. FILE_CAST_PAK, // cast_shell.pak file path.
  21. #if BUILDFLAG(BUNDLE_WIDEVINE_CDM)
  22. DIR_BUNDLED_WIDEVINE_CDM,
  23. #endif
  24. FILE_CAST_BROWSER_CONFIG,
  25. PATH_END
  26. };
  27. // Call once to register the provider for the path keys defined above.
  28. void RegisterPathProvider();
  29. } // namespace chromecast
  30. #endif // CHROMECAST_BASE_CAST_PATHS_H_