Index: chrome/browser/speech/speech_recognizer.cc |
diff --git a/chrome/browser/speech/speech_recognizer.cc b/chrome/browser/speech/speech_recognizer.cc |
index 8ad459064ecbea56fc4f5d1e713e5f89dc63ed09..580339a84d4448e834aa644c51030b6d4a435a72 100644 |
--- a/chrome/browser/speech/speech_recognizer.cc |
+++ b/chrome/browser/speech/speech_recognizer.cc |
@@ -314,13 +314,14 @@ void SpeechRecognizer::HandleOnData(string* data) { |
// here as POST chunks. |
} |
-void SpeechRecognizer::SetRecognitionResult(bool error, const string16& value) { |
- if (value.empty()) { |
+void SpeechRecognizer::SetRecognitionResult( |
+ bool error, const SpeechInputResultArray& result) { |
+ if (result.empty()) { |
InformErrorAndCancelRecognition(RECOGNIZER_ERROR_NO_RESULTS); |
return; |
} |
- delegate_->SetRecognitionResult(caller_id_, error, value); |
+ delegate_->SetRecognitionResult(caller_id_, error, result); |
// Guard against the delegate freeing us until we finish our job. |
scoped_refptr<SpeechRecognizer> me(this); |