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

Unified Diff: ash/ash_switches.cc

Issue 163953007: Refactor the TrayAudio code so that it can be used by other platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove missing else condition Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ash/ash_switches.cc
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index 12413446f0e3577989c3666cdf1b1e6df85c615c..735bda0e3de855632c631bfa97e89c9804c18dfe 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -256,12 +256,16 @@ bool UseDockedWindows() {
return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows);
}
-#if defined(OS_CHROMEOS)
bool ShowAudioDeviceMenu() {
+#if defined(OS_CHROMEOS)
return !CommandLine::ForCurrentProcess()->
HasSwitch(kAshDisableAudioDeviceMenu);
+#else
+ return false;
+#endif
}
+#if defined(OS_CHROMEOS)
bool UseUsbChargerNotification() {
return !CommandLine::ForCurrentProcess()->
HasSwitch(kAshDisableUsbChargerNotification);

Powered by Google App Engine
This is Rietveld 408576698