| Index: chrome/browser/ui/webui/extensions/command_handler.cc
|
| diff --git a/chrome/browser/ui/webui/extensions/command_handler.cc b/chrome/browser/ui/webui/extensions/command_handler.cc
|
| index 00eac636b01879621d2135157d027e86be1c9607..a8b525face95613b5c75e315b3d44ded6dd368dc 100644
|
| --- a/chrome/browser/ui/webui/extensions/command_handler.cc
|
| +++ b/chrome/browser/ui/webui/extensions/command_handler.cc
|
| @@ -47,7 +47,7 @@ void CommandHandler::GetLocalizedValues(content::WebUIDataSource* source) {
|
| void CommandHandler::RegisterMessages() {
|
| 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_));
|
|
|
| web_ui()->RegisterMessageCallback("extensionCommandsRequestExtensionsData",
|
| @@ -69,7 +69,7 @@ void CommandHandler::Observe(
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| DCHECK(type == chrome::NOTIFICATION_EXTENSION_LOADED ||
|
| - type == chrome::NOTIFICATION_EXTENSION_UNLOADED);
|
| + type == chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED);
|
| UpdateCommandDataOnPage();
|
| }
|
|
|
|
|