Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.cc

Issue 809603003: Plumb preamble log data from the hotword extension into the speech recognizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_impl.h ('k') | chrome/browser/ui/app_list/app_list_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698