| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; | 97 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; |
| 98 | 98 |
| 99 // Disables notifications about captive portals in session. | 99 // Disables notifications about captive portals in session. |
| 100 const char kDisableNetworkPortalNotification[] = | 100 const char kDisableNetworkPortalNotification[] = |
| 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 starting the ARC instance upon session start. |
| 108 const char kEnableArc[] = "enable-arc"; |
| 109 |
| 107 // Enables consumer management, which allows user to enroll, remotely lock and | 110 // Enables consumer management, which allows user to enroll, remotely lock and |
| 108 // locate the device. | 111 // locate the device. |
| 109 const char kEnableConsumerManagement[] = "enable-consumer-management"; | 112 const char kEnableConsumerManagement[] = "enable-consumer-management"; |
| 110 | 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"; |
| (...skipping 244 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 |