| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 // Enables quick view in Files app. | 239 // Enables quick view in Files app. |
| 240 const char kEnableFilesQuickView[] = "enable-files-quick-view"; | 240 const char kEnableFilesQuickView[] = "enable-files-quick-view"; |
| 241 | 241 |
| 242 // Enables animated transitions during first-run tutorial. | 242 // Enables animated transitions during first-run tutorial. |
| 243 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; | 243 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; |
| 244 | 244 |
| 245 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode | 245 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode |
| 246 // rather than the kiosk app mode. | 246 // rather than the kiosk app mode. |
| 247 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 247 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 248 | 248 |
| 249 // Enables material design OOBE UI. | 249 // Disables material design OOBE UI. |
| 250 const char kEnableMdOobe[] = "enable-md-oobe"; | 250 const char kDisableMdOobe[] = "disable-md-oobe"; |
| 251 | 251 |
| 252 // Enables notifications about captive portals in session. | 252 // Enables notifications about captive portals in session. |
| 253 const char kEnableNetworkPortalNotification[] = | 253 const char kEnableNetworkPortalNotification[] = |
| 254 "enable-network-portal-notification"; | 254 "enable-network-portal-notification"; |
| 255 | 255 |
| 256 // Enables suggestions while typing on a physical keyboard. | 256 // Enables suggestions while typing on a physical keyboard. |
| 257 const char kEnablePhysicalKeyboardAutocorrect[] = | 257 const char kEnablePhysicalKeyboardAutocorrect[] = |
| 258 "enable-physical-keyboard-autocorrect"; | 258 "enable-physical-keyboard-autocorrect"; |
| 259 | 259 |
| 260 // Enables request of tablet site (via user agent override). | 260 // Enables request of tablet site (via user agent override). |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 473 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 474 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 474 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 475 return false; | 475 return false; |
| 476 | 476 |
| 477 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 477 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 478 kTestCrosGaiaIdMigrationStarted; | 478 kTestCrosGaiaIdMigrationStarted; |
| 479 } | 479 } |
| 480 | 480 |
| 481 } // namespace switches | 481 } // namespace switches |
| 482 } // namespace chromeos | 482 } // namespace chromeos |
| OLD | NEW |