| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 | 205 |
| 206 // Disables wake on wifi features. | 206 // Disables wake on wifi features. |
| 207 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; | 207 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; |
| 208 | 208 |
| 209 // EAFE path to use for Easy bootstrapping. | 209 // EAFE path to use for Easy bootstrapping. |
| 210 const char kEafePath[] = "eafe-path"; | 210 const char kEafePath[] = "eafe-path"; |
| 211 | 211 |
| 212 // EAFE URL to use for Easy bootstrapping. | 212 // EAFE URL to use for Easy bootstrapping. |
| 213 const char kEafeUrl[] = "eafe-url"; | 213 const char kEafeUrl[] = "eafe-url"; |
| 214 | 214 |
| 215 // Enables AD functionality. |
| 216 const char kEnableAd[] = "enable-ad"; |
| 217 |
| 215 // Enables starting the ARC instance upon session start. | 218 // Enables starting the ARC instance upon session start. |
| 216 const char kEnableArc[] = "enable-arc"; | 219 const char kEnableArc[] = "enable-arc"; |
| 217 | 220 |
| 218 // Enables Data Saver prompt on cellular networks. | 221 // Enables Data Saver prompt on cellular networks. |
| 219 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; | 222 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; |
| 220 | 223 |
| 221 // Shows additional checkboxes in Settings to enable Chrome OS accessibility | 224 // Shows additional checkboxes in Settings to enable Chrome OS accessibility |
| 222 // features that haven't launched yet. | 225 // features that haven't launched yet. |
| 223 const char kEnableExperimentalAccessibilityFeatures[] = | 226 const char kEnableExperimentalAccessibilityFeatures[] = |
| 224 "enable-experimental-accessibility-features"; | 227 "enable-experimental-accessibility-features"; |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 469 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 467 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 470 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 468 return false; | 471 return false; |
| 469 | 472 |
| 470 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 473 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 471 kTestCrosGaiaIdMigrationStarted; | 474 kTestCrosGaiaIdMigrationStarted; |
| 472 } | 475 } |
| 473 | 476 |
| 474 } // namespace switches | 477 } // namespace switches |
| 475 } // namespace chromeos | 478 } // namespace chromeos |
| OLD | NEW |