| Index: content/public/browser/speech_recognition_manager.h
|
| diff --git a/content/public/browser/speech_recognition_manager.h b/content/public/browser/speech_recognition_manager.h
|
| index db6f80e66ea30dd8cc2482aa5c6d44938d6cce00..8c76633fc07db16e4641145114424476b6361e0f 100644
|
| --- a/content/public/browser/speech_recognition_manager.h
|
| +++ b/content/public/browser/speech_recognition_manager.h
|
| @@ -10,6 +10,10 @@
|
| #include "content/common/content_export.h"
|
| #include "content/public/common/speech_recognition_result.h"
|
|
|
| +namespace media {
|
| +class AudioManager;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class SpeechRecognitionEventListener;
|
| @@ -34,6 +38,13 @@ class SpeechRecognitionManager {
|
| // Returns the singleton instance.
|
| static CONTENT_EXPORT SpeechRecognitionManager* GetInstance();
|
|
|
| + // Overrides the AudioManager that will be used for tests.
|
| + static CONTENT_EXPORT void SetAudioManagerForTests(
|
| + media::AudioManager* audio_manager);
|
| +
|
| + // Sets the ID that will be used by URLFetcher requests.
|
| + static CONTENT_EXPORT void SetURLFetcherIDForTests(int url_fetcher_id);
|
| +
|
| // Creates a new recognition session.
|
| virtual int CreateSession(const SpeechRecognitionSessionConfig& config) = 0;
|
|
|
|
|