Index: chrome/browser/extensions/api/downloads/downloads_api.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/browser/extensions/api/downloads/downloads_api.cc |
index 12cd1d16e1aa561b88a7448a759c0cbb56513a4f..4657ddb51dd8fa2aaac18ead59d2c7f073a2aeed 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api.cc |
@@ -1517,7 +1517,7 @@ ExtensionDownloadsEventRouter::ExtensionDownloadsEventRouter( |
notifier_(manager, this) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
DCHECK(profile_); |
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, |
+ registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
content::Source<Profile>(profile_)); |
extensions::EventRouter* router = extensions::ExtensionSystem::Get(profile_)-> |
event_router(); |
@@ -1894,7 +1894,7 @@ void ExtensionDownloadsEventRouter::Observe( |
const content::NotificationDetails& details) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
switch (type) { |
- case chrome::NOTIFICATION_EXTENSION_UNLOADED: { |
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: { |
extensions::UnloadedExtensionInfo* unloaded = |
content::Details<extensions::UnloadedExtensionInfo>(details).ptr(); |
std::set<const extensions::Extension*>::iterator iter = |