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 11133c55a285a231562b1e189a90f17c08ac7dbb..6d908d5dc94449f49e514cc7f39c749b7cfce9bc 100644 |
--- a/chrome/browser/extensions/extension_notification_observer.cc |
+++ b/chrome/browser/extensions/extension_notification_observer.cc |
@@ -36,7 +36,8 @@ ExtensionNotificationObserver::ExtensionNotificationObserver( |
: extension_ids_(extension_ids) { |
registrar_.Add( |
this, chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED, source); |
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, source); |
+ registrar_.Add( |
+ this, chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED, source); |
registrar_.Add( |
this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, source); |
} |
@@ -95,7 +96,7 @@ void ExtensionNotificationObserver::Observe( |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
switch (type) { |
- case chrome::NOTIFICATION_EXTENSION_INSTALLED: { |
+ case chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED: { |
const Extension* extension = |
content::Details<const InstalledExtensionInfo>(details)->extension; |
if (extension_ids_.count(extension->id())) |