| Index: chrome/browser/automation/automation_provider_observers.cc
|
| diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
|
| index ce1750ec907397cacb9ed777d3facd230bb1efe2..cdb5de8b71e939126a27d2085035d068406a4b80 100644
|
| --- a/chrome/browser/automation/automation_provider_observers.cc
|
| +++ b/chrome/browser/automation/automation_provider_observers.cc
|
| @@ -305,8 +305,6 @@ ExtensionInstallNotificationObserver::ExtensionInstallNotificationObserver(
|
| NotificationService::AllSources());
|
| registrar_.Add(this, NotificationType::EXTENSION_INSTALL_ERROR,
|
| NotificationService::AllSources());
|
| - registrar_.Add(this, NotificationType::EXTENSION_OVERINSTALL_ERROR,
|
| - NotificationService::AllSources());
|
| registrar_.Add(this, NotificationType::EXTENSION_UPDATE_DISABLED,
|
| NotificationService::AllSources());
|
| }
|
| @@ -325,9 +323,6 @@ void ExtensionInstallNotificationObserver::Observe(
|
| case NotificationType::EXTENSION_UPDATE_DISABLED:
|
| SendResponse(AUTOMATION_MSG_EXTENSION_INSTALL_FAILED);
|
| break;
|
| - case NotificationType::EXTENSION_OVERINSTALL_ERROR:
|
| - SendResponse(AUTOMATION_MSG_EXTENSION_ALREADY_INSTALLED);
|
| - break;
|
| default:
|
| NOTREACHED();
|
| break;
|
| @@ -372,8 +367,6 @@ ExtensionReadyNotificationObserver::ExtensionReadyNotificationObserver(
|
| NotificationService::AllSources());
|
| registrar_.Add(this, NotificationType::EXTENSION_INSTALL_ERROR,
|
| NotificationService::AllSources());
|
| - registrar_.Add(this, NotificationType::EXTENSION_OVERINSTALL_ERROR,
|
| - NotificationService::AllSources());
|
| registrar_.Add(this, NotificationType::EXTENSION_UPDATE_DISABLED,
|
| NotificationService::AllSources());
|
| }
|
| @@ -401,7 +394,6 @@ void ExtensionReadyNotificationObserver::Observe(
|
| break;
|
| case NotificationType::EXTENSION_INSTALL_ERROR:
|
| case NotificationType::EXTENSION_UPDATE_DISABLED:
|
| - case NotificationType::EXTENSION_OVERINSTALL_ERROR:
|
| success = false;
|
| break;
|
| default:
|
|
|