| Index: chrome/browser/extensions/api/debugger/debugger_api.cc
|
| diff --git a/chrome/browser/extensions/api/debugger/debugger_api.cc b/chrome/browser/extensions/api/debugger/debugger_api.cc
|
| index e965066e82d160b6b94f6bbe6486253c26a8d525..53eaef5ff9cd73bffd4f604c74c4d66c96ff8415 100644
|
| --- a/chrome/browser/extensions/api/debugger/debugger_api.cc
|
| +++ b/chrome/browser/extensions/api/debugger/debugger_api.cc
|
| @@ -307,7 +307,7 @@ ExtensionDevToolsClientHost::ExtensionDevToolsClientHost(
|
| AttachedClientHosts::GetInstance()->Add(this);
|
|
|
| // Detach from debugger when extension unloads.
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(profile_));
|
|
|
| // RVH-based agents disconnect from their clients when the app is terminating
|
| @@ -400,7 +400,7 @@ void ExtensionDevToolsClientHost::Observe(
|
| int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| - if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) {
|
| + if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED) {
|
| if (content::Details<extensions::UnloadedExtensionInfo>(details)->
|
| extension->id() == extension_id_)
|
| Close();
|
|
|