summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
diff options
context:
space:
mode:
authorjennyz@chromium.org <jennyz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-04 19:37:48 +0000
committerjennyz@chromium.org <jennyz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-04 19:37:48 +0000
commit78d468da6120664b760e9f09fa80756ae7ce85cd (patch)
tree962a5ae7f414cecb7b8d1288443dd29c1ebcd01b /ash/ash_switches.cc
parent08a4485277777c9f9dbfdec32275acc89631255d (diff)
downloadchromium_src-78d468da6120664b760e9f09fa80756ae7ce85cd.zip
chromium_src-78d468da6120664b760e9f09fa80756ae7ce85cd.tar.gz
chromium_src-78d468da6120664b760e9f09fa80756ae7ce85cd.tar.bz2
Clean up the ash switch ash-disable-usb-charger-notification.
BUG=348787 R=mukai@chromium.org Review URL: https://codereview.chromium.org/181063023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254800 0039d316-1c4b-4281-b951-d872f2087c98
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