Index: chrome/browser/ui/app_list/app_list_service_impl.cc |
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc |
index 8031b69075cbc8e73aaab05278fc81496b65e19d..90fa14292699f7500a62dc3be597055e612cc4cf 100644 |
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc |
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc |
@@ -329,9 +329,11 @@ void AppListServiceImpl::Show() { |
weak_factory_.GetWeakPtr())); |
} |
-void AppListServiceImpl::ShowForVoiceSearch(Profile* profile) { |
+void AppListServiceImpl::ShowForVoiceSearch( |
+ Profile* profile, |
+ const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble) { |
ShowForProfile(profile); |
- view_delegate_->ToggleSpeechRecognition(); |
+ view_delegate_->ToggleSpeechRecognitionForHotword(preamble); |
} |
void AppListServiceImpl::ShowForAppInstall(Profile* profile, |