| 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 "enable-touchpad-three-finger-click"; | 297 "enable-touchpad-three-finger-click"; |
| 298 | 298 |
| 299 // Enables touch support for screen magnifier. | 299 // Enables touch support for screen magnifier. |
| 300 const char kEnableTouchSupportForScreenMagnifier[] = | 300 const char kEnableTouchSupportForScreenMagnifier[] = |
| 301 "enable-touch-support-for-screen-magnifier"; | 301 "enable-touch-support-for-screen-magnifier"; |
| 302 | 302 |
| 303 // Enables the chromecast support for video player app. | 303 // Enables the chromecast support for video player app. |
| 304 const char kEnableVideoPlayerChromecastSupport[] = | 304 const char kEnableVideoPlayerChromecastSupport[] = |
| 305 "enable-video-player-chromecast-support"; | 305 "enable-video-player-chromecast-support"; |
| 306 | 306 |
| 307 // Enables the VoiceInteraction support. | |
| 308 const char kEnableVoiceInteraction[] = "enable-voice-interaction"; | |
| 309 | |
| 310 // Disables ARC for managed accounts. | 307 // Disables ARC for managed accounts. |
| 311 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; | 308 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; |
| 312 | 309 |
| 313 // Whether to enable forced enterprise re-enrollment. | 310 // Whether to enable forced enterprise re-enrollment. |
| 314 const char kEnterpriseEnableForcedReEnrollment[] = | 311 const char kEnterpriseEnableForcedReEnrollment[] = |
| 315 "enterprise-enable-forced-re-enrollment"; | 312 "enterprise-enable-forced-re-enrollment"; |
| 316 | 313 |
| 317 // Enables the zero-touch enterprise enrollment flow. | 314 // Enables the zero-touch enterprise enrollment flow. |
| 318 const char kEnterpriseEnableZeroTouchEnrollment[] = | 315 const char kEnterpriseEnableZeroTouchEnrollment[] = |
| 319 "enterprise-enable-zero-touch-enrollment"; | 316 "enterprise-enable-zero-touch-enrollment"; |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 512 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 516 kTestCrosGaiaIdMigrationStarted; | 513 kTestCrosGaiaIdMigrationStarted; |
| 517 } | 514 } |
| 518 | 515 |
| 519 bool IsCellularFirstDevice() { | 516 bool IsCellularFirstDevice() { |
| 520 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); | 517 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); |
| 521 } | 518 } |
| 522 | 519 |
| 523 } // namespace switches | 520 } // namespace switches |
| 524 } // namespace chromeos | 521 } // namespace chromeos |
| OLD | NEW |