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