Index: chrome/browser/extensions/extension_browsertest.cc |
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc |
index 44318aa22868736fcc8d690459f717c5900ec1bd..2a76d44f2cac8b8a60878a02a58485147fd64d32 100644 |
--- a/chrome/browser/extensions/extension_browsertest.cc |
+++ b/chrome/browser/extensions/extension_browsertest.cc |
@@ -97,8 +97,6 @@ class MockAbortExtensionInstallUI : public ExtensionInstallUI { |
virtual void OnInstallSuccess(Extension* extension) {} |
virtual void OnInstallFailure(const std::string& error) {} |
- |
- virtual void OnOverinstallAttempted(Extension* extension) {} |
}; |
bool ExtensionBrowserTest::InstallOrUpdateExtension(const std::string& id, |
@@ -115,8 +113,6 @@ bool ExtensionBrowserTest::InstallOrUpdateExtension(const std::string& id, |
NotificationService::AllSources()); |
registrar.Add(this, NotificationType::EXTENSION_UPDATE_DISABLED, |
NotificationService::AllSources()); |
- registrar.Add(this, NotificationType::EXTENSION_OVERINSTALL_ERROR, |
- NotificationService::AllSources()); |
registrar.Add(this, NotificationType::EXTENSION_INSTALL_ERROR, |
NotificationService::AllSources()); |
@@ -301,11 +297,6 @@ void ExtensionBrowserTest::Observe(NotificationType type, |
MessageLoopForUI::current()->Quit(); |
break; |
- case NotificationType::EXTENSION_OVERINSTALL_ERROR: |
- std::cout << "Got EXTENSION_OVERINSTALL_ERROR notification.\n"; |
- MessageLoopForUI::current()->Quit(); |
- break; |
- |
case NotificationType::EXTENSION_PROCESS_CREATED: |
std::cout << "Got EXTENSION_PROCESS_CREATED notification.\n"; |
MessageLoopForUI::current()->Quit(); |