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

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

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/common/wm_shell.cc ('k') | ash/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/system/tray/system_tray_notifier.h
diff --git a/ash/system/tray/system_tray_notifier.h b/ash/system/tray/system_tray_notifier.h
index 2c372f62a4304d40a49be1d19d958e9fdf7b3eca..f66ecedbbb042f8b4157b1d98ce8dc52ec0cf94c 100644
--- a/ash/system/tray/system_tray_notifier.h
+++ b/ash/system/tray/system_tray_notifier.h
@@ -11,7 +11,6 @@
#include <vector>
#include "ash/ash_export.h"
-#include "ash/common/system/update/update_observer.h"
#include "ash/system/audio/audio_observer.h"
#include "ash/system/chromeos/tray_tracing.h"
#include "ash/system/date/clock_observer.h"
@@ -39,8 +38,6 @@
namespace ash {
-struct UpdateInfo;
-
#if defined(OS_CHROMEOS)
class NetworkStateNotifier;
#endif
@@ -68,9 +65,6 @@ class ASH_EXPORT SystemTrayNotifier {
void AddTracingObserver(TracingObserver* observer);
void RemoveTracingObserver(TracingObserver* observer);
- void AddUpdateObserver(UpdateObserver* observer);
- void RemoveUpdateObserver(UpdateObserver* observer);
-
void AddUserObserver(UserObserver* observer);
void RemoveUserObserver(UserObserver* observer);
@@ -129,7 +123,6 @@ class ASH_EXPORT SystemTrayNotifier {
const std::string& cur_locale,
const std::string& from_locale,
const std::string& to_locale);
- void NotifyUpdateRecommended(const UpdateInfo& info);
void NotifyUserUpdate();
void NotifyUserAddedToSession();
#if defined(OS_CHROMEOS)
@@ -160,7 +153,6 @@ class ASH_EXPORT SystemTrayNotifier {
base::ObserverList<IMEObserver> ime_observers_;
base::ObserverList<LocaleObserver> locale_observers_;
base::ObserverList<TracingObserver> tracing_observers_;
- base::ObserverList<UpdateObserver> update_observers_;
base::ObserverList<UserObserver> user_observers_;
#if defined(OS_CHROMEOS)
base::ObserverList<BluetoothObserver> bluetooth_observers_;
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698