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

Unified Diff: chrome/browser/speech/speech_input_extension_apitest.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: chrome/browser/speech/speech_input_extension_apitest.cc
===================================================================
--- chrome/browser/speech/speech_input_extension_apitest.cc (revision 121250)
+++ chrome/browser/speech/speech_input_extension_apitest.cc (working copy)
@@ -55,12 +55,12 @@
// SpeechInputExtensionInterface methods.
virtual bool HasAudioInputDevices(
- const content::ResourceContext* resource_context) OVERRIDE {
+ content::ResourceContext* resource_context) OVERRIDE {
return recording_devices_available_;
}
virtual bool IsRecordingInProcess(
- const content::ResourceContext* resource_context) OVERRIDE {
+ content::ResourceContext* resource_context) OVERRIDE {
// Only the mock recognizer is supposed to be recording during testing.
return HasValidRecognizer();
}
@@ -72,7 +72,7 @@
virtual void StartRecording(
speech_input::SpeechRecognizerDelegate* delegate,
net::URLRequestContextGetter* context_getter,
- const content::ResourceContext* resource_context,
+ content::ResourceContext* resource_context,
int caller_id,
const std::string& language,
const std::string& grammar,
@@ -125,7 +125,7 @@
void SpeechInputExtensionApiTest::StartRecording(
speech_input::SpeechRecognizerDelegate* delegate,
net::URLRequestContextGetter* context_getter,
- const content::ResourceContext* resource_context,
+ 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