| Index: chrome/browser/upgrade_detector.cc
|
| diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc
|
| index acb742f35c10eae16f887074d92f789e716653ca..0a7648b4ce43ccc5bc57dedc9c3acd98d644081f 100644
|
| --- a/chrome/browser/upgrade_detector.cc
|
| +++ b/chrome/browser/upgrade_detector.cc
|
| @@ -62,6 +62,7 @@ int UpgradeDetector::GetIconResourceID(UpgradeNotificationIconType type) {
|
|
|
| UpgradeDetector::UpgradeDetector()
|
| : is_critical_upgrade_(false),
|
| + is_outdated_install_(false),
|
| critical_update_acknowledged_(false),
|
| upgrade_notification_stage_(UPGRADE_ANNOYANCE_NONE),
|
| notify_upgrade_(false) {
|
| @@ -78,6 +79,13 @@ void UpgradeDetector::NotifyUpgradeDetected() {
|
| void UpgradeDetector::NotifyUpgradeRecommended() {
|
| notify_upgrade_ = true;
|
|
|
| + if (is_outdated_install()) {
|
| + content::NotificationService::current()->Notify(
|
| + chrome::NOTIFICATION_OUTDATED_INSTALL,
|
| + content::Source<UpgradeDetector>(this),
|
| + content::NotificationService::NoDetails());
|
| + }
|
| +
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_UPGRADE_RECOMMENDED,
|
| content::Source<UpgradeDetector>(this),
|
|
|