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

Unified Diff: content/public/browser/speech_recognizer_delegate.h

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased from master. Created 8 years, 9 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
« no previous file with comments | « content/public/browser/speech_recognizer.h ('k') | content/public/common/speech_input_result.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/speech_recognizer_delegate.h
diff --git a/content/public/browser/speech_recognizer_delegate.h b/content/public/browser/speech_recognizer_delegate.h
index daf482a12fe02f40cf37170ac65393ff21527cd6..14be40414e81ad2bc7837b0619762d53392b6887 100644
--- a/content/public/browser/speech_recognizer_delegate.h
+++ b/content/public/browser/speech_recognizer_delegate.h
@@ -6,7 +6,7 @@
#define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_DELEGATE_H_
#pragma once
-#include "content/public/common/speech_input_result.h"
+#include "content/public/common/speech_recognition_result.h"
namespace content {
@@ -15,7 +15,7 @@ namespace content {
class SpeechRecognizerDelegate {
public:
virtual void SetRecognitionResult(int caller_id,
- const SpeechInputResult& result) = 0;
+ const SpeechRecognitionResult& result) = 0;
// Invoked when the first audio packet was received from the audio capture
// device.
@@ -41,7 +41,8 @@ class SpeechRecognizerDelegate {
// session has already been cancelled when this call is made and the DidXxxx
// callbacks will not be issued. It is safe to destroy/release the
// |SpeechRecognizer| object while processing this call.
- virtual void OnRecognizerError(int caller_id, SpeechInputError error) = 0;
+ virtual void OnRecognizerError(int caller_id,
+ SpeechRecognitionErrorCode error) = 0;
// At the start of recognition, a short amount of audio is recorded to
// estimate the environment/background noise and this callback is issued
« no previous file with comments | « content/public/browser/speech_recognizer.h ('k') | content/public/common/speech_input_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698