Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / chromeos / chromeos_paths.h
1 // Copyright (c) 2013 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 CHROMEOS_CHROMEOS_PATHS_H_
6 #define CHROMEOS_CHROMEOS_PATHS_H_
7
8 #include "chromeos/chromeos_export.h"
9
10 // This file declares path keys for the chromeos module.  These can be used with
11 // the PathService to access various special directories and files.
12
13 namespace chromeos {
14
15 enum {
16   PATH_START = 7000,
17
18   FILE_DEFAULT_APP_ORDER,       // Full path to the json file that defines the
19                                 // default app order.
20   DIR_USER_POLICY_KEYS,         // Directory where the session_manager stores
21                                 // the user policy keys.
22   FILE_OWNER_KEY,               // Full path to the owner key file.
23   FILE_INSTALL_ATTRIBUTES,      // Full path to the install attributes file.
24   FILE_UPTIME,                  // Full path to the file via which the kernel
25                                 // exposes the current device uptime.
26   FILE_UPDATE_REBOOT_NEEDED_UPTIME,  // Full path to a file in which Chrome can
27                                      // store the uptime at which an update
28                                      // became necessary. The file should be
29                                      // cleared on boot.
30   DIR_DEVICE_LOCAL_ACCOUNT_EXTENSIONS,  // Directory under which a cache of
31                                         // force-installed extensions is
32                                         // maintained for each device-local
33                                         // account.
34   DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA,  // Directory where external data
35                                            // referenced by policies is cached
36                                            // for device-local accounts.
37   PATH_END
38 };
39
40 // Call once to register the provider for the path keys defined above.
41 CHROMEOS_EXPORT void RegisterPathProvider();
42
43 }  // namespace chromeos
44
45 #endif  // CHROMEOS_CHROMEOS_PATHS_H_