12345678910111213141516171819202122232425262728293031323334353637383940 |
- // Copyright 2014 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef CHROMECAST_BASE_CAST_PATHS_H_
- #define CHROMECAST_BASE_CAST_PATHS_H_
- #include "build/build_config.h"
- #include "third_party/widevine/cdm/buildflags.h"
- // This file declares path keys for the chromecast module. These can be used
- // with the PathService to access various special directories and files.
- namespace chromecast {
- enum {
- PATH_START = 8000,
- DIR_CAST_HOME, // Return a modified $HOME which works for both
- // development use and the actual device.
- #if BUILDFLAG(IS_ANDROID)
- FILE_CAST_ANDROID_LOG, // Log file location for Android.
- #endif
- FILE_CAST_CONFIG, // Config/preferences file path.
- FILE_CAST_CRL, // CRL persistent cache file path.
- FILE_CAST_PAK, // cast_shell.pak file path.
- #if BUILDFLAG(BUNDLE_WIDEVINE_CDM)
- DIR_BUNDLED_WIDEVINE_CDM,
- #endif
- FILE_CAST_BROWSER_CONFIG,
- PATH_END
- };
- // Call once to register the provider for the path keys defined above.
- void RegisterPathProvider();
- } // namespace chromecast
- #endif // CHROMECAST_BASE_CAST_PATHS_H_
|