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

Unified Diff: chrome/browser/speech/speech_recognition_request.h

Issue 4119004: Add ability to parse multiple recognition results and send them to WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move header to chrome/common and address review comments. Created 10 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
« no previous file with comments | « chrome/browser/speech/speech_input_manager.cc ('k') | chrome/browser/speech/speech_recognition_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/speech_recognition_request.h
diff --git a/chrome/browser/speech/speech_recognition_request.h b/chrome/browser/speech/speech_recognition_request.h
index 6c01983c9b421e58f6a8d6875a59dab2b5f34f17..1b77c397d2b4540a657464f1eb391072bf4843d9 100644
--- a/chrome/browser/speech/speech_recognition_request.h
+++ b/chrome/browser/speech/speech_recognition_request.h
@@ -10,6 +10,7 @@
#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
#include "chrome/common/net/url_fetcher.h"
+#include "chrome/common/speech_input_result.h"
#include "googleurl/src/gurl.h"
class URLFetcher;
@@ -27,7 +28,8 @@ class SpeechRecognitionRequest : public URLFetcher::Delegate {
// Interface for receiving callbacks from this object.
class Delegate {
public:
- virtual void SetRecognitionResult(bool error, const string16& value) = 0;
+ virtual void SetRecognitionResult(
+ bool error, const SpeechInputResultArray& result) = 0;
protected:
virtual ~Delegate() {}
« no previous file with comments | « chrome/browser/speech/speech_input_manager.cc ('k') | chrome/browser/speech/speech_recognition_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698