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

Unified Diff: ash/common/system/tray/system_tray_notifier.h

Issue 2558043006: ash: Use system tray mojo interface to show system update tray icon (Closed)
Patch Set: fix gcc Created 4 years 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/common/system/tray/system_tray_item.h ('k') | ash/common/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray_notifier.h
diff --git a/ash/common/system/tray/system_tray_notifier.h b/ash/common/system/tray/system_tray_notifier.h
index 7b1ccb6af6c3e2e153f77c159784f34e8f0b8fdf..43f19bcc185e896372d7464b7fd97791091a9da4 100644
--- a/ash/common/system/tray/system_tray_notifier.h
+++ b/ash/common/system/tray/system_tray_notifier.h
@@ -22,8 +22,6 @@ namespace ash {
class AccessibilityObserver;
class ClockObserver;
class IMEObserver;
-struct UpdateInfo;
-class UpdateObserver;
class UserObserver;
#if defined(OS_CHROMEOS)
@@ -41,6 +39,10 @@ class TracingObserver;
class VirtualKeyboardObserver;
#endif
+namespace mojom {
+enum class UpdateSeverity;
+}
+
// Observer and notification manager for the ash system tray.
class ASH_EXPORT SystemTrayNotifier {
public:
@@ -67,11 +69,6 @@ class ASH_EXPORT SystemTrayNotifier {
void NotifyRefreshIME();
void NotifyRefreshIMEMenu(bool is_active);
- // OS updates.
- void AddUpdateObserver(UpdateObserver* observer);
- void RemoveUpdateObserver(UpdateObserver* observer);
- void NotifyUpdateRecommended(const UpdateInfo& info);
-
// User.
void AddUserObserver(UserObserver* observer);
void RemoveUserObserver(UserObserver* observer);
@@ -153,7 +150,6 @@ class ASH_EXPORT SystemTrayNotifier {
base::ObserverList<AccessibilityObserver> accessibility_observers_;
base::ObserverList<ClockObserver> clock_observers_;
base::ObserverList<IMEObserver> ime_observers_;
- base::ObserverList<UpdateObserver> update_observers_;
base::ObserverList<UserObserver> user_observers_;
#if defined(OS_CHROMEOS)
« no previous file with comments | « ash/common/system/tray/system_tray_item.h ('k') | ash/common/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698