| Index: chrome/browser/extensions/extension_notification_observer.cc
|
| diff --git a/chrome/browser/extensions/extension_notification_observer.cc b/chrome/browser/extensions/extension_notification_observer.cc
|
| index b5ab0f3abee86578bb1b65d411c65eb216b2abde..11133c55a285a231562b1e189a90f17c08ac7dbb 100644
|
| --- a/chrome/browser/extensions/extension_notification_observer.cc
|
| +++ b/chrome/browser/extensions/extension_notification_observer.cc
|
| @@ -34,7 +34,8 @@ ExtensionNotificationObserver::ExtensionNotificationObserver(
|
| content::NotificationSource source,
|
| const std::set<std::string>& extension_ids)
|
| : extension_ids_(extension_ids) {
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, source);
|
| + registrar_.Add(
|
| + this, chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED, source);
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, source);
|
| registrar_.Add(
|
| this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, source);
|
| @@ -102,7 +103,7 @@ void ExtensionNotificationObserver::Observe(
|
| break;
|
| }
|
|
|
| - case chrome::NOTIFICATION_EXTENSION_LOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED: {
|
| const Extension* extension =
|
| content::Details<const Extension>(details).ptr();
|
| if (extension_ids_.count(extension->id()))
|
|
|