Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: components/component_updater/component_updater_paths.h

Issue 1937683002: Implement support in DefaultComponentInstaller for picking up bundled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments through #35 Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/chrome_unit_test_suite.cc ('k') | components/component_updater/component_updater_paths.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..94feb661f9595c9c851e26a39701be6fd2abc17f 100644
--- a/components/component_updater/component_updater_paths.h
+++ b/components/component_updater/component_updater_paths.h
@@ -9,26 +9,33 @@
namespace component_updater {
+extern const base::FilePath::CharType kSupervisedUserWhitelistDirName[];
+
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_PREINSTALLED = PATH_START, // Directory that contains component
+ // implementations installed by the
+ // Chrome installer or package
+ // manager.
+ DIR_COMPONENT_USER, // Directory that contains user-wide
+ // (component-updater-installer)
+ // component implementations.
+ // 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
« no previous file with comments | « chrome/test/base/chrome_unit_test_suite.cc ('k') | components/component_updater/component_updater_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698