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

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

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync 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.cc
===================================================================
--- content/browser/speech/speech_input_dispatcher_host.cc (revision 121250)
+++ content/browser/speech/speech_input_dispatcher_host.cc (working copy)
@@ -116,7 +116,7 @@
int render_process_id,
net::URLRequestContextGetter* context_getter,
SpeechInputPreferences* speech_input_preferences,
- const content::ResourceContext* resource_context)
+ content::ResourceContext* resource_context)
: render_process_id_(render_process_id),
may_have_pending_requests_(false),
context_getter_(context_getter),
@@ -174,7 +174,7 @@
params.origin_url,
context_getter_.get(),
speech_input_preferences_.get(),
- resource_context_->audio_manager());
+ resource_context_->GetAudioManager());
}
void SpeechInputDispatcherHost::OnCancelRecognition(int render_view_id,
« no previous file with comments | « content/browser/speech/speech_input_dispatcher_host.h ('k') | content/browser/speech/speech_input_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698