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

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: Set svn eol properties for a couple of files 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 114012)
+++ content/browser/speech/speech_input_dispatcher_host.h (working copy)
@@ -13,6 +13,10 @@
struct SpeechInputHostMsg_StartRecognition_Params;
+namespace content {
+class ResourceContext;
+}
+
namespace speech_input {
// SpeechInputDispatcherHost is a delegate for Speech API messages used by
@@ -26,7 +30,8 @@
SpeechInputDispatcherHost(
int render_process_id,
net::URLRequestContextGetter* context_getter,
- SpeechInputPreferences* speech_input_preferences);
+ SpeechInputPreferences* speech_input_preferences,
+ const content::ResourceContext* resource_context);
// SpeechInputManager::Delegate methods.
virtual void SetRecognitionResult(
@@ -59,6 +64,7 @@
scoped_refptr<net::URLRequestContextGetter> context_getter_;
scoped_refptr<SpeechInputPreferences> speech_input_preferences_;
+ const content::ResourceContext* resource_context_;
static SpeechInputManager* manager_;
« no previous file with comments | « content/browser/speech/speech_input_browsertest.cc ('k') | content/browser/speech/speech_input_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698