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

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

Issue 2060633002: mash: Introduce WmSystemTrayNotifier for //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testupdate
Patch Set: rebase Created 4 years, 6 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') | ash/system/tray_update.cc » ('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 a902d6fd435297326e4980a4b951241eb609b95e..d81c72fe11a1b3da9c55ecb3df12cb0eacb2dfa1 100644
--- a/ash/system/tray/system_tray_notifier.cc
+++ b/ash/system/tray/system_tray_notifier.cc
@@ -62,14 +62,6 @@ void SystemTrayNotifier::RemoveTracingObserver(TracingObserver* observer) {
tracing_observers_.RemoveObserver(observer);
}
-void SystemTrayNotifier::AddUpdateObserver(UpdateObserver* observer) {
- update_observers_.AddObserver(observer);
-}
-
-void SystemTrayNotifier::RemoveUpdateObserver(UpdateObserver* observer) {
- update_observers_.RemoveObserver(observer);
-}
-
void SystemTrayNotifier::AddUserObserver(UserObserver* observer) {
user_observers_.AddObserver(observer);
}
@@ -280,11 +272,6 @@ void SystemTrayNotifier::NotifyLocaleChanged(
OnLocaleChanged(delegate, cur_locale, from_locale, to_locale));
}
-void SystemTrayNotifier::NotifyUpdateRecommended(const UpdateInfo& info) {
- FOR_EACH_OBSERVER(
- UpdateObserver, update_observers_, OnUpdateRecommended(info));
-}
-
void SystemTrayNotifier::NotifyUserUpdate() {
FOR_EACH_OBSERVER(UserObserver,
user_observers_,
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/system/tray_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698