| Index: chrome/browser/upgrade_detector.cc
|
| ===================================================================
|
| --- chrome/browser/upgrade_detector.cc (revision 284446)
|
| +++ chrome/browser/upgrade_detector.cc (working copy)
|
| @@ -38,13 +38,7 @@
|
| registry->RegisterBooleanPref(prefs::kAttemptedToEnableAutoupdate, false);
|
| }
|
|
|
| -int UpgradeDetector::GetIconResourceID(UpgradeNotificationIconType type) {
|
| - if (type == UPGRADE_ICON_TYPE_BADGE) {
|
| - // TODO(oshima): Badges no longer exist. remove this.
|
| - NOTREACHED();
|
| - return 0;
|
| - }
|
| -
|
| +int UpgradeDetector::GetIconResourceID() {
|
| switch (upgrade_notification_stage_) {
|
| case UPGRADE_ANNOYANCE_NONE:
|
| return 0;
|
|
|