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 #include "chrome/common/chrome_constants.h" | 5 #include "chrome/common/chrome_constants.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 | 8 |
9 #define FPL FILE_PATH_LITERAL | 9 #define FPL FILE_PATH_LITERAL |
10 | 10 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 FPL("PepperFlashPlayer.plugin"); | 203 FPL("PepperFlashPlayer.plugin"); |
204 #elif defined(OS_WIN) | 204 #elif defined(OS_WIN) |
205 FPL("pepflashplayer.dll"); | 205 FPL("pepflashplayer.dll"); |
206 #else // OS_LINUX, etc. | 206 #else // OS_LINUX, etc. |
207 FPL("libpepflashplayer.so"); | 207 FPL("libpepflashplayer.so"); |
208 #endif | 208 #endif |
209 | 209 |
210 // directory names | 210 // directory names |
211 const wchar_t kUserDataDirname[] = L"User Data"; | 211 const wchar_t kUserDataDirname[] = L"User Data"; |
212 | 212 |
| 213 #if defined(OS_CHROMEOS) |
| 214 const base::FilePath::CharType kDriveCacheDirname[] = FPL("GCache"); |
| 215 const char kOemDeviceRequisitionKey[] = "oem_device_requisition"; |
| 216 const char kOemIsEnterpriseManagedKey[] = "oem_enterprise_managed"; |
| 217 const char kOemCanExitEnterpriseEnrollmentKey[] = "oem_can_exit_enrollment"; |
| 218 const char kOemKeyboardDrivenOobeKey[] = "oem_keyboard_driven_oobe"; |
| 219 #endif // defined(OS_CHROMEOS) |
| 220 |
213 // We don't enable record mode in the released product because users could | 221 // We don't enable record mode in the released product because users could |
214 // potentially be tricked into running a product in record mode without | 222 // potentially be tricked into running a product in record mode without |
215 // knowing it. Enable in debug builds. Playback mode is allowed always, | 223 // knowing it. Enable in debug builds. Playback mode is allowed always, |
216 // because it is useful for testing and not hazardous by itself. | 224 // because it is useful for testing and not hazardous by itself. |
217 #ifndef NDEBUG | 225 #ifndef NDEBUG |
218 // const bool kRecordModeEnabled = true; | 226 // const bool kRecordModeEnabled = true; |
219 #else | 227 #else |
220 // const bool kRecordModeEnabled = false; | 228 // const bool kRecordModeEnabled = false; |
221 #endif | 229 #endif |
222 | 230 |
(...skipping 26 matching lines...) Expand all Loading... |
249 const wchar_t kMetroGetCurrentTabInfoMessage[] = | 257 const wchar_t kMetroGetCurrentTabInfoMessage[] = |
250 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; | 258 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; |
251 const wchar_t kMetroRegistryPath[] = | 259 const wchar_t kMetroRegistryPath[] = |
252 L"Software\\" PRODUCT_STRING_PATH L"\\Metro"; | 260 L"Software\\" PRODUCT_STRING_PATH L"\\Metro"; |
253 const wchar_t kLaunchModeValue[] = L"launch_mode"; | 261 const wchar_t kLaunchModeValue[] = L"launch_mode"; |
254 #endif | 262 #endif |
255 | 263 |
256 } // namespace chrome | 264 } // namespace chrome |
257 | 265 |
258 #undef FPL | 266 #undef FPL |
OLD | NEW |