summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index d7808ad..d72c24a 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -24,7 +24,6 @@
#include "chrome/browser/download/download_manager.h"
#include "chrome/browser/download/download_shelf.h"
#include "chrome/browser/download/download_started_animation.h"
-#include "chrome/browser/extensions/crashed_extension_infobar.h"
#include "chrome/browser/extensions/extension_disabled_infobar_delegate.h"
#include "chrome/browser/find_bar.h"
#include "chrome/browser/find_bar_controller.h"
@@ -196,8 +195,6 @@ Browser::Browser(Type type, Profile* profile)
NotificationService::AllSources());
registrar_.Add(this, NotificationType::EXTENSION_UNLOADED,
NotificationService::AllSources());
- registrar_.Add(this, NotificationType::EXTENSION_PROCESS_CRASHED,
- NotificationService::AllSources());
registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED,
NotificationService::AllSources());
@@ -2084,18 +2081,6 @@ void Browser::Observe(NotificationType type,
break;
}
- case NotificationType::EXTENSION_PROCESS_CRASHED: {
- TabContents* tab_contents = GetSelectedTabContents();
- if (!tab_contents)
- break;
- ExtensionsService* extensions_service =
- Source<ExtensionsService>(source).ptr();
- ExtensionHost* extension_host = Details<ExtensionHost>(details).ptr();
- tab_contents->AddInfoBar(new CrashedExtensionInfoBarDelegate(
- tab_contents, extensions_service, extension_host->extension()));
- break;
- }
-
case NotificationType::BROWSER_THEME_CHANGED:
window()->UserChangedTheme();
break;