summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r--ash/ash_switches.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index 80e7654..51ecfc6 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -68,10 +68,6 @@ const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf";
const char kAshDisableOverviewMode[] = "ash-disable-overview-mode";
#if defined(OS_CHROMEOS)
-// Disable the notification when a low-power USB charger is connected.
-const char kAshDisableUsbChargerNotification[] =
- "ash-disable-usb-charger-notification";
-
// TODO(jamescook): Remove this unused flag. It exists only to allow the
// "Enable audio device menu" about:flags item to have the tri-state
// default/enabled/disabled UI.
@@ -208,12 +204,5 @@ bool ShowAudioDeviceMenu() {
#endif
}
-#if defined(OS_CHROMEOS)
-bool UseUsbChargerNotification() {
- return !CommandLine::ForCurrentProcess()->
- HasSwitch(kAshDisableUsbChargerNotification);
-}
-#endif
-
} // namespace switches
} // namespace ash