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

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

Issue 8137005: Applying changes to the existing speech input code to support the extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing unit tests. Created 9 years, 2 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: content/browser/speech/speech_input_manager.cc
diff --git a/content/browser/speech/speech_input_manager.cc b/content/browser/speech/speech_input_manager.cc
index 5a37ec78a4126f8b5782d841dd72326d6daba4ef..2147a21451ac755c45973116145cdc392d7408c2 100644
--- a/content/browser/speech/speech_input_manager.cc
+++ b/content/browser/speech/speech_input_manager.cc
@@ -119,7 +119,7 @@ void SpeechInputManager::StopRecording(int caller_id) {
}
void SpeechInputManager::SetRecognitionResult(
- int caller_id, bool error, const SpeechInputResultArray& result) {
+ int caller_id, bool error, const SpeechInputResult& result) {
DCHECK(HasPendingRequest(caller_id));
GetDelegate(caller_id)->SetRecognitionResult(caller_id, result);
}
@@ -138,6 +138,15 @@ void SpeechInputManager::DidCompleteRecognition(int caller_id) {
DoClose(caller_id);
}
+void SpeechInputManager::DidSpeechInputStart(int caller_id) {
+}
+
+void SpeechInputManager::DidSpeechInputStop(int caller_id) {
+}
+
+void SpeechInputManager::OnRecording(int caller_id) {
+}
+
void SpeechInputManager::OnRecognizerError(
int caller_id, SpeechRecognizer::ErrorCode error) {
if (caller_id == recording_caller_id_)

Powered by Google App Engine
This is Rietveld 408576698