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

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

Issue 11416310: Revert 170668 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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_recognition_manager_impl.cc
===================================================================
--- content/browser/speech/speech_recognition_manager_impl.cc (revision 170700)
+++ content/browser/speech/speech_recognition_manager_impl.cc (working copy)
@@ -329,16 +329,16 @@
weak_factory_.GetWeakPtr(), session_id, EVENT_AUDIO_ENDED));
}
-void SpeechRecognitionManagerImpl::OnRecognitionResults(
- int session_id, const SpeechRecognitionResults& results) {
+void SpeechRecognitionManagerImpl::OnRecognitionResult(
+ int session_id, const SpeechRecognitionResult& result) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (!SessionExists(session_id))
return;
if (SpeechRecognitionEventListener* delegate_listener = GetDelegateListener())
- delegate_listener->OnRecognitionResults(session_id, results);
+ delegate_listener->OnRecognitionResult(session_id, result);
if (SpeechRecognitionEventListener* listener = GetListener(session_id))
- listener->OnRecognitionResults(session_id, results);
+ listener->OnRecognitionResult(session_id, result);
}
void SpeechRecognitionManagerImpl::OnRecognitionError(
« no previous file with comments | « content/browser/speech/speech_recognition_manager_impl.h ('k') | content/browser/speech/speech_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698