OLD | NEW |
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 #include "content/public/common/speech_recognition_result.h" | 5 #include "content/public/common/speech_recognition_result.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
| 9 SpeechRecognitionError::SpeechRecognitionError() |
| 10 : code(SPEECH_RECOGNITION_ERROR_NONE), details(0) { |
| 11 } |
| 12 |
| 13 SpeechRecognitionError::SpeechRecognitionError( |
| 14 SpeechRecognitionErrorCode code_value) |
| 15 : code(code_value), |
| 16 details(0) { |
| 17 } |
| 18 |
| 19 SpeechRecognitionError::SpeechRecognitionError( |
| 20 SpeechRecognitionErrorCode code_val, int details_val) |
| 21 : code(code_val), |
| 22 details(details_val) { |
| 23 } |
| 24 |
9 SpeechRecognitionResult::SpeechRecognitionResult() | 25 SpeechRecognitionResult::SpeechRecognitionResult() |
10 : error(SPEECH_RECOGNITION_ERROR_NONE) { | 26 : error(SPEECH_RECOGNITION_ERROR_NONE) { |
11 } | 27 } |
12 | 28 |
13 SpeechRecognitionResult::~SpeechRecognitionResult() { | 29 SpeechRecognitionResult::~SpeechRecognitionResult() { |
14 } | 30 } |
15 | 31 |
16 } | 32 } |
OLD | NEW |