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

Unified Diff: ash/system/tray/system_tray_delegate.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/default_system_tray_delegate.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index 4df2f70452f6576632d8df5c2b866bf3a2cf7272..d55e2ae8e32febe3c44ff452cb66aee5dcf84d4d 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -75,6 +75,22 @@ struct ASH_EXPORT IMEInfo {
base::string16 short_name;
};
+struct ASH_EXPORT UpdateInfo {
+ enum UpdateSeverity {
+ UPDATE_NORMAL,
+ UPDATE_LOW_GREEN,
+ UPDATE_HIGH_ORANGE,
+ UPDATE_SEVERE_RED,
+ };
+
+ UpdateInfo();
+ ~UpdateInfo();
+
+ UpdateSeverity severity;
+ bool update_required;
+ bool factory_reset_required;
+};
+
typedef std::vector<IMEInfo> IMEInfoList;
class VolumeControlDelegate;
@@ -121,8 +137,8 @@ class ASH_EXPORT SystemTrayDelegate {
// Returns true if the current user is supervised.
virtual bool IsUserSupervised() const = 0;
- // Returns whether a system upgrade is available.
- virtual bool SystemShouldUpgrade() const = 0;
+ // Fills |info| structure with current update info.
+ virtual void GetSystemUpdateInfo(UpdateInfo* info) const = 0;
// Returns the desired hour clock type.
virtual base::HourClockType GetHourClockType() const = 0;
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698