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

Unified Diff: components/component_updater/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: add component updater to common dependency list 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/component_updater/DEPS ('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
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_
« no previous file with comments | « components/component_updater/DEPS ('k') | components/component_updater/component_updater_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698