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

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

Issue 9663066: Refactoring of chrome speech recognition architecture (CL1.3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed according to (partial) Satish review. 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 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 #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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698