[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / components / component_updater / component_updater_paths.h
1 // Copyright 2014 The Chromium Authors
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_COMPONENT_UPDATER_PATHS_H_
6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_
7
8 namespace component_updater {
9
10 enum {
11   PATH_START = 10000,
12   DIR_COMPONENT_PREINSTALLED = PATH_START,  // Directory that contains component
13                                             // implementations installed by the
14                                             // Chrome installer or package
15                                             // manager.
16   DIR_COMPONENT_PREINSTALLED_ALT,           // A second preinstalled directory,
17                                             // necessary because some components
18                                             // live in a distinct directory on
19                                             // OS X. On other platforms, this
20                                             // ultimately is equivalent to
21                                             // DIR_COMPONENT_PREINSTALLED.
22   DIR_COMPONENT_USER,                       // Directory that contains user-wide
23                                             // (component-updater-installer)
24                                             // component implementations.
25   // The following paths live in the user directory only, and point to the base
26   // installation directory for the component.
27   DIR_COMPONENT_CLD2,              // The Compact Language Detector.
28   DIR_RECOVERY_BASE,               // The Recovery.
29   DIR_SWIFT_SHADER,                // The SwiftShader.
30   PATH_END
31 };
32
33 // Call once to register the provider for the path keys defined above.
34 // |components_system_root_key| is the path provider key defining where bundled
35 // components are already installed system-wide.
36 // |components_system_root_key_alt| is the path provider key defining an
37 // alternate location where bundled components are already installed
38 // system-wide. On most platforms this is the directory in which Chrome plug-ins
39 // are stored; on platforms where there is no good alternate value, callers
40 // should provide the same value that they use for |components_system_root_key|.
41 // |components_user_root_key| is the path provider key defining where the
42 // component updater should install new versions of components.
43 void RegisterPathProvider(int components_system_root_key,
44                           int components_system_root_key_alt,
45                           int components_user_root_key);
46
47 }  // namespace component_updater
48
49 #endif  // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_PATHS_H_