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

Unified Diff: chrome/browser/speech/speech_input_extension_manager.h

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_manager.h
===================================================================
--- chrome/browser/speech/speech_input_extension_manager.h (revision 121250)
+++ chrome/browser/speech/speech_input_extension_manager.h (working copy)
@@ -34,7 +34,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,
@@ -42,9 +42,9 @@
virtual void StopRecording(bool recognition_failed) = 0;
virtual bool HasAudioInputDevices(
- const content::ResourceContext* resource_context) = 0;
+ content::ResourceContext* resource_context) = 0;
virtual bool IsRecordingInProcess(
- const content::ResourceContext* resource_context) = 0;
+ content::ResourceContext* resource_context) = 0;
// Called from the UI thread.
virtual bool HasValidRecognizer() = 0;
@@ -141,15 +141,15 @@
private:
// SpeechInputExtensionInterface methods:
virtual bool IsRecordingInProcess(
- const content::ResourceContext* resource_context) OVERRIDE;
+ content::ResourceContext* resource_context) OVERRIDE;
virtual bool HasAudioInputDevices(
- const content::ResourceContext* resource_context) OVERRIDE;
+ content::ResourceContext* resource_context) OVERRIDE;
virtual bool HasValidRecognizer() OVERRIDE;
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,
@@ -160,13 +160,13 @@
// Internal methods.
void StartOnIOThread(
net::URLRequestContextGetter* context_getter,
- const content::ResourceContext* resource_context,
+ content::ResourceContext* resource_context,
const std::string& language,
const std::string& grammar,
bool filter_profanities);
void ForceStopOnIOThread();
void IsRecordingOnIOThread(const IsRecordingCallback& callback,
- const content::ResourceContext* resource_context);
+ content::ResourceContext* resource_context);
void SetRecognitionResultOnUIThread(
const content::SpeechInputResult& result,
« no previous file with comments | « chrome/browser/speech/speech_input_extension_apitest.cc ('k') | chrome/browser/speech/speech_input_extension_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698