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 namespace chromeos { | 7 namespace chromeos { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Enables overriding the Chrome OS board type when running on Linux. | 10 // Enables overriding the Chrome OS board type when running on Linux. |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 // Enables the new NetworkChangeNotifier using the NetworkStateHandler class. | 22 // Enables the new NetworkChangeNotifier using the NetworkStateHandler class. |
23 const char kEnableNewNetworkChangeNotifier[] = | 23 const char kEnableNewNetworkChangeNotifier[] = |
24 "enable-new-network-change-notifier"; | 24 "enable-new-network-change-notifier"; |
25 | 25 |
26 // Enables portal detection and network error handling before auto | 26 // Enables portal detection and network error handling before auto |
27 // update. | 27 // update. |
28 const char kEnableOOBEBlockingUpdate[] = | 28 const char kEnableOOBEBlockingUpdate[] = |
29 "enable-oobe-blocking-update"; | 29 "enable-oobe-blocking-update"; |
30 | 30 |
31 // Enables usage of the new ManagedNetworkConfigurationHandler and | |
32 // NetworkConfigurationHandler singletons. | |
33 const char kUseNewNetworkConfigurationHandlers[] = | |
34 "use-new-network-configuration-handlers"; | |
35 | |
36 // Enables screensaver extensions. | 31 // Enables screensaver extensions. |
37 const char kEnableScreensaverExtensions[] = "enable-screensaver-extensions"; | 32 const char kEnableScreensaverExtensions[] = "enable-screensaver-extensions"; |
38 | 33 |
39 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler) | 34 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler) |
40 const char kEnableStubInteractive[] = "enable-stub-interactive"; | 35 const char kEnableStubInteractive[] = "enable-stub-interactive"; |
41 | 36 |
| 37 // Passed to Chrome on first boot. Not passed on restart after sign out. |
| 38 const char kFirstBoot[] = "first-boot"; |
| 39 |
| 40 // Usually in browser tests the usual login manager bringup is skipped so that |
| 41 // tests can change how it's brought up. This flag disables that. |
| 42 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests"; |
| 43 |
| 44 // Indicates that the browser is in "browse without sign-in" (Guest session) |
| 45 // mode. Should completely disable extensions, sync and bookmarks. |
| 46 const char kGuestSession[] = "bwsi"; |
| 47 |
| 48 // Enables Chrome-as-a-login-manager behavior. |
| 49 const char kLoginManager[] = "login-manager"; |
| 50 |
| 51 // Specifies a password to be used to login (along with login-user). |
| 52 const char kLoginPassword[] = "login-password"; |
| 53 |
| 54 // Specifies the profile to use once a chromeos user is logged in. |
| 55 const char kLoginProfile[] = "login-profile"; |
| 56 |
| 57 // Allows to override the first login screen. The value should be the name of |
| 58 // the first login screen to show (see |
| 59 // chrome/browser/chromeos/login/login_wizard_view.cc for actual names). |
| 60 // Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the |
| 61 // switch is no longer needed for testing. |
| 62 const char kLoginScreen[] = "login-screen"; |
| 63 |
| 64 // Controls the initial login screen size. Pass width,height. |
| 65 const char kLoginScreenSize[] = "login-screen-size"; |
| 66 |
| 67 // Specifies the user which is already logged in. |
| 68 const char kLoginUser[] = "login-user"; |
| 69 |
42 // Sends test messages on first call to RequestUpdate (stub only). | 70 // Sends test messages on first call to RequestUpdate (stub only). |
43 const char kSmsTestMessages[] = "sms-test-messages"; | 71 const char kSmsTestMessages[] = "sms-test-messages"; |
44 | 72 |
45 } // namespace switches | 73 // Enables usage of the new ManagedNetworkConfigurationHandler and |
| 74 // NetworkConfigurationHandler singletons. |
| 75 const char kUseNewNetworkConfigurationHandlers[] = |
| 76 "use-new-network-configuration-handlers"; |
| 77 |
| 78 } // namespace switches |
46 } // namespace chromeos | 79 } // namespace chromeos |
OLD | NEW |