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_COMMON_CAST_PATHS_H_ |
6 #define CHROMECAST_COMMON_CAST_PATHS_H_ | 6 #define CHROMECAST_COMMON_CAST_PATHS_H_ |
7 | 7 |
8 #include "build/build_config.h" | |
9 | |
8 // 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 |
9 // with the PathService to access various special directories and files. | 11 // with the PathService to access various special directories and files. |
10 | 12 |
11 namespace chromecast { | 13 namespace chromecast { |
12 | 14 |
13 enum { | 15 enum { |
14 PATH_START = 8000, | 16 PATH_START = 8000, |
15 | 17 |
16 DIR_CAST_HOME, // Return a modified $HOME which works for both | 18 DIR_CAST_HOME, // Return a modified $HOME which works for both |
17 // development use and the actual device. | 19 // development use and the actual device. |
18 | 20 |
19 FILE_CAST_CONFIG, // Config/preferences file path. | 21 FILE_CAST_CONFIG, // Config/preferences file path. |
20 FILE_CAST_PAK, // cast_shell.pak file path. | 22 FILE_CAST_PAK, // cast_shell.pak file path. |
23 #if defined(OS_ANDROID) | |
24 FILE_CAST_ANDROID_LOG, | |
byungchul
2014/08/27 18:54:28
alphabetic order?
gunsch
2014/08/28 00:12:08
Done.
| |
25 #endif // defined(OS_ANDROID) | |
21 PATH_END | 26 PATH_END |
22 }; | 27 }; |
23 | 28 |
24 // 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. |
25 void RegisterPathProvider(); | 30 void RegisterPathProvider(); |
26 | 31 |
27 } // namespace chromecast | 32 } // namespace chromecast |
28 | 33 |
29 #endif // CHROMECAST_COMMON_CAST_PATHS_H_ | 34 #endif // CHROMECAST_COMMON_CAST_PATHS_H_ |
OLD | NEW |