diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-09 21:10:29 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-09 21:10:29 +0000 |
commit | 9232738f3f237d64e15fe17f9830b516652f5c86 (patch) | |
tree | e8e64d72bdab3ff5a33c57c674f72105fcddf771 /content/browser/speech/speech_recognition_manager_impl.h | |
parent | a081aebba3483e4605cff0e81b917b69b0f49fe3 (diff) | |
download | chromium_src-9232738f3f237d64e15fe17f9830b516652f5c86.zip chromium_src-9232738f3f237d64e15fe17f9830b516652f5c86.tar.gz chromium_src-9232738f3f237d64e15fe17f9830b516652f5c86.tar.bz2 |
Get rid of the SpeechRecognitionPreferences interface. It only had one method, and we can roll that into SpeechRecognitionDelegate instead to simplify things. This also allows us to get rid of ChromeSpeechRecognitionPreferences.
R=tommi@chromium.org
Review URL: https://codereview.chromium.org/18487007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/speech_recognition_manager_impl.h')
-rw-r--r-- | content/browser/speech/speech_recognition_manager_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/speech/speech_recognition_manager_impl.h b/content/browser/speech/speech_recognition_manager_impl.h index bf86ac1..0432570 100644 --- a/content/browser/speech/speech_recognition_manager_impl.h +++ b/content/browser/speech/speech_recognition_manager_impl.h @@ -93,6 +93,8 @@ class CONTENT_EXPORT SpeechRecognitionManagerImpl : virtual void OnAudioLevelsChange(int session_id, float volume, float noise_volume) OVERRIDE; + SpeechRecognitionManagerDelegate* delegate() const { return delegate_.get(); } + protected: // BrowserMainLoop is the only one allowed to istantiate and free us. friend class BrowserMainLoop; |