| Index: chrome/browser/ui/webui/voice_search_ui.cc
|
| diff --git a/chrome/browser/ui/webui/voice_search_ui.cc b/chrome/browser/ui/webui/voice_search_ui.cc
|
| index 3ddf0e949eb2de60e954163c0b93ba8497e634af..6731445ba4b49ed0a4761a55091f49b390d14f7e 100644
|
| --- a/chrome/browser/ui/webui/voice_search_ui.cc
|
| +++ b/chrome/browser/ui/webui/voice_search_ui.cc
|
| @@ -168,12 +168,9 @@ class VoiceSearchDomHandler : public WebUIMessageHandler {
|
| AddHotwordInfo(list.get());
|
| AddAppListInfo(list.get());
|
|
|
| - std::string extension_id = extension_misc::kHotwordExtensionId;
|
| - HotwordService* hotword_service =
|
| - HotwordServiceFactory::GetForProfile(profile_);
|
| - if (hotword_service && hotword_service->IsExperimentalHotwordingEnabled())
|
| - extension_id = extension_misc::kHotwordNewExtensionId;
|
| - AddExtensionInfo(extension_id, "Extension", list.get());
|
| + AddExtensionInfo(extension_misc::kHotwordNewExtensionId,
|
| + "Extension",
|
| + list.get());
|
|
|
| AddExtensionInfo(extension_misc::kHotwordSharedModuleId,
|
| "Shared Module",
|
| @@ -326,11 +323,6 @@ class VoiceSearchDomHandler : public WebUIMessageHandler {
|
| hotword_internal::kHotwordFieldTrialName);
|
| AddPair(list, "Field trial", group);
|
|
|
| - std::string new_hotwording_enabled = "No";
|
| - if (hotword_service && hotword_service->IsExperimentalHotwordingEnabled())
|
| - new_hotwording_enabled = "Yes";
|
| - AddPair(list, "New Hotwording Enabled", new_hotwording_enabled);
|
| -
|
| AddLineBreak(list);
|
| }
|
|
|
|
|