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

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

Issue 9433006: Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The reason is the content mo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 10 months 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 123165)
+++ content/browser/speech/speech_input_dispatcher_host.h (working copy)
@@ -11,10 +11,10 @@
#include "content/public/browser/browser_message_filter.h"
#include "net/url_request/url_request_context_getter.h"
+class AudioManager;
struct SpeechInputHostMsg_StartRecognition_Params;
namespace content {
-class ResourceContext;
class SpeechInputPreferences;
}
@@ -34,7 +34,7 @@
int render_process_id,
net::URLRequestContextGetter* context_getter,
content::SpeechInputPreferences* speech_input_preferences,
- content::ResourceContext* resource_context);
+ AudioManager* audio_manager);
// SpeechInputManager::Delegate methods.
virtual void SetRecognitionResult(
@@ -67,7 +67,7 @@
scoped_refptr<net::URLRequestContextGetter> context_getter_;
scoped_refptr<content::SpeechInputPreferences> speech_input_preferences_;
- content::ResourceContext* resource_context_;
+ AudioManager* audio_manager_;
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