| Index: chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc
|
| diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc
|
| index 2c97ce09b90789489e02152fb14072b9eaf4d898..bb84336ce7e8d8f0662c6afa5e2dec5319700cf9 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc
|
| +++ b/chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc
|
| @@ -52,7 +52,7 @@ ExtensionBluetoothEventRouter::ExtensionBluetoothEventRouter(
|
| weak_ptr_factory_(this) {
|
| DCHECK(browser_context_);
|
| registrar_.Add(this,
|
| - chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<content::BrowserContext>(browser_context_));
|
| }
|
|
|
| @@ -409,7 +409,7 @@ void ExtensionBluetoothEventRouter::Observe(
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| switch (type) {
|
| - case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: {
|
| extensions::UnloadedExtensionInfo* info =
|
| content::Details<extensions::UnloadedExtensionInfo>(details).ptr();
|
| CleanUpForExtension(info->extension->id());
|
|
|