Index: chrome/browser/ui/ash/system_tray_client.cc |
diff --git a/chrome/browser/ui/ash/system_tray_client.cc b/chrome/browser/ui/ash/system_tray_client.cc |
index 36110ab7d4a690f233851e200529737da540a584..812e9cae7bfaf50f891da61eaeb056cb67a896d6 100644 |
--- a/chrome/browser/ui/ash/system_tray_client.cc |
+++ b/chrome/browser/ui/ash/system_tray_client.cc |
@@ -389,7 +389,14 @@ void SystemTrayClient::HandleUpdateAvailable() { |
if (flash_update_available_) |
severity = std::max(severity, ash::mojom::UpdateSeverity::LOW); |
- system_tray_->ShowUpdateIcon(severity, detector->is_factory_reset_required()); |
+ // Show a string specific to updating flash player if there is no system |
+ // update. |
+ ash::mojom::UpdateType update_type = detector->notify_upgrade() |
+ ? ash::mojom::UpdateType::SYSTEM |
+ : ash::mojom::UpdateType::FLASH; |
+ |
+ system_tray_->ShowUpdateIcon(severity, detector->is_factory_reset_required(), |
+ update_type); |
} |
//////////////////////////////////////////////////////////////////////////////// |