| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 // Disables Data Saver prompt on cellular networks. | 159 // Disables Data Saver prompt on cellular networks. |
| 160 const char kDisableDataSaverPrompt[] = "disable-datasaver-prompt"; | 160 const char kDisableDataSaverPrompt[] = "disable-datasaver-prompt"; |
| 161 | 161 |
| 162 // Disables the Chrome OS demo. | 162 // Disables the Chrome OS demo. |
| 163 const char kDisableDemoMode[] = "disable-demo-mode"; | 163 const char kDisableDemoMode[] = "disable-demo-mode"; |
| 164 | 164 |
| 165 // If this switch is set, the device cannot be remotely disabled by its owner. | 165 // If this switch is set, the device cannot be remotely disabled by its owner. |
| 166 const char kDisableDeviceDisabling[] = "disable-device-disabling"; | 166 const char kDisableDeviceDisabling[] = "disable-device-disabling"; |
| 167 | 167 |
| 168 // Disable encryption migration for user's cryptohome to run latest Arc. |
| 169 const char kDisableEncryptionMigration[] = "disable-encryption-migration"; |
| 170 |
| 168 // Disables notification when device is in end of life status. | 171 // Disables notification when device is in end of life status. |
| 169 const char kDisableEolNotification[] = "disable-eol-notification"; | 172 const char kDisableEolNotification[] = "disable-eol-notification"; |
| 170 | 173 |
| 171 // Disables GAIA services such as enrollment and OAuth session restore. Used by | 174 // Disables GAIA services such as enrollment and OAuth session restore. Used by |
| 172 // 'fake' telemetry login. | 175 // 'fake' telemetry login. |
| 173 const char kDisableGaiaServices[] = "disable-gaia-services"; | 176 const char kDisableGaiaServices[] = "disable-gaia-services"; |
| 174 | 177 |
| 175 // Disables HID-detection OOBE screen. | 178 // Disables HID-detection OOBE screen. |
| 176 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; | 179 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; |
| 177 | 180 |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 525 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 523 kTestCrosGaiaIdMigrationStarted; | 526 kTestCrosGaiaIdMigrationStarted; |
| 524 } | 527 } |
| 525 | 528 |
| 526 bool IsCellularFirstDevice() { | 529 bool IsCellularFirstDevice() { |
| 527 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); | 530 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); |
| 528 } | 531 } |
| 529 | 532 |
| 530 } // namespace switches | 533 } // namespace switches |
| 531 } // namespace chromeos | 534 } // namespace chromeos |
| OLD | NEW |