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

Side by Side 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 unified diff | Download patch
OLDNEW
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 extern const base::FilePath::CharType kSupervisedUserWhitelistDirName[];
13
12 enum { 14 enum {
13 PATH_START = 10000, 15 PATH_START = 10000,
14 DIR_COMPONENT_CLD2 = PATH_START, // Directory that contains component-updated 16 DIR_COMPONENT_PREINSTALLED = PATH_START, // Directory that contains component
15 // Compact Language Detector files. 17 // implementations installed by the
16 DIR_RECOVERY_BASE, // Full path to the dir for Recovery 18 // Chrome installer or package
17 // component. 19 // manager.
18 DIR_SWIFT_SHADER, // Path to the SwiftShader component. 20 DIR_COMPONENT_USER, // Directory that contains user-wide
19 DIR_SW_REPORTER, // Path to the SwReporter component. 21 // (component-updater-installer)
20 DIR_COMPONENT_EV_WHITELIST, // EV whitelist for CT files. 22 // component implementations.
21 DIR_SUPERVISED_USER_WHITELISTS, // Supervised user whitelists. 23 // The following paths live in the user directory only, and point to the base
22 DIR_CERT_TRANS_TREE_STATES, // Signed Tree Heads for CT logs. 24 // installation directory for the component.
23 DIR_ORIGIN_TRIAL_KEYS, // Public keys and revoked tokens for origin 25 DIR_COMPONENT_CLD2, // The Compact Language Detector.
24 // trials. 26 DIR_RECOVERY_BASE, // The Recovery.
27 DIR_SWIFT_SHADER, // The SwiftShader.
28 DIR_SUPERVISED_USER_WHITELISTS, // The Supervised user whitelists.
25 PATH_END 29 PATH_END
26 }; 30 };
27 31
28 // Call once to register the provider for the path keys defined above. 32 // Call once to register the provider for the path keys defined above.
29 // |components_root_key| is the path provider key defining where the 33 // |components_system_root_key| is the path provider key defining where bundled
30 // components should be installed. 34 // components are already installed system-wide.
31 void RegisterPathProvider(int components_root_key); 35 // |components_user_root_key| is the path provider key defining where the
36 // component updater should install new versions of components.
37 void RegisterPathProvider(int components_system_root_key,
38 int components_user_root_key);
32 39
33 } // namespace component_updater 40 } // namespace component_updater
34 41
35 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_ 42 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_
OLDNEW
« 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