| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 // Disables wallpaper boot animation (except of OOBE case). | 77 // Disables wallpaper boot animation (except of OOBE case). |
| 78 const char kDisableBootAnimation[] = "disable-boot-animation"; | 78 const char kDisableBootAnimation[] = "disable-boot-animation"; |
| 79 | 79 |
| 80 // Disables cloud backup feature. | 80 // Disables cloud backup feature. |
| 81 const char kDisableCloudImport[] = "disable-cloud-import"; | 81 const char kDisableCloudImport[] = "disable-cloud-import"; |
| 82 | 82 |
| 83 // Disables the ChromeOS demo. | 83 // Disables the ChromeOS demo. |
| 84 const char kDisableDemoMode[] = "disable-demo-mode"; | 84 const char kDisableDemoMode[] = "disable-demo-mode"; |
| 85 | 85 |
| 86 // Disable quick view in Files app. |
| 87 const char kDisableFilesQuickView[] = "disable-files-quick-view"; |
| 88 |
| 86 // Disable HID-detection OOBE screen. | 89 // Disable HID-detection OOBE screen. |
| 87 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; | 90 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; |
| 88 | 91 |
| 89 // Avoid doing expensive animations upon login. | 92 // Avoid doing expensive animations upon login. |
| 90 const char kDisableLoginAnimations[] = "disable-login-animations"; | 93 const char kDisableLoginAnimations[] = "disable-login-animations"; |
| 91 | 94 |
| 92 // Disable new channel switcher UI. | 95 // Disable new channel switcher UI. |
| 93 const char kDisableNewChannelSwitcherUI[] = "disable-new-channel-switcher-ui"; | 96 const char kDisableNewChannelSwitcherUI[] = "disable-new-channel-switcher-ui"; |
| 94 | 97 |
| 95 // Disables new Kiosk UI when kiosk apps are represented as user pods. | 98 // Disables new Kiosk UI when kiosk apps are represented as user pods. |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 418 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 416 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 419 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 417 return false; | 420 return false; |
| 418 | 421 |
| 419 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 422 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 420 kTestCrosGaiaIdMigrationStarted; | 423 kTestCrosGaiaIdMigrationStarted; |
| 421 } | 424 } |
| 422 | 425 |
| 423 } // namespace switches | 426 } // namespace switches |
| 424 } // namespace chromeos | 427 } // namespace chromeos |
| OLD | NEW |