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

Unified Diff: chrome/browser/ui/app_list/app_list_service.h

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
« no previous file with comments | « chrome/browser/search/hotword_client.h ('k') | chrome/browser/ui/app_list/app_list_service_disabled.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_service.h
diff --git a/chrome/browser/ui/app_list/app_list_service.h b/chrome/browser/ui/app_list/app_list_service.h
index 2b982cbfb12a4deacfca37b5298f342ed34f77b5..278ecbb119caf92cdc57a3add169f90d48a98fd9 100644
--- a/chrome/browser/ui/app_list/app_list_service.h
+++ b/chrome/browser/ui/app_list/app_list_service.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/memory/ref_counted.h"
#include "chrome/browser/ui/host_desktop.h"
#include "ui/gfx/native_widget_types.h"
@@ -21,6 +22,10 @@ class CommandLine;
class FilePath;
}
+namespace content {
+struct SpeechRecognitionSessionPreamble;
+}
+
namespace gfx {
class ImageSkia;
}
@@ -79,7 +84,10 @@ class AppListService {
// Shows the app list, and switches to voice search. Used by always-on
// hotwording.
- virtual void ShowForVoiceSearch(Profile* profile) = 0;
+ virtual void ShowForVoiceSearch(
+ Profile* profile,
+ const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble)
+ = 0;
// Shows the app list, and reveals the page that contains |extension_id|. This
// should only be called for things that show in the app list, and only when
« no previous file with comments | « chrome/browser/search/hotword_client.h ('k') | chrome/browser/ui/app_list/app_list_service_disabled.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698