OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROMEOS_CHROMEOS_PATHS_H_ | 5 #ifndef CHROMEOS_CHROMEOS_PATHS_H_ |
6 #define CHROMEOS_CHROMEOS_PATHS_H_ | 6 #define CHROMEOS_CHROMEOS_PATHS_H_ |
7 | 7 |
8 #include "chromeos/chromeos_export.h" | 8 #include "chromeos/chromeos_export.h" |
9 | 9 |
10 // This file declares path keys for the chromeos module. These can be used with | 10 // This file declares path keys for the chromeos module. These can be used with |
11 // the PathService to access various special directories and files. | 11 // the PathService to access various special directories and files. |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 enum { | 15 enum { |
16 PATH_START = 7000, | 16 PATH_START = 7000, |
17 | 17 FILE_DEFAULT_APP_ORDER, // Full path to the json file that defines the |
18 FILE_DEFAULT_APP_ORDER, // Full path to the json file that defines the | 18 // default app order. |
19 // default app order. | 19 DIR_USER_POLICY_KEYS, // Directory where the session_manager stores |
20 DIR_USER_POLICY_KEYS, // Directory where the session_manager stores | 20 // the user policy keys. |
21 // the user policy keys. | 21 FILE_OWNER_KEY, // Full path to the owner key file. |
22 FILE_OWNER_KEY, // Full path to the owner key file. | 22 FILE_INSTALL_ATTRIBUTES, // Full path to the install attributes file. |
23 FILE_INSTALL_ATTRIBUTES, // Full path to the install attributes file. | 23 FILE_UPTIME, // Full path to the file via which the kernel |
24 FILE_UPTIME, // Full path to the file via which the kernel | 24 // exposes the current device uptime. |
25 // exposes the current device uptime. | |
26 FILE_UPDATE_REBOOT_NEEDED_UPTIME, // Full path to a file in which Chrome can | 25 FILE_UPDATE_REBOOT_NEEDED_UPTIME, // Full path to a file in which Chrome can |
27 // store the uptime at which an update | 26 // store the uptime at which an update |
28 // became necessary. The file should be | 27 // became necessary. The file should be |
29 // cleared on boot. | 28 // cleared on boot. |
30 DIR_DEVICE_LOCAL_ACCOUNT_EXTENSIONS, // Directory under which a cache of | 29 DIR_DEVICE_LOCAL_ACCOUNT_EXTENSIONS, // Directory under which a cache of |
31 // force-installed extensions is | 30 // force-installed extensions is |
32 // maintained for each device-local | 31 // maintained for each device-local |
33 // account. | 32 // account. |
34 DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA, // Directory where external data | 33 DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA, // Directory where external data |
35 // referenced by policies is cached | 34 // referenced by policies is cached |
36 // for device-local accounts. | 35 // for device-local accounts. |
| 36 DIR_KIOSK_EXTENSIONS_CACHE, // Directory where kiosk app extensions are |
| 37 // cached. |
37 PATH_END | 38 PATH_END |
38 }; | 39 }; |
39 | 40 |
40 // Call once to register the provider for the path keys defined above. | 41 // Call once to register the provider for the path keys defined above. |
41 CHROMEOS_EXPORT void RegisterPathProvider(); | 42 CHROMEOS_EXPORT void RegisterPathProvider(); |
42 | 43 |
43 } // namespace chromeos | 44 } // namespace chromeos |
44 | 45 |
45 #endif // CHROMEOS_CHROMEOS_PATHS_H_ | 46 #endif // CHROMEOS_CHROMEOS_PATHS_H_ |
OLD | NEW |