| Index: chrome/browser/ui/webui/app_list/start_page_handler.cc
|
| diff --git a/chrome/browser/ui/webui/app_list/start_page_handler.cc b/chrome/browser/ui/webui/app_list/start_page_handler.cc
|
| index 4ee69f6eed2c649d1e4e430169715ad12e6f466d..8987645e9ff64c67fcd34912c13d4d77f0016320 100644
|
| --- a/chrome/browser/ui/webui/app_list/start_page_handler.cc
|
| +++ b/chrome/browser/ui/webui/app_list/start_page_handler.cc
|
| @@ -93,7 +93,7 @@ void StartPageHandler::Observe(int type,
|
| DCHECK_EQ(Profile::FromWebUI(web_ui()),
|
| content::Source<Profile>(source).ptr());
|
| switch (type) {
|
| - case chrome::NOTIFICATION_EXTENSION_LOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED: {
|
| extensions::Extension* extension =
|
| content::Details<extensions::Extension>(details).ptr();
|
| if (extension->id() == extension_misc::kHotwordExtensionId)
|
| @@ -160,7 +160,8 @@ void StartPageHandler::HandleInitialize(const base::ListValue* args) {
|
| prefs::kHotwordSearchEnabled,
|
| base::Bind(&StartPageHandler::OnHotwordEnabledChanged,
|
| base::Unretained(this)));
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED,
|
| + registrar_.Add(this,
|
| + chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
| content::Source<Profile>(profile));
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(profile));
|
|
|