summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-17 19:25:38 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-17 19:25:38 +0000
commit50b404f6e305dc965cdf57b2ceb3374d65056913 (patch)
treeb85f3c5df6d10fa0becdc78768e105b1ba3e2d60 /ash/ash_switches.cc
parent8d904e83e53f3f8bc815bf902b714ff1ac36f547 (diff)
downloadchromium_src-50b404f6e305dc965cdf57b2ceb3374d65056913.zip
chromium_src-50b404f6e305dc965cdf57b2ceb3374d65056913.tar.gz
chromium_src-50b404f6e305dc965cdf57b2ceb3374d65056913.tar.bz2
cros: Add switch to hide battery notifications for factory testing
Sometimes the battery is in an usual state during factory testing of devices. Provide --ash-hide-notifications-for-factory to suppress the notifications. BUG=none TEST=manual, run linux_chromeos Chrome with the flag and notice that notifications no longer appear R=derat@chromium.org Review URL: https://codereview.chromium.org/16901007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206769 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r--ash/ash_switches.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index d6b9a53..57e2e24 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -100,6 +100,11 @@ const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing";
// Forces chrome to use mirror mode when an external display is connected.
const char kAshForceMirrorMode[] = "ash-force-mirror-mode";
+// Hides notifications that are irrelevant to Chrome OS device factory testing,
+// such as battery level updates.
+const char kAshHideNotificationsForFactory[] =
+ "ash-hide-notifications-for-factory";
+
// Sets a window size, optional position, and optional scale factor.
// "1024x768" creates a window of size 1024x768.
// "100+200-1024x768" positions the window at 100,200.