| Index: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
|
| diff --git a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
|
| index e6593b49ce82113d18cfcc537ba9001d82cecfdb..d6c857aef59180efbef83eed54ea14e227a9b674 100644
|
| --- a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
|
| +++ b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
|
| @@ -117,7 +117,7 @@ SignedInDevicesManager::SignedInDevicesManager(content::BrowserContext* context)
|
|
|
| // Register for unload event so we could clear all our listeners when
|
| // extensions have unloaded.
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(profile_->GetOriginalProfile()));
|
| }
|
|
|
| @@ -163,7 +163,7 @@ void SignedInDevicesManager::Observe(
|
| int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| - DCHECK_EQ(type, chrome::NOTIFICATION_EXTENSION_UNLOADED);
|
| + DCHECK_EQ(type, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED);
|
| UnloadedExtensionInfo* reason =
|
| content::Details<UnloadedExtensionInfo>(details).ptr();
|
| RemoveChangeObserverForExtension(reason->extension->id());
|
|
|