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

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
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.h ('k') | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7cc9608fe672d32810517a7975c83959ce0216cb 100644
--- a/ash/system/tray/default_system_tray_delegate.cc
+++ b/ash/system/tray/default_system_tray_delegate.cc
@@ -90,8 +90,12 @@ bool DefaultSystemTrayDelegate::IsUserSupervised() const {
return false;
}
-bool DefaultSystemTrayDelegate::SystemShouldUpgrade() const {
- return true;
+void DefaultSystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const {
+ if (!info)
+ return;
stevenjb 2014/10/02 15:33:55 This should just be DCHECK(info) - there is no rea
ygorshenin1 2014/10/02 15:40:21 Done.
+ info->severity = UpdateInfo::UPDATE_NORMAL;
+ info->update_required = true;
+ info->factory_reset_required = false;
}
base::HourClockType DefaultSystemTrayDelegate::GetHourClockType() const {
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.h ('k') | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698