Index: chrome/browser/ui/browser_commands.cc |
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc |
index 479e4e8866a8fdbe696d78a8f8134ebda732257f..25553d21c90b61b77fef8da184912a32004a94d7 100644 |
--- a/chrome/browser/ui/browser_commands.cc |
+++ b/chrome/browser/ui/browser_commands.cc |
@@ -1062,7 +1062,12 @@ void ShowAvatarMenu(Browser* browser) { |
} |
void OpenUpdateChromeDialog(Browser* browser) { |
- if (UpgradeDetector::GetInstance()->is_outdated_install()) { |
+ if (UpgradeDetector::GetInstance()->is_elevation_needed_for_recovery()) { |
+ content::NotificationService::current()->Notify( |
+ chrome::NOTIFICATION_UPGRADE_NEEDS_ELEVATION, |
+ content::NotificationService::AllSources(), |
+ content::NotificationService::NoDetails()); |
+ } else if (UpgradeDetector::GetInstance()->is_outdated_install()) { |
content::NotificationService::current()->Notify( |
chrome::NOTIFICATION_OUTDATED_INSTALL, |
content::NotificationService::AllSources(), |