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 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; | 101 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; |
102 | 102 |
103 // Disables notifications about captive portals in session. | 103 // Disables notifications about captive portals in session. |
104 const char kDisableNetworkPortalNotification[] = | 104 const char kDisableNetworkPortalNotification[] = |
105 "disable-network-portal-notification"; | 105 "disable-network-portal-notification"; |
106 | 106 |
107 // EAFE url and path to use for Easy bootstrapping. | 107 // EAFE url and path to use for Easy bootstrapping. |
108 const char kEafeUrl[] = "eafe-url"; | 108 const char kEafeUrl[] = "eafe-url"; |
109 const char kEafePath[] = "eafe-path"; | 109 const char kEafePath[] = "eafe-path"; |
110 | 110 |
111 // Enables switching between different cellular carriers from the UI. | |
112 const char kEnableCarrierSwitching[] = "enable-carrier-switching"; | |
113 | |
114 // Enables consumer management, which allows user to enroll, remotely lock and | 111 // Enables consumer management, which allows user to enroll, remotely lock and |
115 // locate the device. | 112 // locate the device. |
116 const char kEnableConsumerManagement[] = "enable-consumer-management"; | 113 const char kEnableConsumerManagement[] = "enable-consumer-management"; |
117 | 114 |
118 // If this switch is set, the device cannot be remotely disabled by its owner. | 115 // If this switch is set, the device cannot be remotely disabled by its owner. |
119 const char kDisableDeviceDisabling[] = "disable-device-disabling"; | 116 const char kDisableDeviceDisabling[] = "disable-device-disabling"; |
120 | 117 |
121 // If this switch is set, the new Korean IME will be available in | 118 // If this switch is set, the new Korean IME will be available in |
122 // chrome://settings/languages. | 119 // chrome://settings/languages. |
123 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; | 120 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 return base::MemoryPressureMonitorChromeOS:: | 388 return base::MemoryPressureMonitorChromeOS:: |
392 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 389 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
393 if (option == kAggressiveThreshold) | 390 if (option == kAggressiveThreshold) |
394 return base::MemoryPressureMonitorChromeOS::THRESHOLD_AGGRESSIVE; | 391 return base::MemoryPressureMonitorChromeOS::THRESHOLD_AGGRESSIVE; |
395 | 392 |
396 return base::MemoryPressureMonitorChromeOS::THRESHOLD_DEFAULT; | 393 return base::MemoryPressureMonitorChromeOS::THRESHOLD_DEFAULT; |
397 } | 394 } |
398 | 395 |
399 } // namespace switches | 396 } // namespace switches |
400 } // namespace chromeos | 397 } // namespace chromeos |
OLD | NEW |