| Index: chrome/browser/automation/automation_provider_observers.cc
|
| ===================================================================
|
| --- chrome/browser/automation/automation_provider_observers.cc (revision 69996)
|
| +++ chrome/browser/automation/automation_provider_observers.cc (working copy)
|
| @@ -550,8 +550,6 @@
|
| : did_receive_unload_notification_(false) {
|
| registrar_.Add(this, NotificationType::EXTENSION_UNLOADED,
|
| NotificationService::AllSources());
|
| - registrar_.Add(this, NotificationType::EXTENSION_UNLOADED_DISABLED,
|
| - NotificationService::AllSources());
|
| }
|
|
|
| ExtensionUnloadNotificationObserver::~ExtensionUnloadNotificationObserver() {
|
| @@ -560,8 +558,7 @@
|
| void ExtensionUnloadNotificationObserver::Observe(
|
| NotificationType type, const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - if (type.value == NotificationType::EXTENSION_UNLOADED ||
|
| - type.value == NotificationType::EXTENSION_UNLOADED_DISABLED) {
|
| + if (type.value == NotificationType::EXTENSION_UNLOADED) {
|
| did_receive_unload_notification_ = true;
|
| } else {
|
| NOTREACHED();
|
|
|