OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_COMMON_CHROME_PATHS_H__ | 5 #ifndef CHROME_COMMON_CHROME_PATHS_H__ |
6 #define CHROME_COMMON_CHROME_PATHS_H__ | 6 #define CHROME_COMMON_CHROME_PATHS_H__ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 // This file declares path keys for the chrome module. These can be used with | 10 // This file declares path keys for the chrome module. These can be used with |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // binary data (e.g., html files and images | 96 // binary data (e.g., html files and images |
97 // used by interal pages). | 97 // used by interal pages). |
98 DIR_RESOURCES_EXTENSION, // Full path to extension resources. | 98 DIR_RESOURCES_EXTENSION, // Full path to extension resources. |
99 #if defined(OS_CHROMEOS) | 99 #if defined(OS_CHROMEOS) |
100 DIR_CHROMEOS_WALLPAPERS, // Directory where downloaded chromeos | 100 DIR_CHROMEOS_WALLPAPERS, // Directory where downloaded chromeos |
101 // wallpapers reside. | 101 // wallpapers reside. |
102 DIR_CHROMEOS_WALLPAPER_THUMBNAILS, // Directory where downloaded chromeos | 102 DIR_CHROMEOS_WALLPAPER_THUMBNAILS, // Directory where downloaded chromeos |
103 // wallpaper thumbnails reside. | 103 // wallpaper thumbnails reside. |
104 DIR_CHROMEOS_CUSTOM_WALLPAPERS, // Directory where custom wallpapers | 104 DIR_CHROMEOS_CUSTOM_WALLPAPERS, // Directory where custom wallpapers |
105 // reside. | 105 // reside. |
106 FILE_DEFAULT_APP_ORDER, // Full path to the json file that defines the | |
107 // default app order. | |
108 DIR_USER_POLICY_KEYS, // Directory where the session_manager stores | |
109 // the user policy keys. | |
110 FILE_OWNER_KEY, // Full path to the owner key file. | |
111 FILE_INSTALL_ATTRIBUTES, // Full path to the install attributes file. | |
112 FILE_UPTIME, // Full path to the file via which the kernel | |
113 // exposes the current device uptime. | |
114 FILE_UPDATE_REBOOT_NEEDED_UPTIME, // Full path to a file in which Chrome can | |
115 // store the uptime at which an update | |
116 // became necessary. The file should be | |
117 // cleared on boot. | |
118 #endif | 106 #endif |
119 #if defined(ENABLE_MANAGED_USERS) | 107 #if defined(ENABLE_MANAGED_USERS) |
120 DIR_MANAGED_USERS_DEFAULT_APPS, // Directory where installer places .crx | 108 DIR_MANAGED_USERS_DEFAULT_APPS, // Directory where installer places .crx |
121 // files to be installed when managed user | 109 // files to be installed when managed user |
122 // session starts. | 110 // session starts. |
123 #endif | 111 #endif |
124 | 112 |
125 // Valid only in development environment; TODO(darin): move these | 113 // Valid only in development environment; TODO(darin): move these |
126 DIR_GEN_TEST_DATA, // Directory where generated test data resides. | 114 DIR_GEN_TEST_DATA, // Directory where generated test data resides. |
127 DIR_TEST_DATA, // Directory where unit test data resides. | 115 DIR_TEST_DATA, // Directory where unit test data resides. |
128 DIR_TEST_TOOLS, // Directory where unit test tools reside. | 116 DIR_TEST_TOOLS, // Directory where unit test tools reside. |
129 | 117 |
130 PATH_END | 118 PATH_END |
131 }; | 119 }; |
132 | 120 |
133 // Call once to register the provider for the path keys defined above. | 121 // Call once to register the provider for the path keys defined above. |
134 void RegisterPathProvider(); | 122 void RegisterPathProvider(); |
135 | 123 |
136 } // namespace chrome | 124 } // namespace chrome |
137 | 125 |
138 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 126 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |