blob: 2807412837b95758860f56d9c606e44dadc33e04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_SPEECH_INPUT_RESULT_H_
#define CHROME_COMMON_SPEECH_INPUT_RESULT_H_
#include <vector>
#include "base/basictypes.h"
#include "base/string16.h"
namespace speech_input {
struct SpeechInputResultItem {
string16 utterance;
double confidence;
SpeechInputResultItem()
: confidence(0.0) {
}
SpeechInputResultItem(const string16 utterance_value, double confidence_value)
: utterance(utterance_value),
confidence(confidence_value) {
}
};
typedef std::vector<SpeechInputResultItem> SpeechInputResultArray;
} // namespace speech_input
#endif // CHROME_COMMON_SPEECH_INPUT_RESULT_H_
|