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

Side by Side Diff: content/public/common/speech_recognition_result.h

Issue 10233010: Introducing new data types and IPC messages for scripted JS speech recognition APIs (Speech CL2.0) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added also SpeechRecognitionSessionContext Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
6 #define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_ 6 #define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 13 matching lines...) Expand all
24 : utterance(utterance_value), 24 : utterance(utterance_value),
25 confidence(confidence_value) { 25 confidence(confidence_value) {
26 } 26 }
27 }; 27 };
28 28
29 typedef std::vector<SpeechRecognitionHypothesis> 29 typedef std::vector<SpeechRecognitionHypothesis>
30 SpeechRecognitionHypothesisArray; 30 SpeechRecognitionHypothesisArray;
31 31
32 struct CONTENT_EXPORT SpeechRecognitionResult { 32 struct CONTENT_EXPORT SpeechRecognitionResult {
33 SpeechRecognitionHypothesisArray hypotheses; 33 SpeechRecognitionHypothesisArray hypotheses;
34 bool provisional;
34 35
35 SpeechRecognitionResult(); 36 SpeechRecognitionResult();
36 ~SpeechRecognitionResult(); 37 ~SpeechRecognitionResult();
37 }; 38 };
38 39
39 } // namespace content 40 } // namespace content
40 41
41 #endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_ 42 #endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698