diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 22:40:43 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 22:40:43 +0000 |
commit | bddb2fb37c351721002283087786104fb3b1812d (patch) | |
tree | 171c9278cb41eb05a13797cae65323240a146b9c /ash/ash_switches.h | |
parent | bd1dea4a44ac07e3d2801c36928a0a9f388de1be (diff) | |
download | chromium_src-bddb2fb37c351721002283087786104fb3b1812d.zip chromium_src-bddb2fb37c351721002283087786104fb3b1812d.tar.gz chromium_src-bddb2fb37c351721002283087786104fb3b1812d.tar.bz2 |
Fix broken flags when 'Use new audio handler' enabled
Setting this tri-state option to "enabled" would result in "--" being
appending to the command line, breaking all subsequent flags and making
tabs open with flag names.
Fix this by always providing a flag for the enabled state, even though
that flag is unused. We don't just switch this to a single-value flag
because doing so would require changing the string for the flag
description and we would not be able to backport the change.
BUG=262975
TEST=set flag "Use new audio handler" to enabled and add a new more
flags. Tabs should open normally and not have flag names.
R=pastarmovj@chromium.org
Review URL: https://codereview.chromium.org/20547002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.h')
-rw-r--r-- | ash/ash_switches.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/ash_switches.h b/ash/ash_switches.h index 429291c..cfe441d 100644 --- a/ash/ash_switches.h +++ b/ash/ash_switches.h @@ -44,6 +44,7 @@ ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[]; #if defined(OS_CHROMEOS) ASH_EXPORT extern const char kAshDisableSoftwareMirroring[]; ASH_EXPORT extern const char kAshDisableUsbChargerNotification[]; +ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[]; #endif ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; ASH_EXPORT extern const char kAshEnableBrightnessControl[]; @@ -52,6 +53,9 @@ ASH_EXPORT extern const char kAshEnableDockedWindows[]; ASH_EXPORT extern const char kAshEnableMemoryMonitor[]; #endif ASH_EXPORT extern const char kAshEnableImmersiveFullscreen[]; +#if defined(OS_CHROMEOS) +ASH_EXPORT extern const char kAshEnableNewAudioHandler[]; +#endif ASH_EXPORT extern const char kAshEnableOak[]; ASH_EXPORT extern const char kAshEnableStickyEdges[]; ASH_EXPORT extern const char kAshEnableTrayDragging[]; |