| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b25189567e240e466d5dd57cfaebe163c1a95079
|
| --- /dev/null
|
| +++ b/components/component_updater/component_updater_paths.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_
|
| +#define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_
|
| +
|
| +#include "base/files/file_path.h"
|
| +
|
| +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.
|
| + 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(const base::FilePath& components_root_key);
|
| +
|
| +} // namespace component_updater
|
| +
|
| +#endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_
|
|
|