• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
5 #ifndef CHROMECAST_COMMON_CAST_PATHS_H_
6 #define CHROMECAST_COMMON_CAST_PATHS_H_
7 
8 #include "build/build_config.h"
9 
10 // This file declares path keys for the chromecast module.  These can be used
11 // with the PathService to access various special directories and files.
12 
13 namespace chromecast {
14 
15 enum {
16   PATH_START = 8000,
17 
18   DIR_CAST_HOME,    // Return a modified $HOME which works for both
19                     // development use and the actual device.
20 
21 #if defined(OS_ANDROID)
22   FILE_CAST_ANDROID_LOG, // Log file location for Android.
23 #endif  // defined(OS_ANDROID)
24   FILE_CAST_CONFIG, // Config/preferences file path.
25   FILE_CAST_PAK,    // cast_shell.pak file path.
26   PATH_END
27 };
28 
29 // Call once to register the provider for the path keys defined above.
30 void RegisterPathProvider();
31 
32 }  // namespace chromecast
33 
34 #endif  // CHROMECAST_COMMON_CAST_PATHS_H_
35