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

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: More fixes to StstemTrayDelegateWin. Created 6 years, 3 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
Index: ash/system/tray_update.h
diff --git a/ash/system/tray_update.h b/ash/system/tray_update.h
index d6212c058930fffc63a715bfde340757dd77db69..3aa302933f9f1ecb233065f686c8a1f6584e8bea 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,13 +34,13 @@ 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_;
+ UpdateInfo::UpdateSeverity severity_;
stevenjb 2014/10/01 22:26:44 It looks like we don't actually need this anymore?
ygorshenin1 2014/10/02 14:21:35 Done.
DISALLOW_COPY_AND_ASSIGN(TrayUpdate);
};

Powered by Google App Engine
This is Rietveld 408576698