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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 "disable-network-portal-notification"; | 101 "disable-network-portal-notification"; |
102 | 102 |
103 // EAFE url and path to use for Easy bootstrapping. | 103 // EAFE url and path to use for Easy bootstrapping. |
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 // Enable Quirks Client for handling display calibration information. |
| 112 const char kEnableDisplayQuirksClient[] = "enable-display-quirks-client"; |
| 113 |
111 // If this switch is set, the device cannot be remotely disabled by its owner. | 114 // If this switch is set, the device cannot be remotely disabled by its owner. |
112 const char kDisableDeviceDisabling[] = "disable-device-disabling"; | 115 const char kDisableDeviceDisabling[] = "disable-device-disabling"; |
113 | 116 |
114 // If this switch is set, the new Korean IME will not be available in | 117 // If this switch is set, the new Korean IME will not be available in |
115 // chrome://settings/languages. | 118 // chrome://settings/languages. |
116 const char kDisableNewKoreanIme[] = "disable-new-korean-ime"; | 119 const char kDisableNewKoreanIme[] = "disable-new-korean-ime"; |
117 | 120 |
118 // Disables mtp write support. | 121 // Disables mtp write support. |
119 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; | 122 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; |
120 | 123 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 if (option == kAggressiveTabDiscardThreshold) | 364 if (option == kAggressiveTabDiscardThreshold) |
362 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 365 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
363 if (option == kAggressiveThreshold) | 366 if (option == kAggressiveThreshold) |
364 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE; | 367 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE; |
365 | 368 |
366 return MemoryPressureMonitor::THRESHOLD_DEFAULT; | 369 return MemoryPressureMonitor::THRESHOLD_DEFAULT; |
367 } | 370 } |
368 | 371 |
369 } // namespace switches | 372 } // namespace switches |
370 } // namespace chromeos | 373 } // namespace chromeos |
OLD | NEW |