Make sure account reconcilor only works for connected profiles.
[chromium-blink-merge.git] / chromeos / chromeos_switches.cc
blobac9e8c16ab21581530ec211820819e917386b614
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
3 // found in the LICENSE file.
5 #include "chromeos/chromeos_switches.h"
7 namespace chromeos {
8 namespace switches {
10 // Path for app's OEM manifest file.
11 const char kAppOemManifestFile[] = "app-mode-oem-manifest";
13 // When wallpaper boot animation is not disabled this switch
14 // is used to override OOBE/sign in WebUI init type.
15 // Possible values: parallel|postpone. Default: parallel.
16 const char kAshWebUIInit[] = "ash-webui-init";
18 // Enables overriding the path for the default authentication extension.
19 const char kAuthExtensionPath[] = "auth-ext-path";
21 // Enables overriding the Chrome OS board type when running on Linux.
22 const char kChromeOSReleaseBoard[] = "chromeos-release-board";
24 // Forces the stub implementation of dbus clients.
25 const char kDbusStub[] = "dbus-stub";
27 // All stub networks are idle by default.
28 const char kDefaultStubNetworkStateIdle[] = "default-stub-network-state-idle";
30 // Disables wallpaper boot animation (except of OOBE case).
31 const char kDisableBootAnimation[] = "disable-boot-animation";
33 // Disables Chrome Captive Portal detector, which initiates Captive
34 // Portal detection for new active networks.
35 const char kDisableChromeCaptivePortalDetector[] =
36 "disable-chrome-captive-portal-detector";
38 // Disables Google Drive integration.
39 const char kDisableDrive[] = "disable-drive";
41 // Disable Genius App and use the original Help App instead.
42 const char kDisableGeniusApp[] = "disable-genius-app";
44 // Disable policy-configured local accounts.
45 const char kDisableLocalAccounts[] = "disable-local-accounts";
47 // Avoid doing expensive animations upon login.
48 const char kDisableLoginAnimations[] = "disable-login-animations";
50 // Disable new channel switcher UI.
51 const char kDisableNewChannelSwitcherUI[] = "disable-new-channel-switcher-ui";
53 // Disable Quickoffice component app thus handlers won't be registered so
54 // it will be possible to install another version as normal app for testing.
55 const char kDisableQuickofficeComponentApp[] =
56 "disable-quickoffice-component-app";
58 // Disables fetching online CrOS EULA page, only static version is shown.
59 const char kDisableOnlineEULA[] = "disable-cros-online-eula";
61 // Avoid doing animations upon oobe.
62 const char kDisableOobeAnimation[] = "disable-oobe-animation";
64 // Disables portal detection and network error handling before auto
65 // update.
66 const char kDisableOOBEBlockingUpdate[] =
67 "disable-oobe-blocking-update";
69 // Disables fake ethernet network in the stub implementations.
70 const char kDisableStubEthernet[] = "disable-stub-ethernet";
72 // Enables overriding the path for the default echo component extension.
73 // Useful for testing.
74 const char kEchoExtensionPath[] = "echo-ext-path";
76 // Enables component extension that initializes background pages of
77 // certain hosted applications.
78 const char kEnableBackgroundLoader[] = "enable-background-loader";
80 // Enables switching between different cellular carriers from the UI.
81 const char kEnableCarrierSwitching[] = "enable-carrier-switching";
83 // Enable switching between audio devices in Chrome instead of cras.
84 const char kEnableChromeAudioSwitching[] = "enable-chrome-audio-switching";
86 // Enables Chrome Captive Portal detector, which initiates Captive
87 // Portal detection for new active networks.
88 const char kEnableChromeCaptivePortalDetector[] =
89 "enable-chrome-captive-portal-detector";
91 // Enable to show the indicator about the IME (input method editor) mode
92 // on Chrome OS.
93 const char kEnableIMEModeIndicator[] = "enable-ime-mode-indicator";
95 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler)
96 const char kEnableStubInteractive[] = "enable-stub-interactive";
98 // Enable stub portalled wifi network for testing.
99 const char kEnableStubPortalledWifi[] = "enable-stub-portalled-wifi";
101 // Enables touchpad three-finger-click as middle button.
102 const char kEnableTouchpadThreeFingerClick[]
103 = "enable-touchpad-three-finger-click";
105 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather
106 // than the kiosk app mode.
107 const char kEnableKioskMode[] = "enable-kiosk-mode";
109 // Enables request of tablet site (via user agent override).
110 const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
112 // Power of the power-of-2 initial modulus that will be used by the
113 // auto-enrollment client. E.g. "4" means the modulus will be 2^4 = 16.
114 const char kEnterpriseEnrollmentInitialModulus[] =
115 "enterprise-enrollment-initial-modulus";
117 // Power of the power-of-2 maximum modulus that will be used by the
118 // auto-enrollment client.
119 const char kEnterpriseEnrollmentModulusLimit[] =
120 "enterprise-enrollment-modulus-limit";
122 // Shows the selecting checkboxes in the Files.app.
123 const char kFileManagerShowCheckboxes[] = "file-manager-show-checkboxes";
125 // Enables the webstore integration feature in the Files.app.
126 const char kFileManagerEnableWebstoreIntegration[] =
127 "file-manager-enable-webstore-integration";
129 // Passed to Chrome the first time that it's run after the system boots.
130 // Not passed on restart after sign out.
131 const char kFirstExecAfterBoot[] = "first-exec-after-boot";
133 // Usually in browser tests the usual login manager bringup is skipped so that
134 // tests can change how it's brought up. This flag disables that.
135 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests";
137 // Indicates that the browser is in "browse without sign-in" (Guest session)
138 // mode. Should completely disable extensions, sync and bookmarks.
139 const char kGuestSession[] = "bwsi";
141 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
142 // Chromeboxes.
143 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard";
145 // If true, the Chromebook has a keyboard with a diamond key.
146 const char kHasChromeOSDiamondKey[] = "has-chromeos-diamond-key";
148 // Path for the screensaver used in Kiosk mode
149 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path";
151 // Allows override of oobe for testing - goes directly to the login screen.
152 const char kLoginScreen[] = "login-screen";
154 // Enables Chrome-as-a-login-manager behavior.
155 const char kLoginManager[] = "login-manager";
157 // Specifies a password to be used to login (along with login-user).
158 const char kLoginPassword[] = "login-password";
160 // Specifies the profile to use once a chromeos user is logged in.
161 const char kLoginProfile[] = "login-profile";
163 // Specifies the user which is already logged in.
164 const char kLoginUser[] = "login-user";
166 // Enables natural scroll by default.
167 const char kNaturalScrollDefault[] = "enable-natural-scroll-default";
169 // Skips all other OOBE pages after user login.
170 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin";
172 // Skips the machine hwid check. Useful for running in VMs because they have no
173 // hwid.
174 const char kSkipHWIDCheck[] = "skip-hwid-check";
176 // Sends test messages on first call to RequestUpdate (stub only).
177 const char kSmsTestMessages[] = "sms-test-messages";
179 // Indicates that a stub implementation of CrosSettings that stores settings in
180 // memory without signing should be used, treating current user as the owner.
181 // This option is for testing the chromeos build of chrome on the desktop only.
182 const char kStubCrosSettings[] = "stub-cros-settings";
184 // Disables user image sync.
185 const char kDisableUserImageSync[] = "disable-user-image-sync";
187 // Enables SAML sigin support.
188 const char kEnableSamlSignin[] = "enable-saml-signin";
190 // Enables new first-run overlay UI.
191 const char kEnableFirstRunUI[] = "enable-first-run-ui";
193 // Enables testing for auto update UI.
194 const char kTestAutoUpdateUI[] = "test-auto-update-ui";
196 } // namespace switches
197 } // namespace chromeos