Index: chrome/browser/extensions/api/location/location_manager.cc |
diff --git a/chrome/browser/extensions/api/location/location_manager.cc b/chrome/browser/extensions/api/location/location_manager.cc |
index ad5ebe2f577ff9331267fe4f4aeb667446189179..25c1857f17f5d734a04ac9266f5215c5ba0e43ef 100644 |
--- a/chrome/browser/extensions/api/location/location_manager.cc |
+++ b/chrome/browser/extensions/api/location/location_manager.cc |
@@ -301,7 +301,7 @@ LocationManager::LocationManager(content::BrowserContext* context) |
: profile_(Profile::FromBrowserContext(context)) { |
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, |
content::Source<Profile>(profile_)); |
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, |
+ registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
content::Source<Profile>(profile_)); |
} |
@@ -417,7 +417,7 @@ void LocationManager::Observe(int type, |
} |
break; |
} |
- case chrome::NOTIFICATION_EXTENSION_UNLOADED: { |
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: { |
// Delete all requests from the unloaded extension. |
const Extension* extension = |
content::Details<const UnloadedExtensionInfo>(details)->extension; |