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 // This file declares path keys for the chromecast module. These can be used | 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. | 9 // with the PathService to access various special directories and files. |
10 | 10 |
11 namespace chromecast { | 11 namespace chromecast { |
12 | 12 |
13 enum { | 13 enum { |
14 PATH_START = 8000, | 14 PATH_START = 8000, |
15 | 15 |
16 DIR_CAST_HOME, // Return a modified $HOME which works for both | 16 DIR_CAST_HOME, // Return a modified $HOME which works for both |
17 // development use and the actual device. | 17 // development use and the actual device. |
18 | 18 |
| 19 FILE_CAST_CONFIG, // Config/preferences file path. |
19 PATH_END | 20 PATH_END |
20 }; | 21 }; |
21 | 22 |
22 // Call once to register the provider for the path keys defined above. | 23 // Call once to register the provider for the path keys defined above. |
23 void RegisterPathProvider(); | 24 void RegisterPathProvider(); |
24 | 25 |
25 } // namespace chromecast | 26 } // namespace chromecast |
26 | 27 |
27 #endif // CHROMECAST_COMMON_CAST_PATHS_H_ | 28 #endif // CHROMECAST_COMMON_CAST_PATHS_H_ |
OLD | NEW |