| 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 PATH_CAST_CONFIG, // Config/preferences file path, defaults to |
| 20 // "$HOME/.eureka.conf". |
| 19 PATH_END | 21 PATH_END |
| 20 }; | 22 }; |
| 21 | 23 |
| 22 // Call once to register the provider for the path keys defined above. | 24 // Call once to register the provider for the path keys defined above. |
| 23 void RegisterPathProvider(); | 25 void RegisterPathProvider(); |
| 24 | 26 |
| 25 } // namespace chromecast | 27 } // namespace chromecast |
| 26 | 28 |
| 27 #endif // CHROMECAST_COMMON_CAST_PATHS_H_ | 29 #endif // CHROMECAST_COMMON_CAST_PATHS_H_ |
| OLD | NEW |