| 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 f1c6a008599d50d1c2697f487457693f1e356537..8852361c946eda359bad9df62c71c0b930ddbd79 100644
|
| --- a/chrome/browser/automation/automation_provider_observers.cc
|
| +++ b/chrome/browser/automation/automation_provider_observers.cc
|
| @@ -655,7 +655,7 @@ void ExtensionReadyNotificationObserver::Observe(
|
|
|
| ExtensionUnloadNotificationObserver::ExtensionUnloadNotificationObserver()
|
| : did_receive_unload_notification_(false) {
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::NotificationService::AllSources());
|
| }
|
|
|
| @@ -665,7 +665,7 @@ ExtensionUnloadNotificationObserver::~ExtensionUnloadNotificationObserver() {
|
| void ExtensionUnloadNotificationObserver::Observe(
|
| int type, const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| - if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) {
|
| + if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED) {
|
| did_receive_unload_notification_ = true;
|
| } else {
|
| NOTREACHED();
|
|
|