OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMECAST_COMMON_CAST_PATHS_H_ | 5 #ifndef CHROMECAST_BASE_CAST_PATHS_H_ |
6 #define CHROMECAST_COMMON_CAST_PATHS_H_ | 6 #define CHROMECAST_BASE_CAST_PATHS_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 // This file declares path keys for the chromecast module. These can be used | 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. | 11 // with the PathService to access various special directories and files. |
12 | 12 |
13 namespace chromecast { | 13 namespace chromecast { |
14 | 14 |
15 enum { | 15 enum { |
16 PATH_START = 8000, | 16 PATH_START = 8000, |
17 | 17 |
18 DIR_CAST_HOME, // Return a modified $HOME which works for both | 18 DIR_CAST_HOME, // Return a modified $HOME which works for both |
19 // development use and the actual device. | 19 // development use and the actual device. |
20 | 20 |
21 #if defined(OS_ANDROID) | 21 #if defined(OS_ANDROID) |
22 FILE_CAST_ANDROID_LOG, // Log file location for Android. | 22 FILE_CAST_ANDROID_LOG, // Log file location for Android. |
23 #endif // defined(OS_ANDROID) | 23 #endif // defined(OS_ANDROID) |
24 FILE_CAST_CONFIG, // Config/preferences file path. | 24 FILE_CAST_CONFIG, // Config/preferences file path. |
25 FILE_CAST_PAK, // cast_shell.pak file path. | 25 FILE_CAST_PAK, // cast_shell.pak file path. |
26 PATH_END | 26 PATH_END |
27 }; | 27 }; |
28 | 28 |
29 // Call once to register the provider for the path keys defined above. | 29 // Call once to register the provider for the path keys defined above. |
30 void RegisterPathProvider(); | 30 void RegisterPathProvider(); |
31 | 31 |
32 } // namespace chromecast | 32 } // namespace chromecast |
33 | 33 |
34 #endif // CHROMECAST_COMMON_CAST_PATHS_H_ | 34 #endif // CHROMECAST_BASE_CAST_PATHS_H_ |
OLD | NEW |