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 |
18 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 |
19 // default app order. | 19 // default app order. |
20 DIR_USER_POLICY_KEYS, // Directory where the session_manager stores | 20 DIR_USER_POLICY_KEYS, // Directory where the session_manager stores |
21 // the user policy keys. | 21 // the user policy keys. |
22 FILE_OWNER_KEY, // Full path to the owner key file. | 22 FILE_OWNER_KEY, // Full path to the owner key file. |
23 FILE_INSTALL_ATTRIBUTES, // Full path to the install attributes file. | 23 FILE_INSTALL_ATTRIBUTES, // Full path to the install attributes file. |
24 FILE_UPTIME, // Full path to the file via which the kernel | 24 FILE_UPTIME, // Full path to the file via which the kernel |
25 // 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 | 26 FILE_UPDATE_REBOOT_NEEDED_UPTIME, // Full path to a file in which Chrome can |
27 // store the uptime at which an update | 27 // store the uptime at which an update |
28 // became necessary. The file should be | 28 // became necessary. The file should be |
29 // cleared on boot. | 29 // cleared on boot. |
| 30 DIR_DEVICE_LOCAL_ACCOUNT_CACHE, // Directory under which a cache of |
| 31 // force-installed extensions is maintained |
| 32 // for each device-local account. |
30 | 33 |
31 PATH_END | 34 PATH_END |
32 }; | 35 }; |
33 | 36 |
34 // Call once to register the provider for the path keys defined above. | 37 // Call once to register the provider for the path keys defined above. |
35 CHROMEOS_EXPORT void RegisterPathProvider(); | 38 CHROMEOS_EXPORT void RegisterPathProvider(); |
36 | 39 |
37 } // namespace chromeos | 40 } // namespace chromeos |
38 | 41 |
39 #endif // CHROMEOS_CHROMEOS_PATHS_H_ | 42 #endif // CHROMEOS_CHROMEOS_PATHS_H_ |
OLD | NEW |