Chromium Code Reviews| 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 // Path for app's OEM manifest file. | 10 // Path for app's OEM manifest file. |
| 11 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; | 11 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; |
| 12 | 12 |
| 13 // When wallpaper boot animation is not disabled this switch | 13 // When wallpaper boot animation is not disabled this switch |
| 14 // is used to override OOBE/sign in WebUI init type. | 14 // is used to override OOBE/sign in WebUI init type. |
| 15 // Possible values: parallel|postpone. Default: parallel. | 15 // Possible values: parallel|postpone. Default: parallel. |
| 16 const char kAshWebUIInit[] = "ash-webui-init"; | 16 const char kAshWebUIInit[] = "ash-webui-init"; |
| 17 | 17 |
| 18 // Specifies the URL of the consumer device management backend. | 18 // Specifies the URL of the consumer device management backend. |
| 19 const char kConsumerDeviceManagementUrl[] = "consumer-device-management-url"; | 19 const char kConsumerDeviceManagementUrl[] = "consumer-device-management-url"; |
| 20 | 20 |
| 21 // Forces the stub implementation of dbus clients. | 21 // Forces the stub implementation of dbus clients. |
| 22 const char kDbusStub[] = "dbus-stub"; | 22 const char kDbusStub[] = "dbus-stub"; |
| 23 | 23 |
| 24 // Comma-spearated list of dbus clients that should be unstubbed. | 24 // Comma-spearated list of dbus clients that should be unstubbed. |
| 25 // See chromeos/dbus/dbus_client_bundle.cc for the names of the dbus clients. | 25 // See chromeos/dbus/dbus_client_bundle.cc for the names of the dbus clients. |
| 26 const char kDbusUnstubClients[] = "dbus-unstub-clients"; | 26 const char kDbusUnstubClients[] = "dbus-unstub-clients"; |
| 27 | 27 |
| 28 // Provides the app path for the demo mode app. | |
| 29 const char kDemoModeAppPath[] = "demo-mode-app-path"; | |
|
bartfab (slow)
2014/12/02 21:25:27
Nit: This belongs into a separate CL.
rkc
2014/12/04 19:50:07
Removed.
Done.
| |
| 30 | |
| 28 // Time before a machine at OOBE is considered derelict. | 31 // Time before a machine at OOBE is considered derelict. |
| 29 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; | 32 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; |
| 30 | 33 |
| 31 // Time before a derelict machines starts demo mode. | 34 // Time before a derelict machines starts demo mode. |
| 32 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; | 35 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; |
| 33 | 36 |
| 34 // Disables wallpaper boot animation (except of OOBE case). | 37 // Disables wallpaper boot animation (except of OOBE case). |
| 35 const char kDisableBootAnimation[] = "disable-boot-animation"; | 38 const char kDisableBootAnimation[] = "disable-boot-animation"; |
| 36 | 39 |
| 37 // Disables the ChromeOS demo. | 40 // Disables the ChromeOS demo. |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 171 // With this switch, start remora OOBE with the pairing screen. | 174 // With this switch, start remora OOBE with the pairing screen. |
| 172 const char kHostPairingOobe[] = "host-pairing-oobe"; | 175 const char kHostPairingOobe[] = "host-pairing-oobe"; |
| 173 | 176 |
| 174 // If true, profile selection in UserManager will always return active user's | 177 // If true, profile selection in UserManager will always return active user's |
| 175 // profile. | 178 // profile. |
| 176 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we | 179 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we |
| 177 // turn on multi-profile feature on ChromeOS. | 180 // turn on multi-profile feature on ChromeOS. |
| 178 const char kIgnoreUserProfileMappingForTests[] = | 181 const char kIgnoreUserProfileMappingForTests[] = |
| 179 "ignore-user-profile-mapping-for-tests"; | 182 "ignore-user-profile-mapping-for-tests"; |
| 180 | 183 |
| 181 // Path for the screensaver used in Kiosk mode | |
| 182 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path"; | |
| 183 | |
| 184 // Enables Chrome-as-a-login-manager behavior. | 184 // Enables Chrome-as-a-login-manager behavior. |
| 185 const char kLoginManager[] = "login-manager"; | 185 const char kLoginManager[] = "login-manager"; |
| 186 | 186 |
| 187 // Specifies the profile to use once a chromeos user is logged in. | 187 // Specifies the profile to use once a chromeos user is logged in. |
| 188 // This parameter is ignored if user goes through login screen since user_id | 188 // This parameter is ignored if user goes through login screen since user_id |
| 189 // hash defines which profile directory to use. | 189 // hash defines which profile directory to use. |
| 190 // In case of browser restart within active session this parameter is used | 190 // In case of browser restart within active session this parameter is used |
| 191 // to pass user_id hash for primary user. | 191 // to pass user_id hash for primary user. |
| 192 const char kLoginProfile[] = "login-profile"; | 192 const char kLoginProfile[] = "login-profile"; |
| 193 | 193 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 260 | 260 |
| 261 // Screenshot testing: specifies the directoru where artifacts will be stored. | 261 // Screenshot testing: specifies the directoru where artifacts will be stored. |
| 262 const char kArtifactsDir[] = "artifacts-dir"; | 262 const char kArtifactsDir[] = "artifacts-dir"; |
| 263 | 263 |
| 264 // Bypass proxy for captive portal authorization. | 264 // Bypass proxy for captive portal authorization. |
| 265 const char kEnableCaptivePortalBypassProxy[] = | 265 const char kEnableCaptivePortalBypassProxy[] = |
| 266 "enable-captive-portal-bypass-proxy"; | 266 "enable-captive-portal-bypass-proxy"; |
| 267 | 267 |
| 268 } // namespace switches | 268 } // namespace switches |
| 269 } // namespace chromeos | 269 } // namespace chromeos |
| OLD | NEW |