| Index: components/component_updater/component_updater_paths.h
|
| diff --git a/components/component_updater/component_updater_paths.h b/components/component_updater/component_updater_paths.h
|
| index 23f7b53296caa54f750ba7e0638ff6404cc35ebe..7275c2af4a2bb5e803c1f4916447be1c43d72bd5 100644
|
| --- a/components/component_updater/component_updater_paths.h
|
| +++ b/components/component_updater/component_updater_paths.h
|
| @@ -11,24 +11,27 @@ namespace component_updater {
|
|
|
| enum {
|
| PATH_START = 10000,
|
| - DIR_COMPONENT_CLD2 = PATH_START, // Directory that contains component-updated
|
| - // Compact Language Detector files.
|
| - DIR_RECOVERY_BASE, // Full path to the dir for Recovery
|
| - // component.
|
| - DIR_SWIFT_SHADER, // Path to the SwiftShader component.
|
| - DIR_SW_REPORTER, // Path to the SwReporter component.
|
| - DIR_COMPONENT_EV_WHITELIST, // EV whitelist for CT files.
|
| - DIR_SUPERVISED_USER_WHITELISTS, // Supervised user whitelists.
|
| - DIR_CERT_TRANS_TREE_STATES, // Signed Tree Heads for CT logs.
|
| - DIR_ORIGIN_TRIAL_KEYS, // Public keys and revoked tokens for origin
|
| - // trials.
|
| + DIR_COMPONENT_SYSTEM = PATH_START, // Directory that contains system-wide
|
| + // (bundled) component installations.
|
| + DIR_COMPONENT_USER, // Directory that contains user-wide
|
| + // (component-update-delivered) component
|
| + // installations.
|
| + // The following paths live in the user directory only, and point to the base
|
| + // installation directory for the component.
|
| + DIR_COMPONENT_CLD2, // The Compact Language Detector.
|
| + DIR_RECOVERY_BASE, // The Recovery.
|
| + DIR_SWIFT_SHADER, // The SwiftShader.
|
| + DIR_SUPERVISED_USER_WHITELISTS, // The Supervised user whitelists.
|
| PATH_END
|
| };
|
|
|
| // Call once to register the provider for the path keys defined above.
|
| -// |components_root_key| is the path provider key defining where the
|
| -// components should be installed.
|
| -void RegisterPathProvider(int components_root_key);
|
| +// |components_system_root_key| is the path provider key defining where bundled
|
| +// components are already installed system-wide.
|
| +// |components_user_root_key| is the path provider key defining where the
|
| +// component updater should install new versions of components.
|
| +void RegisterPathProvider(int components_system_root_key,
|
| + int components_user_root_key);
|
|
|
| } // namespace component_updater
|
|
|
|
|