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: |