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

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

Issue 334783002: Componentize component_updater: Move some paths/constants to component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_COMPONENT_UPDATER_COMMON_COMPONENT_UPDATER_PATHS_H_
6 #define COMPONENTS_COMPONENT_UPDATER_COMMON_COMPONENT_UPDATER_PATHS_H_
7
8 #include "base/files/file_path.h"
9
10 namespace component_updater {
11
12 enum {
13 PATH_START = 10000,
Sorin Jianu 2014/06/30 22:27:53 How did we come up with this hard-coded value here
tommycli 2014/07/01 00:03:04 PATH_START must be different for each PathProvider
14 DIR_COMPONENT_CLD2 = PATH_START, // Directory that contains component-updated
15 // Compact Language Detector files.
16 DIR_RECOVERY_BASE, // Full path to the dir for Recovery
17 // component.
18 DIR_SWIFT_SHADER, // Path to the SwiftShader component.
19 PATH_END
20 };
21
22 // Call once to register the provider for the path keys defined above.
23 // |components_root_key| is the path provider key defining where the
24 // components should be installed.
25 void RegisterPathProvider(const base::FilePath& components_root_key);
26
27 } // namespace component_updater
28
29 #endif // COMPONENTS_COMPONENT_UPDATER_COMMON_COMPONENT_UPDATER_PATHS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698