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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // keyboard will be disabled. | 134 // keyboard will be disabled. |
135 const char kDisablePhysicalKeyboardAutocorrect[] = | 135 const char kDisablePhysicalKeyboardAutocorrect[] = |
136 "disable-physical-keyboard-autocorrect"; | 136 "disable-physical-keyboard-autocorrect"; |
137 | 137 |
138 // If this switch is set, the voice input will be disabled. | 138 // If this switch is set, the voice input will be disabled. |
139 const char kDisableVoiceInput[] = "disable-voice-input"; | 139 const char kDisableVoiceInput[] = "disable-voice-input"; |
140 | 140 |
141 // Enabled sharing assets for installed default apps. | 141 // Enabled sharing assets for installed default apps. |
142 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; | 142 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; |
143 | 143 |
| 144 // Enables mtp write support. |
| 145 const char kEnableMtpWriteSupport[] = "enable-mtp-write-support"; |
| 146 |
144 // Enables notifications about captive portals in session. | 147 // Enables notifications about captive portals in session. |
145 const char kEnableNetworkPortalNotification[] = | 148 const char kEnableNetworkPortalNotification[] = |
146 "enable-network-portal-notification"; | 149 "enable-network-portal-notification"; |
147 | 150 |
148 // Enables touchpad three-finger-click as middle button. | 151 // Enables touchpad three-finger-click as middle button. |
149 const char kEnableTouchpadThreeFingerClick[] | 152 const char kEnableTouchpadThreeFingerClick[] |
150 = "enable-touchpad-three-finger-click"; | 153 = "enable-touchpad-three-finger-click"; |
151 | 154 |
152 // Enables using screenshots in tests and seets mode. | 155 // Enables using screenshots in tests and seets mode. |
153 const char kEnableScreenshotTestingWithMode[] = | 156 const char kEnableScreenshotTestingWithMode[] = |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 return base::MemoryPressureObserverChromeOS:: | 383 return base::MemoryPressureObserverChromeOS:: |
381 THRESHOLD_AGGRESSIVE_TAB_DISCARD; | 384 THRESHOLD_AGGRESSIVE_TAB_DISCARD; |
382 if (option == kAggressiveThreshold) | 385 if (option == kAggressiveThreshold) |
383 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; | 386 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; |
384 | 387 |
385 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; | 388 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; |
386 } | 389 } |
387 | 390 |
388 } // namespace switches | 391 } // namespace switches |
389 } // namespace chromeos | 392 } // namespace chromeos |
OLD | NEW |