| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 // rather than the kiosk app mode. | 241 // rather than the kiosk app mode. |
| 242 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 242 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 243 | 243 |
| 244 // Enables material design OOBE UI. | 244 // Enables material design OOBE UI. |
| 245 const char kEnableMdOobe[] = "enable-md-oobe"; | 245 const char kEnableMdOobe[] = "enable-md-oobe"; |
| 246 | 246 |
| 247 // Enables notifications about captive portals in session. | 247 // Enables notifications about captive portals in session. |
| 248 const char kEnableNetworkPortalNotification[] = | 248 const char kEnableNetworkPortalNotification[] = |
| 249 "enable-network-portal-notification"; | 249 "enable-network-portal-notification"; |
| 250 | 250 |
| 251 // Enables storage manager in MD Settings. | |
| 252 const char kEnableMdStorageManager[] = "enable-md-storage-manager"; | |
| 253 | |
| 254 // Enables suggestions while typing on a physical keyboard. | 251 // Enables suggestions while typing on a physical keyboard. |
| 255 const char kEnablePhysicalKeyboardAutocorrect[] = | 252 const char kEnablePhysicalKeyboardAutocorrect[] = |
| 256 "enable-physical-keyboard-autocorrect"; | 253 "enable-physical-keyboard-autocorrect"; |
| 257 | 254 |
| 258 // Enables request of tablet site (via user agent override). | 255 // Enables request of tablet site (via user agent override). |
| 259 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 256 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
| 260 | 257 |
| 261 // Enables using screenshots in tests and seets mode. | 258 // Enables using screenshots in tests and seets mode. |
| 262 const char kEnableScreenshotTestingWithMode[] = | 259 const char kEnableScreenshotTestingWithMode[] = |
| 263 "enable-screenshot-testing-with-mode"; | 260 "enable-screenshot-testing-with-mode"; |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 468 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 472 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 469 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 473 return false; | 470 return false; |
| 474 | 471 |
| 475 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 472 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 476 kTestCrosGaiaIdMigrationStarted; | 473 kTestCrosGaiaIdMigrationStarted; |
| 477 } | 474 } |
| 478 | 475 |
| 479 } // namespace switches | 476 } // namespace switches |
| 480 } // namespace chromeos | 477 } // namespace chromeos |
| OLD | NEW |