Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 1049833004: Add flag for MTP write support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698