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 COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_ | 5 #ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_ |
6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_ | 6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 | 9 |
10 namespace component_updater { | 10 namespace component_updater { |
11 | 11 |
12 enum { | 12 enum { |
13 PATH_START = 10000, | 13 PATH_START = 10000, |
14 DIR_COMPONENT_CLD2 = PATH_START, // Directory that contains component-updated | 14 DIR_COMPONENT_CLD2 = PATH_START, // Directory that contains component-updated |
15 // Compact Language Detector files. | 15 // Compact Language Detector files. |
16 DIR_RECOVERY_BASE, // Full path to the dir for Recovery | 16 DIR_RECOVERY_BASE, // Full path to the dir for Recovery |
17 // component. | 17 // component. |
18 DIR_SWIFT_SHADER, // Path to the SwiftShader component. | 18 DIR_SWIFT_SHADER, // Path to the SwiftShader component. |
19 DIR_SW_REPORTER, // Path to the SwReporter component. | 19 DIR_SW_REPORTER, // Path to the SwReporter component. |
20 DIR_COMPONENT_EV_WHITELIST, // EV whitelist for CT files. | 20 DIR_COMPONENT_EV_WHITELIST, // EV whitelist for CT files. |
21 DIR_SUPERVISED_USER_WHITELISTS, // Supervised user whitelists. | 21 DIR_SUPERVISED_USER_WHITELISTS, // Supervised user whitelists. |
22 DIR_CERT_TRANS_TREE_STATES, // Signed Tree Heads for CT logs. | 22 DIR_CERT_TRANS_TREE_STATES, // Signed Tree Heads for CT logs. |
| 23 DIR_ORIGIN_TRIAL_KEYS, // Public keys and revoked tokens for origin |
| 24 // trials. |
23 PATH_END | 25 PATH_END |
24 }; | 26 }; |
25 | 27 |
26 // Call once to register the provider for the path keys defined above. | 28 // Call once to register the provider for the path keys defined above. |
27 // |components_root_key| is the path provider key defining where the | 29 // |components_root_key| is the path provider key defining where the |
28 // components should be installed. | 30 // components should be installed. |
29 void RegisterPathProvider(int components_root_key); | 31 void RegisterPathProvider(int components_root_key); |
30 | 32 |
31 } // namespace component_updater | 33 } // namespace component_updater |
32 | 34 |
33 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_ | 35 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_ |
OLD | NEW |