| 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 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
| 9 | 9 |
| 10 // TODO(rsorokin): alphabetize all of these switches so they | 10 // TODO(rsorokin): alphabetize all of these switches so they |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // Enables switching between different cellular carriers from the UI. | 105 // Enables switching between different cellular carriers from the UI. |
| 106 const char kEnableCarrierSwitching[] = "enable-carrier-switching"; | 106 const char kEnableCarrierSwitching[] = "enable-carrier-switching"; |
| 107 | 107 |
| 108 // Enables consumer management, which allows user to enroll, remotely lock and | 108 // Enables consumer management, which allows user to enroll, remotely lock and |
| 109 // locate the device. | 109 // locate the device. |
| 110 const char kEnableConsumerManagement[] = "enable-consumer-management"; | 110 const char kEnableConsumerManagement[] = "enable-consumer-management"; |
| 111 | 111 |
| 112 // If this switch is set, the device cannot be remotely disabled by its owner. | 112 // If this switch is set, the device cannot be remotely disabled by its owner. |
| 113 const char kDisableDeviceDisabling[] = "disable-device-disabling"; | 113 const char kDisableDeviceDisabling[] = "disable-device-disabling"; |
| 114 | 114 |
| 115 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint | |
| 116 // of GAIA. | |
| 117 const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; | |
| 118 | |
| 119 // If this switch is set, the new Korean IME will be available in | 115 // If this switch is set, the new Korean IME will be available in |
| 120 // chrome://settings/languages. | 116 // chrome://settings/languages. |
| 121 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; | 117 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; |
| 122 | 118 |
| 123 // If this switch is set, the input view keyboard will be in materia design. | 119 // If this switch is set, the input view keyboard will be in materia design. |
| 124 const char kEnableNewMDInputView[] = "enable-new-md-input-view"; | 120 const char kEnableNewMDInputView[] = "enable-new-md-input-view"; |
| 125 | 121 |
| 126 // If this switch is set, the options for suggestions as typing on physical | 122 // If this switch is set, the options for suggestions as typing on physical |
| 127 // keyboard will be enabled. | 123 // keyboard will be enabled. |
| 128 const char kEnablePhysicalKeyboardAutocorrect[] = | 124 const char kEnablePhysicalKeyboardAutocorrect[] = |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 return base::MemoryPressureObserverChromeOS:: | 375 return base::MemoryPressureObserverChromeOS:: |
| 380 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 376 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
| 381 if (option == kAggressiveThreshold) | 377 if (option == kAggressiveThreshold) |
| 382 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; | 378 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; |
| 383 | 379 |
| 384 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; | 380 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; |
| 385 } | 381 } |
| 386 | 382 |
| 387 } // namespace switches | 383 } // namespace switches |
| 388 } // namespace chromeos | 384 } // namespace chromeos |
| OLD | NEW |