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

Unified Diff: content/public/common/speech_recognition_traits.h

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698