Chromium Code Reviews| Index: content/public/common/speech_recognition_traits.h |
| diff --git a/content/public/common/speech_input_result.h b/content/public/common/speech_recognition_traits.h |
| similarity index 85% |
| rename from content/public/common/speech_input_result.h |
| rename to content/public/common/speech_recognition_traits.h |
| index 1e494c709161e4633647d0022794b1afca8c79c8..b902215f12657fd0f66c58b4bc084d86fb0e1493 100644 |
| --- a/content/public/common/speech_input_result.h |
| +++ b/content/public/common/speech_recognition_traits.h |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CONTENT_PUBLIC_COMMON_SPEECH_INPUT_RESULT_H_ |
|
Satish
2012/03/05 13:32:33
suggest naming this file as 'speech_recognition_re
Primiano Tucci (use gerrit)
2012/03/05 17:37:52
Done.
|
| -#define CONTENT_PUBLIC_COMMON_SPEECH_INPUT_RESULT_H_ |
| +#ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_TRAITS_H_ |
| +#define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_TRAITS_H_ |
| #include <vector> |
| @@ -50,10 +50,10 @@ struct CONTENT_EXPORT SpeechInputResult { |
| SpeechInputError error; |
| SpeechInputHypothesisArray hypotheses; |
| - SpeechInputResult(); |
| - ~SpeechInputResult(); |
| + SpeechInputResult() : error(SPEECH_INPUT_ERROR_NONE) {} |
| + ~SpeechInputResult() {} |
| }; |
| } // namespace content |
| -#endif // CONTENT_PUBLIC_COMMON_SPEECH_INPUT_RESULT_H_ |
| +#endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_TRAITS_H_ |