Index: chrome/browser/ui/ash/system_tray_delegate_utils.cc |
diff --git a/chrome/browser/ui/ash/system_tray_delegate_utils.cc b/chrome/browser/ui/ash/system_tray_delegate_utils.cc |
index e314fb05c8f1fe1f67a51d2c9b3c89fd6ee86dd2..470dc685b406468461df2d45ec1f9eb001a6a533 100644 |
--- a/chrome/browser/ui/ash/system_tray_delegate_utils.cc |
+++ b/chrome/browser/ui/ash/system_tray_delegate_utils.cc |
@@ -13,18 +13,22 @@ void GetUpdateInfo(const UpgradeDetector* detector, ash::UpdateInfo* info) { |
DCHECK(info); |
switch (detector->upgrade_notification_stage()) { |
case UpgradeDetector::UPGRADE_ANNOYANCE_CRITICAL: |
+ info->severity = ash::UpdateInfo::UPDATE_CRITICAL; |
+ break; |
case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: |
- info->severity = ash::UpdateInfo::UPDATE_SEVERE_RED; |
+ info->severity = ash::UpdateInfo::UPDATE_SEVERE; |
break; |
case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: |
- info->severity = ash::UpdateInfo::UPDATE_HIGH_ORANGE; |
+ info->severity = ash::UpdateInfo::UPDATE_HIGH; |
break; |
case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: |
- info->severity = ash::UpdateInfo::UPDATE_LOW_GREEN; |
+ info->severity = ash::UpdateInfo::UPDATE_ELEVATED; |
break; |
case UpgradeDetector::UPGRADE_ANNOYANCE_LOW: |
+ info->severity = ash::UpdateInfo::UPDATE_LOW; |
+ break; |
case UpgradeDetector::UPGRADE_ANNOYANCE_NONE: |
- info->severity = ash::UpdateInfo::UPDATE_NORMAL; |
+ info->severity = ash::UpdateInfo::UPDATE_NONE; |
break; |
} |
info->update_required = detector->notify_upgrade(); |