| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 "enable-network-portal-notification"; | 167 "enable-network-portal-notification"; |
| 168 | 168 |
| 169 // Enables touchpad three-finger-click as middle button. | 169 // Enables touchpad three-finger-click as middle button. |
| 170 const char kEnableTouchpadThreeFingerClick[] | 170 const char kEnableTouchpadThreeFingerClick[] |
| 171 = "enable-touchpad-three-finger-click"; | 171 = "enable-touchpad-three-finger-click"; |
| 172 | 172 |
| 173 // Enables using screenshots in tests and seets mode. | 173 // Enables using screenshots in tests and seets mode. |
| 174 const char kEnableScreenshotTestingWithMode[] = | 174 const char kEnableScreenshotTestingWithMode[] = |
| 175 "enable-screenshot-testing-with-mode"; | 175 "enable-screenshot-testing-with-mode"; |
| 176 | 176 |
| 177 // Enables experimental storage manager to manage local storage. |
| 178 const char kEnableStorageManager[] = "enable-storage-manager"; |
| 179 |
| 177 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather | 180 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather |
| 178 // than the kiosk app mode. | 181 // than the kiosk app mode. |
| 179 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 182 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 180 | 183 |
| 181 // Enables request of tablet site (via user agent override). | 184 // Enables request of tablet site (via user agent override). |
| 182 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 185 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
| 183 | 186 |
| 184 // Disables ARC for managed accounts. | 187 // Disables ARC for managed accounts. |
| 185 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; | 188 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; |
| 186 | 189 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 421 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 419 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 422 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 420 return false; | 423 return false; |
| 421 | 424 |
| 422 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 425 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 423 kTestCrosGaiaIdMigrationStarted; | 426 kTestCrosGaiaIdMigrationStarted; |
| 424 } | 427 } |
| 425 | 428 |
| 426 } // namespace switches | 429 } // namespace switches |
| 427 } // namespace chromeos | 430 } // namespace chromeos |
| OLD | NEW |