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

Unified Diff: ash/system/system_notifier.cc

Issue 2817423002: ash: Move "WiFi is turned on." buble to the notification center. (Closed)
Patch Set: Created 3 years, 8 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
« ash/system/network/tray_network.cc ('K') | « ash/system/system_notifier.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/system_notifier.cc
diff --git a/ash/system/system_notifier.cc b/ash/system/system_notifier.cc
index 9e52f94990f8abf0ebf47758ecb9c6c9c55ac02f..09bb4747b96d74811a2011795b2f9e5284b16082 100644
--- a/ash/system/system_notifier.cc
+++ b/ash/system/system_notifier.cc
@@ -32,7 +32,7 @@ const char* kAshSystemNotifiers[] = {
kNotifierDisk, kNotifierLocale, kNotifierMultiProfileFirstRun,
kNotifierNetwork, kNotifierNetworkPortalDetector, kNotifierScreenshot,
kNotifierScreenCapture, kNotifierScreenShare, kNotifierSessionLengthTimeout,
- kNotifierSupervisedUser, kNotifierWebUsb, kNotifierSms,
+ kNotifierSms, kNotifierSupervisedUser, kNotifierWebUsb, kNotifierWifiToggle,
// Note: Order doesn't matter here, so keep this in alphabetic order, don't
// just add your stuff at the end!
NULL};
@@ -77,6 +77,7 @@ const char kNotifierSessionLengthTimeout[] = "ash.session-length-timeout";
const char kNotifierSms[] = "ash.sms";
const char kNotifierSupervisedUser[] = "ash.locally-managed-user";
const char kNotifierWebUsb[] = "ash.webusb";
+const char kNotifierWifiToggle[] = "ash.wifi-toggle";
bool ShouldAlwaysShowPopups(const message_center::NotifierId& notifier_id) {
return MatchSystemNotifierId(notifier_id, kAlwaysShownSystemNotifierIds);
« ash/system/network/tray_network.cc ('K') | « ash/system/system_notifier.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698