Index: chrome/browser/extensions/extension_warning_service.cc |
diff --git a/chrome/browser/extensions/extension_warning_service.cc b/chrome/browser/extensions/extension_warning_service.cc |
index a65dfa6c688f27ec215477e996ecb01d6637aaae..2acda5fda1aaed3bcb5015c30f34b019ce80654a 100644 |
--- a/chrome/browser/extensions/extension_warning_service.cc |
+++ b/chrome/browser/extensions/extension_warning_service.cc |
@@ -23,7 +23,7 @@ ExtensionWarningService::ExtensionWarningService(Profile* profile) |
: profile_(profile) { |
DCHECK(CalledOnValidThread()); |
if (profile_) { |
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, |
+ registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
content::Source<Profile>(profile_->GetOriginalProfile())); |
} |
} |
@@ -124,7 +124,7 @@ void ExtensionWarningService::Observe( |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
switch (type) { |
- case chrome::NOTIFICATION_EXTENSION_UNLOADED: { |
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: { |
const Extension* extension = |
content::Details<extensions::UnloadedExtensionInfo>(details)-> |
extension; |