| Index: chrome/browser/upgrade_detector.cc
|
| diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc
|
| index f6b68bc8b875f1490545012cbdf62cd79eacc408..55327bd18485316ea8454d51db0968da1b11e4b2 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 :
|
|
|