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

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

Issue 2933923002: Remove update icon after user confirms download (Closed)
Patch Set: Apply fix to patch set 2 Created 3 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 | « no previous file | 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 0373448e73340b463c11bee9166753fdc4b0813e..89ff134be4fb31fa41728e88eb70aa4496dfde6b 100644
--- a/ash/system/tray/system_tray_notifier.h
+++ b/ash/system/tray/system_tray_notifier.h
@@ -31,6 +31,7 @@ class ScreenShareObserver;
class StatusAreaFocusObserver;
class TracingObserver;
class VirtualKeyboardObserver;
+class UpdateObserver;
namespace mojom {
enum class UpdateSeverity;
@@ -120,6 +121,11 @@ class ASH_EXPORT SystemTrayNotifier {
void RemoveTracingObserver(TracingObserver* observer);
void NotifyTracingModeChanged(bool value);
+ // Update.
+ void AddUpdateObserver(UpdateObserver* observer);
+ void RemoveUpdateObserver(UpdateObserver* observer);
+ void NotifyUpdateOverCellularTargetSet(bool success);
+
// Virtual keyboard.
void AddVirtualKeyboardObserver(VirtualKeyboardObserver* observer);
void RemoveVirtualKeyboardObserver(VirtualKeyboardObserver* observer);
@@ -140,6 +146,7 @@ class ASH_EXPORT SystemTrayNotifier {
base::ObserverList<ScreenShareObserver> screen_share_observers_;
base::ObserverList<StatusAreaFocusObserver> status_area_focus_observers_;
base::ObserverList<TracingObserver> tracing_observers_;
+ base::ObserverList<UpdateObserver> update_observers_;
base::ObserverList<VirtualKeyboardObserver> virtual_keyboard_observers_;
DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier);
« no previous file with comments | « no previous file | ash/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698