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

Unified Diff: ash/system/tray/system_tray_notifier.cc

Issue 23075012: Update NetworkStateNotifier to use message_center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Track deafult_network and reset did_show_out_of_credits on any change Created 7 years, 4 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
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | chrome/browser/chromeos/status/data_promo_notification.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_notifier.cc
diff --git a/ash/system/tray/system_tray_notifier.cc b/ash/system/tray/system_tray_notifier.cc
index fcdb2d6d5bc9e810d3da385a7f3f9643b49b8b35..fde1e7d7efe2f64517f1709fa0d786c78df232dc 100644
--- a/ash/system/tray/system_tray_notifier.cc
+++ b/ash/system/tray/system_tray_notifier.cc
@@ -287,31 +287,6 @@ void SystemTrayNotifier::NotifyUserUpdate() {
#if defined(OS_CHROMEOS)
-void SystemTrayNotifier::NotifySetNetworkMessage(
- NetworkTrayDelegate* delegate,
- NetworkObserver::MessageType message_type,
- NetworkObserver::NetworkType network_type,
- const base::string16& title,
- const base::string16& message,
- const std::vector<base::string16>& links) {
- FOR_EACH_OBSERVER(NetworkObserver,
- network_observers_,
- SetNetworkMessage(
- delegate,
- message_type,
- network_type,
- title,
- message,
- links));
-}
-
-void SystemTrayNotifier::NotifyClearNetworkMessage(
- NetworkObserver::MessageType message_type) {
- FOR_EACH_OBSERVER(NetworkObserver,
- network_observers_,
- ClearNetworkMessage(message_type));
-}
-
void SystemTrayNotifier::NotifyRequestToggleWifi() {
FOR_EACH_OBSERVER(NetworkObserver,
network_observers_,
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | chrome/browser/chromeos/status/data_promo_notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698