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

Unified Diff: chrome/browser/ui/app_list/speech_recognizer.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
Index: chrome/browser/ui/app_list/speech_recognizer.h
diff --git a/chrome/browser/ui/app_list/speech_recognizer.h b/chrome/browser/ui/app_list/speech_recognizer.h
index 353608f9ff81c4f989550bbbac8a7777087b6563..9b6a502d7360a1876a2e0cfc8ff3ff56ecdb5252 100644
--- a/chrome/browser/ui/app_list/speech_recognizer.h
+++ b/chrome/browser/ui/app_list/speech_recognizer.h
@@ -9,6 +9,10 @@
#include "base/memory/weak_ptr.h"
+namespace content {
+struct SpeechRecognitionSessionPreamble;
+}
+
namespace net {
class URLRequestContextGetter;
}
@@ -27,8 +31,11 @@ class SpeechRecognizer {
const std::string& locale);
~SpeechRecognizer();
- // Start/stop the speech recognizer. Must be called on the UI thread.
- void Start();
+ // Start/stop the speech recognizer. |preamble| contains the preamble audio to
+ // log if auth parameters are available.
+ // Must be called on the UI thread.
+ void Start(
+ const scoped_refptr<content::SpeechRecognitionSessionPreamble>& preamble);
void Stop();
private:
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/app_list/speech_recognizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698