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

Unified Diff: content/browser/speech/speech_input_dispatcher_host.h

Issue 8818012: Remove the AudioManager singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Address comments from Avi Created 9 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: content/browser/speech/speech_input_dispatcher_host.h
===================================================================
--- content/browser/speech/speech_input_dispatcher_host.h (revision 113173)
+++ content/browser/speech/speech_input_dispatcher_host.h (working copy)
@@ -11,6 +11,7 @@
#include "content/common/content_export.h"
#include "net/url_request/url_request_context_getter.h"
+class AudioManager;
struct SpeechInputHostMsg_StartRecognition_Params;
namespace speech_input {
@@ -26,7 +27,8 @@
SpeechInputDispatcherHost(
int render_process_id,
net::URLRequestContextGetter* context_getter,
- SpeechInputPreferences* speech_input_preferences);
+ SpeechInputPreferences* speech_input_preferences,
+ AudioManager* audio_manager);
// SpeechInputManager::Delegate methods.
virtual void SetRecognitionResult(
@@ -59,6 +61,7 @@
scoped_refptr<net::URLRequestContextGetter> context_getter_;
scoped_refptr<SpeechInputPreferences> speech_input_preferences_;
+ scoped_refptr<AudioManager> audio_manager_;
static SpeechInputManager* manager_;

Powered by Google App Engine
This is Rietveld 408576698