summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-20 15:04:42 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-20 15:04:42 +0000
commit11ca72283e4d7c103dfdffae7ef384cc88141d71 (patch)
tree72d92b0f04e3b5f6b8a6edb38e9be548454a996b /ash/ash_switches.cc
parente3fb71be3d0a45cab81845cf190c75e24ac5eb2d (diff)
downloadchromium_src-11ca72283e4d7c103dfdffae7ef384cc88141d71.zip
chromium_src-11ca72283e4d7c103dfdffae7ef384cc88141d71.tar.gz
chromium_src-11ca72283e4d7c103dfdffae7ef384cc88141d71.tar.bz2
Revert 207374 "cros: Show notification when low-power charger co..."
Broke Win Aura compile: http://build.chromium.org/p/chromium.win/builders/Win%20Aura%20Builder/builds/9060 > cros: Show notification when low-power charger connected > > Encourage the user to plug in the official charger. > > Also extract FakeMessageCenter into a message_center_test_support target > so I can use it for a unit test. > > BUG=249852 > TEST=ash_unittests TrayPowerTest.* > > Review URL: https://chromiumcodereview.appspot.com/17157007 TBR=jamescook@chromium.org Review URL: https://codereview.chromium.org/17363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207436 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 7f9b99b..cc64455 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -63,10 +63,6 @@ const char kAshDisableUIScaling[] = "ash-disable-ui-scaling";
#if defined(OS_CHROMEOS)
// Disable compositor based mirroring.
const char kAshDisableSoftwareMirroring[] = "ash-disable-software-mirroring";
-
-// Disable the notification when a low-power USB charger is connected.
-const char kAshDisableUsbChargerNotification[] =
- "ash-disable-usb-charger-notification";
#endif
// Extend the status tray volume item to allow the user to choose an audio
@@ -182,12 +178,5 @@ bool UseAlternateShelfLayout() {
HasSwitch(ash::switches::kAshUseAlternateShelfLayout);
}
-#if defined(OS_CHROMEOS)
-bool UseUsbChargerNotification() {
- return !CommandLine::ForCurrentProcess()->
- HasSwitch(ash::switches::kAshDisableUsbChargerNotification);
-}
-#endif
-
} // namespace switches
} // namespace ash