| 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 "chromeos/chromeos_switches.h" | 5 #include "chromeos/chromeos_switches.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // Default large wallpaper to use for kids accounts (as path to trusted, | 69 // Default large wallpaper to use for kids accounts (as path to trusted, |
| 70 // non-user-writable JPEG file). | 70 // non-user-writable JPEG file). |
| 71 const char kChildWallpaperLarge[] = "child-wallpaper-large"; | 71 const char kChildWallpaperLarge[] = "child-wallpaper-large"; |
| 72 | 72 |
| 73 // Default small wallpaper to use for kids accounts (as path to trusted, | 73 // Default small wallpaper to use for kids accounts (as path to trusted, |
| 74 // non-user-writable JPEG file). | 74 // non-user-writable JPEG file). |
| 75 const char kChildWallpaperSmall[] = "child-wallpaper-small"; | 75 const char kChildWallpaperSmall[] = "child-wallpaper-small"; |
| 76 | 76 |
| 77 const char kConservativeThreshold[] = "conservative"; | 77 const char kConservativeThreshold[] = "conservative"; |
| 78 | 78 |
| 79 // Specifies the URL of the consumer device management backend. | |
| 80 const char kConsumerDeviceManagementUrl[] = "consumer-device-management-url"; | |
| 81 | |
| 82 // Forces CrOS region value. | 79 // Forces CrOS region value. |
| 83 const char kCrosRegion[] = "cros-region"; | 80 const char kCrosRegion[] = "cros-region"; |
| 84 | 81 |
| 85 // Control regions data load ("" is default). | 82 // Control regions data load ("" is default). |
| 86 const char kCrosRegionsMode[] = "cros-regions-mode"; | 83 const char kCrosRegionsMode[] = "cros-regions-mode"; |
| 87 | 84 |
| 88 // "Override" value for kCrosRegionsMode (region's data is read first). | 85 // "Override" value for kCrosRegionsMode (region's data is read first). |
| 89 const char kCrosRegionsModeOverride[] = "override"; | 86 const char kCrosRegionsModeOverride[] = "override"; |
| 90 | 87 |
| 91 // "Hide" value for kCrosRegionsMode (VPD values are hidden). | 88 // "Hide" value for kCrosRegionsMode (VPD values are hidden). |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 212 |
| 216 // EAFE path to use for Easy bootstrapping. | 213 // EAFE path to use for Easy bootstrapping. |
| 217 const char kEafePath[] = "eafe-path"; | 214 const char kEafePath[] = "eafe-path"; |
| 218 | 215 |
| 219 // EAFE URL to use for Easy bootstrapping. | 216 // EAFE URL to use for Easy bootstrapping. |
| 220 const char kEafeUrl[] = "eafe-url"; | 217 const char kEafeUrl[] = "eafe-url"; |
| 221 | 218 |
| 222 // Enables starting the ARC instance upon session start. | 219 // Enables starting the ARC instance upon session start. |
| 223 const char kEnableArc[] = "enable-arc"; | 220 const char kEnableArc[] = "enable-arc"; |
| 224 | 221 |
| 225 // Enables consumer management, which allows user to enroll, remotely lock and | |
| 226 // locate the device. | |
| 227 const char kEnableConsumerManagement[] = "enable-consumer-management"; | |
| 228 | |
| 229 // Enables Data Saver prompt on cellular networks. | 222 // Enables Data Saver prompt on cellular networks. |
| 230 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; | 223 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; |
| 231 | 224 |
| 232 // Shows additional checkboxes in Settings to enable Chrome OS accessibility | 225 // Shows additional checkboxes in Settings to enable Chrome OS accessibility |
| 233 // features that haven't launched yet. | 226 // features that haven't launched yet. |
| 234 const char kEnableExperimentalAccessibilityFeatures[] = | 227 const char kEnableExperimentalAccessibilityFeatures[] = |
| 235 "enable-experimental-accessibility-features"; | 228 "enable-experimental-accessibility-features"; |
| 236 | 229 |
| 237 // Enables sharing assets for installed default apps. | 230 // Enables sharing assets for installed default apps. |
| 238 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; | 231 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 465 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 473 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 466 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 474 return false; | 467 return false; |
| 475 | 468 |
| 476 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 469 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 477 kTestCrosGaiaIdMigrationStarted; | 470 kTestCrosGaiaIdMigrationStarted; |
| 478 } | 471 } |
| 479 | 472 |
| 480 } // namespace switches | 473 } // namespace switches |
| 481 } // namespace chromeos | 474 } // namespace chromeos |
| OLD | NEW |