| 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 | |
| 221 // We don't enable record mode in the released product because users could | 213 // We don't enable record mode in the released product because users could |
| 222 // potentially be tricked into running a product in record mode without | 214 // potentially be tricked into running a product in record mode without |
| 223 // knowing it. Enable in debug builds. Playback mode is allowed always, | 215 // knowing it. Enable in debug builds. Playback mode is allowed always, |
| 224 // because it is useful for testing and not hazardous by itself. | 216 // because it is useful for testing and not hazardous by itself. |
| 225 #ifndef NDEBUG | 217 #ifndef NDEBUG |
| 226 // const bool kRecordModeEnabled = true; | 218 // const bool kRecordModeEnabled = true; |
| 227 #else | 219 #else |
| 228 // const bool kRecordModeEnabled = false; | 220 // const bool kRecordModeEnabled = false; |
| 229 #endif | 221 #endif |
| 230 | 222 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 257 const wchar_t kMetroGetCurrentTabInfoMessage[] = | 249 const wchar_t kMetroGetCurrentTabInfoMessage[] = |
| 258 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; | 250 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; |
| 259 const wchar_t kMetroRegistryPath[] = | 251 const wchar_t kMetroRegistryPath[] = |
| 260 L"Software\\" PRODUCT_STRING_PATH L"\\Metro"; | 252 L"Software\\" PRODUCT_STRING_PATH L"\\Metro"; |
| 261 const wchar_t kLaunchModeValue[] = L"launch_mode"; | 253 const wchar_t kLaunchModeValue[] = L"launch_mode"; |
| 262 #endif | 254 #endif |
| 263 | 255 |
| 264 } // namespace chrome | 256 } // namespace chrome |
| 265 | 257 |
| 266 #undef FPL | 258 #undef FPL |
| OLD | NEW |