| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 const char kEafeUrl[] = "eafe-url"; | 104 const char kEafeUrl[] = "eafe-url"; |
| 105 const char kEafePath[] = "eafe-path"; | 105 const char kEafePath[] = "eafe-path"; |
| 106 | 106 |
| 107 // Enables consumer management, which allows user to enroll, remotely lock and | 107 // Enables consumer management, which allows user to enroll, remotely lock and |
| 108 // locate the device. | 108 // locate the device. |
| 109 const char kEnableConsumerManagement[] = "enable-consumer-management"; | 109 const char kEnableConsumerManagement[] = "enable-consumer-management"; |
| 110 | 110 |
| 111 // If this switch is set, the device cannot be remotely disabled by its owner. | 111 // If this switch is set, the device cannot be remotely disabled by its owner. |
| 112 const char kDisableDeviceDisabling[] = "disable-device-disabling"; | 112 const char kDisableDeviceDisabling[] = "disable-device-disabling"; |
| 113 | 113 |
| 114 // If this switch is set, the new Korean IME will be available in | 114 // If this switch is set, the new Korean IME will not be available in |
| 115 // chrome://settings/languages. | 115 // chrome://settings/languages. |
| 116 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; | 116 const char kDisableNewKoreanIme[] = "disable-new-korean-ime"; |
| 117 | 117 |
| 118 // Disables mtp write support. | 118 // Disables mtp write support. |
| 119 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; | 119 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; |
| 120 | 120 |
| 121 // If this switch is set, the options for suggestions as typing on physical | 121 // If this switch is set, the options for suggestions as typing on physical |
| 122 // keyboard will be enabled. | 122 // keyboard will be enabled. |
| 123 const char kEnablePhysicalKeyboardAutocorrect[] = | 123 const char kEnablePhysicalKeyboardAutocorrect[] = |
| 124 "enable-physical-keyboard-autocorrect"; | 124 "enable-physical-keyboard-autocorrect"; |
| 125 | 125 |
| 126 // If this switch is set, the options for suggestions as typing on physical | 126 // If this switch is set, the options for suggestions as typing on physical |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 return base::MemoryPressureMonitorChromeOS:: | 382 return base::MemoryPressureMonitorChromeOS:: |
| 383 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 383 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
| 384 if (option == kAggressiveThreshold) | 384 if (option == kAggressiveThreshold) |
| 385 return base::MemoryPressureMonitorChromeOS::THRESHOLD_AGGRESSIVE; | 385 return base::MemoryPressureMonitorChromeOS::THRESHOLD_AGGRESSIVE; |
| 386 | 386 |
| 387 return base::MemoryPressureMonitorChromeOS::THRESHOLD_DEFAULT; | 387 return base::MemoryPressureMonitorChromeOS::THRESHOLD_DEFAULT; |
| 388 } | 388 } |
| 389 | 389 |
| 390 } // namespace switches | 390 } // namespace switches |
| 391 } // namespace chromeos | 391 } // namespace chromeos |
| OLD | NEW |