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

Unified Diff: chrome/browser/speech/speech_input_extension_apitest.cc

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: chrome/browser/speech/speech_input_extension_apitest.cc
===================================================================
--- chrome/browser/speech/speech_input_extension_apitest.cc (revision 123165)
+++ chrome/browser/speech/speech_input_extension_apitest.cc (working copy)
@@ -55,13 +55,11 @@
}
// SpeechInputExtensionInterface methods.
- virtual bool HasAudioInputDevices(
- content::ResourceContext* resource_context) OVERRIDE {
+ virtual bool HasAudioInputDevices() OVERRIDE {
return recording_devices_available_;
}
- virtual bool IsRecordingInProcess(
- content::ResourceContext* resource_context) OVERRIDE {
+ virtual bool IsRecordingInProcess() OVERRIDE {
// Only the mock recognizer is supposed to be recording during testing.
return HasValidRecognizer();
}
@@ -73,7 +71,6 @@
virtual void StartRecording(
content::SpeechRecognizerDelegate* delegate,
net::URLRequestContextGetter* context_getter,
- content::ResourceContext* resource_context,
int caller_id,
const std::string& language,
const std::string& grammar,
@@ -126,7 +123,6 @@
void SpeechInputExtensionApiTest::StartRecording(
content::SpeechRecognizerDelegate* delegate,
net::URLRequestContextGetter* context_getter,
- content::ResourceContext* resource_context,
int caller_id,
const std::string& language,
const std::string& grammar,
« no previous file with comments | « chrome/browser/speech/speech_input_bubble_views.cc ('k') | chrome/browser/speech/speech_input_extension_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698