| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // Disables material design OOBE UI. | 249 // Disables material design OOBE UI. |
| 250 const char kDisableMdOobe[] = "disable-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 storage manager in MD Settings. |
| 257 const char kEnableMdStorageManager[] = "enable-md-storage-manager"; |
| 258 |
| 256 // Enables suggestions while typing on a physical keyboard. | 259 // Enables suggestions while typing on a physical keyboard. |
| 257 const char kEnablePhysicalKeyboardAutocorrect[] = | 260 const char kEnablePhysicalKeyboardAutocorrect[] = |
| 258 "enable-physical-keyboard-autocorrect"; | 261 "enable-physical-keyboard-autocorrect"; |
| 259 | 262 |
| 260 // Enables request of tablet site (via user agent override). | 263 // Enables request of tablet site (via user agent override). |
| 261 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 264 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
| 262 | 265 |
| 263 // Enables using screenshots in tests and seets mode. | 266 // Enables using screenshots in tests and seets mode. |
| 264 const char kEnableScreenshotTestingWithMode[] = | 267 const char kEnableScreenshotTestingWithMode[] = |
| 265 "enable-screenshot-testing-with-mode"; | 268 "enable-screenshot-testing-with-mode"; |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 476 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 474 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 477 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 475 return false; | 478 return false; |
| 476 | 479 |
| 477 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 480 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 478 kTestCrosGaiaIdMigrationStarted; | 481 kTestCrosGaiaIdMigrationStarted; |
| 479 } | 482 } |
| 480 | 483 |
| 481 } // namespace switches | 484 } // namespace switches |
| 482 } // namespace chromeos | 485 } // namespace chromeos |
| OLD | NEW |