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

Unified Diff: ash/system/tray/default_system_tray_delegate.cc

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: Fixes. 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
Index: ash/system/tray/default_system_tray_delegate.cc
diff --git a/ash/system/tray/default_system_tray_delegate.cc b/ash/system/tray/default_system_tray_delegate.cc
index fda48075ec2a16db115abc50ec9a13f781bd3346..b86b562f92af8c95f862bc4f40c535dded8d2705 100644
--- a/ash/system/tray/default_system_tray_delegate.cc
+++ b/ash/system/tray/default_system_tray_delegate.cc
@@ -90,8 +90,11 @@ bool DefaultSystemTrayDelegate::IsUserSupervised() const {
return false;
}
-bool DefaultSystemTrayDelegate::SystemShouldUpgrade() const {
- return true;
+void DefaultSystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const {
+ DCHECK(info);
+ info->severity = UpdateInfo::UPDATE_NORMAL;
+ info->update_required = true;
+ info->factory_reset_required = false;
}
base::HourClockType DefaultSystemTrayDelegate::GetHourClockType() const {

Powered by Google App Engine
This is Rietveld 408576698