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

Unified Diff: ash/system/tray_update.h

Issue 614363002: Added Aura notification that relaunch and powerwash is required in case of downgrade. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring of SystemTrayDelegate(Windows|Linux) is delayed. Created 6 years, 2 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.cc ('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_update.h
diff --git a/ash/system/tray_update.h b/ash/system/tray_update.h
index e9fcba9def2098a64e4c0e4b67190bcca7bcf95e..b1d5eb1931f9a20fe3841afd1aad7eeef1cb07da 100644
--- a/ash/system/tray_update.h
+++ b/ash/system/tray_update.h
@@ -5,6 +5,7 @@
#ifndef ASH_SYSTEM_TRAY_UPDATE_H_
#define ASH_SYSTEM_TRAY_UPDATE_H_
+#include "ash/system/tray/system_tray_delegate.h"
#include "ash/system/tray/tray_image_item.h"
#include "ash/system/user/update_observer.h"
#include "base/memory/scoped_ptr.h"
@@ -33,14 +34,12 @@ class TrayUpdate : public TrayImageItem,
virtual void DestroyDetailedView() override;
// Overridden from UpdateObserver.
- virtual void OnUpdateRecommended(UpdateSeverity severity) override;
+ virtual void OnUpdateRecommended(const UpdateInfo& info) override;
// Used to nag the user in case the tray has been hidden too long with an
// unseen update notification.
scoped_ptr<tray::UpdateNagger> nagger_;
- UpdateObserver::UpdateSeverity severity_;
-
DISALLOW_COPY_AND_ASSIGN(TrayUpdate);
};
« no previous file with comments | « ash/system/tray/system_tray_notifier.cc ('k') | ash/system/tray_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698