Index: ash/system/tray_update.h |
diff --git a/ash/system/tray_update.h b/ash/system/tray_update.h |
index d6212c058930fffc63a715bfde340757dd77db69..c475622ad5b446847d4eff34fe5737460902e4b4 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); |
}; |