diff options
Diffstat (limited to 'chrome/browser/upgrade_detector.cc')
-rw-r--r-- | chrome/browser/upgrade_detector.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc index f6b68bc..55327bd 100644 --- a/chrome/browser/upgrade_detector.cc +++ b/chrome/browser/upgrade_detector.cc @@ -35,6 +35,7 @@ bool UseTestingIntervals() { void UpgradeDetector::RegisterPrefs(PrefRegistrySimple* registry) { registry->RegisterBooleanPref(prefs::kRestartLastSessionOnShutdown, false); registry->RegisterBooleanPref(prefs::kWasRestarted, false); + registry->RegisterBooleanPref(prefs::kAttemptedToEnableAutoupdate, false); } int UpgradeDetector::GetIconResourceID(UpgradeNotificationIconType type) { @@ -109,6 +110,13 @@ void UpgradeDetector::NotifyUpgradeRecommended() { content::NotificationService::NoDetails()); break; } + case UPGRADE_NEEDED_OUTDATED_INSTALL_NO_AU: { + content::NotificationService::current()->Notify( + chrome::NOTIFICATION_OUTDATED_INSTALL_NO_AU, + content::Source<UpgradeDetector>(this), + content::NotificationService::NoDetails()); + break; + } case UPGRADE_AVAILABLE_CRITICAL: { int idle_timer = UseTestingIntervals() ? kIdleRepeatingTimerWait : |