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

Side by Side Diff: components/component_updater/component_updater_paths.h

Issue 321473003: Elevated install of recovery component (component update part) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/component_updater/component_updater_paths.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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_SECURE_RECOVERY_BASE, // Full path to the dir for elevated
19 // recovery component install.
18 DIR_SWIFT_SHADER, // Path to the SwiftShader component. 20 DIR_SWIFT_SHADER, // Path to the SwiftShader component.
19 DIR_SW_REPORTER, // Path to the SwReporter component. 21 DIR_SW_REPORTER, // Path to the SwReporter component.
20 PATH_END 22 PATH_END
21 }; 23 };
22 24
23 // Call once to register the provider for the path keys defined above. 25 // Call once to register the provider for the path keys defined above.
24 // |components_root_key| is the path provider key defining where the 26 // |components_root_key| is the path provider key defining where the
25 // components should be installed. 27 // components should be installed.
26 void RegisterPathProvider(const base::FilePath& components_root_key); 28 void RegisterPathProvider(const base::FilePath& components_root_key);
27 29
28 } // namespace component_updater 30 } // namespace component_updater
29 31
30 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_ 32 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/component_updater/component_updater_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698