chromeos_paths.h revision c2e0dbddbe15c98d52c4786dac06cb8952a8ae6d
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
13namespace chromeos {
14
15enum {
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
31  PATH_END
32};
33
34// Call once to register the provider for the path keys defined above.
35CHROMEOS_EXPORT void RegisterPathProvider();
36
37}  // namespace chromeos
38
39#endif  // CHROMEOS_CHROMEOS_PATHS_H_
40