Index: content/browser/speech/speech_recognition_manager_impl.h |
diff --git a/content/browser/speech/speech_recognition_manager_impl.h b/content/browser/speech/speech_recognition_manager_impl.h |
index 9469016af0b97e9b52caec7dcfab14cfc8660cae..2f17def7db16175c3717f0178a3adad28e9058ba 100644 |
--- a/content/browser/speech/speech_recognition_manager_impl.h |
+++ b/content/browser/speech/speech_recognition_manager_impl.h |
@@ -19,6 +19,10 @@ |
#include "content/public/browser/speech_recognition_session_context.h" |
#include "content/public/common/speech_recognition_error.h" |
+namespace media { |
+class AudioSystem; |
+} |
+ |
namespace content { |
class BrowserMainLoop; |
class MediaStreamManager; |
@@ -92,7 +96,8 @@ class CONTENT_EXPORT SpeechRecognitionManagerImpl : |
friend class BrowserMainLoop; |
// Needed for dtor. |
friend std::default_delete<SpeechRecognitionManagerImpl>; |
- SpeechRecognitionManagerImpl(MediaStreamManager* media_stream_manager); |
+ SpeechRecognitionManagerImpl(media::AudioSystem* audio_system, |
+ MediaStreamManager* media_stream_manager); |
~SpeechRecognitionManagerImpl() override; |
private: |
@@ -166,6 +171,7 @@ class CONTENT_EXPORT SpeechRecognitionManagerImpl : |
SpeechRecognitionEventListener* GetDelegateListener() const; |
int GetNextSessionID(); |
+ media::AudioSystem* audio_system_; |
MediaStreamManager* media_stream_manager_; |
typedef std::map<int, Session*> SessionsTable; |
SessionsTable sessions_; |