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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 // TODO(rsorokin): alphabetize all of these switches so they | 9 // TODO(rsorokin): alphabetize all of these switches so they |
| 10 // match the order from the .h file | 10 // match the order from the .h file |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 | 46 |
| 47 // Time before a machine at OOBE is considered derelict. | 47 // Time before a machine at OOBE is considered derelict. |
| 48 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; | 48 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; |
| 49 | 49 |
| 50 // Time before a derelict machines starts demo mode. | 50 // Time before a derelict machines starts demo mode. |
| 51 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; | 51 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; |
| 52 | 52 |
| 53 // Disables wallpaper boot animation (except of OOBE case). | 53 // Disables wallpaper boot animation (except of OOBE case). |
| 54 const char kDisableBootAnimation[] = "disable-boot-animation"; | 54 const char kDisableBootAnimation[] = "disable-boot-animation"; |
| 55 | 55 |
| 56 // Enables cloud backup feature. | |
|
satorux1
2015/02/06 01:26:06
Disables
| |
| 57 const char kDisableCloudImport[] = "disable-cloud-import"; | |
| 58 | |
| 56 // Disables the ChromeOS demo. | 59 // Disables the ChromeOS demo. |
| 57 const char kDisableDemoMode[] = "disable-demo-mode"; | 60 const char kDisableDemoMode[] = "disable-demo-mode"; |
| 58 | 61 |
| 59 // Disable HID-detection OOBE screen. | 62 // Disable HID-detection OOBE screen. |
| 60 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; | 63 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; |
| 61 | 64 |
| 62 // Avoid doing expensive animations upon login. | 65 // Avoid doing expensive animations upon login. |
| 63 const char kDisableLoginAnimations[] = "disable-login-animations"; | 66 const char kDisableLoginAnimations[] = "disable-login-animations"; |
| 64 | 67 |
| 65 // Disable login/lock UI (user pods) scrolling into view on JS side when virtual | 68 // Disable login/lock UI (user pods) scrolling into view on JS side when virtual |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 90 // Disables wake on wifi features. | 93 // Disables wake on wifi features. |
| 91 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; | 94 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; |
| 92 | 95 |
| 93 // Disables notifications about captive portals in session. | 96 // Disables notifications about captive portals in session. |
| 94 const char kDisableNetworkPortalNotification[] = | 97 const char kDisableNetworkPortalNotification[] = |
| 95 "disable-network-portal-notification"; | 98 "disable-network-portal-notification"; |
| 96 | 99 |
| 97 // Enables switching between different cellular carriers from the UI. | 100 // Enables switching between different cellular carriers from the UI. |
| 98 const char kEnableCarrierSwitching[] = "enable-carrier-switching"; | 101 const char kEnableCarrierSwitching[] = "enable-carrier-switching"; |
| 99 | 102 |
| 100 // Enables cloud backup feature. | |
| 101 const char kEnableCloudBackup[] = "enable-cloud-backup"; | |
| 102 | |
| 103 // Enables consumer management, which allows user to enroll, remotely lock and | 103 // Enables consumer management, which allows user to enroll, remotely lock and |
| 104 // locate the device. | 104 // locate the device. |
| 105 const char kEnableConsumerManagement[] = "enable-consumer-management"; | 105 const char kEnableConsumerManagement[] = "enable-consumer-management"; |
| 106 | 106 |
| 107 // If this switch is set, the device cannot be remotely disabled by its owner. | 107 // If this switch is set, the device cannot be remotely disabled by its owner. |
| 108 const char kDisableDeviceDisabling[] = "disable-device-disabling"; | 108 const char kDisableDeviceDisabling[] = "disable-device-disabling"; |
| 109 | 109 |
| 110 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint | 110 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint |
| 111 // of GAIA. | 111 // of GAIA. |
| 112 const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; | 112 const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 329 } | 329 } |
| 330 if (option == "3") { | 330 if (option == "3") { |
| 331 return base::MemoryPressureObserverChromeOS:: | 331 return base::MemoryPressureObserverChromeOS:: |
| 332 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 332 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
| 333 } | 333 } |
| 334 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; | 334 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; |
| 335 } | 335 } |
| 336 | 336 |
| 337 } // namespace switches | 337 } // namespace switches |
| 338 } // namespace chromeos | 338 } // namespace chromeos |
| OLD | NEW |