| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 // features that haven't launched yet. | 258 // features that haven't launched yet. |
| 259 const char kEnableExperimentalAccessibilityFeatures[] = | 259 const char kEnableExperimentalAccessibilityFeatures[] = |
| 260 "enable-experimental-accessibility-features"; | 260 "enable-experimental-accessibility-features"; |
| 261 | 261 |
| 262 // Enables sharing assets for installed default apps. | 262 // Enables sharing assets for installed default apps. |
| 263 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; | 263 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; |
| 264 | 264 |
| 265 // Enables animated transitions during first-run tutorial. | 265 // Enables animated transitions during first-run tutorial. |
| 266 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; | 266 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; |
| 267 | 267 |
| 268 // Enables action handler apps (e.g. creating new notes) on lock screen. |
| 269 const char kEnableLockScreenApps[] = "enable-lock-screen-apps"; |
| 270 |
| 268 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode | 271 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode |
| 269 // rather than the kiosk app mode. | 272 // rather than the kiosk app mode. |
| 270 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 273 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 271 | 274 |
| 272 // Enables tethering to nearby LTE devices. | 275 // Enables tethering to nearby LTE devices. |
| 273 const char kEnableTether[] = "enable-tether"; | 276 const char kEnableTether[] = "enable-tether"; |
| 274 | 277 |
| 275 // Disables material design OOBE UI. | 278 // Disables material design OOBE UI. |
| 276 const char kDisableMdOobe[] = "disable-md-oobe"; | 279 const char kDisableMdOobe[] = "disable-md-oobe"; |
| 277 | 280 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 528 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 526 kTestCrosGaiaIdMigrationStarted; | 529 kTestCrosGaiaIdMigrationStarted; |
| 527 } | 530 } |
| 528 | 531 |
| 529 bool IsCellularFirstDevice() { | 532 bool IsCellularFirstDevice() { |
| 530 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); | 533 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); |
| 531 } | 534 } |
| 532 | 535 |
| 533 } // namespace switches | 536 } // namespace switches |
| 534 } // namespace chromeos | 537 } // namespace chromeos |
| OLD | NEW |