| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| index 2de57483083a67a47ad1e5fd4a3594c19654ef24..8cba80da3d4fa83b4adb7baa17fd2c25aa84aaad 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| @@ -379,12 +379,14 @@ ChromeLauncherController::ChromeLauncherController(Profile* profile,
|
| ash::Shell::GetInstance()->shelf_item_delegate_manager();
|
| }
|
|
|
| - notification_registrar_.Add(this,
|
| - chrome::NOTIFICATION_EXTENSION_LOADED,
|
| - content::Source<Profile>(profile_));
|
| - notification_registrar_.Add(this,
|
| - chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| - content::Source<Profile>(profile_));
|
| + notification_registrar_.Add(
|
| + this,
|
| + chrome::NOTIFICATION_EXTENSION_LOADED,
|
| + content::Source<Profile>(profile_));
|
| + notification_registrar_.Add(
|
| + this,
|
| + chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| + content::Source<Profile>(profile_));
|
| }
|
|
|
| ChromeLauncherController::~ChromeLauncherController() {
|
| @@ -1166,7 +1168,7 @@ void ChromeLauncherController::Observe(
|
| UpdateAppLaunchersFromPref();
|
| break;
|
| }
|
| - case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: {
|
| const content::Details<UnloadedExtensionInfo>& unload_info(details);
|
| const Extension* extension = unload_info->extension;
|
| const std::string& id = extension->id();
|
|
|