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

Unified Diff: content/browser/speech/speech_recognition_engine.cc

Issue 10233010: Introducing new data types and IPC messages for scripted JS speech recognition APIs (Speech CL2.0) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed according to Hans review. Created 8 years, 8 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/browser/speech/speech_recognition_engine.cc
diff --git a/content/browser/speech/speech_recognition_engine.cc b/content/browser/speech/speech_recognition_engine.cc
new file mode 100644
index 0000000000000000000000000000000000000000..cf3dae7b8336ade254ec2a8afd52ae6499e4bcf0
--- /dev/null
+++ b/content/browser/speech/speech_recognition_engine.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 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.
+
+#include "content/browser/speech/speech_recognition_engine.h"
+
+namespace speech {
+
+SpeechRecognitionEngineConfig::SpeechRecognitionEngineConfig()
+ : filter_profanities(false),
+ audio_sample_rate(16000),
Satish 2012/04/27 10:04:41 can these be moved to constants in an anonymous na
Primiano Tucci (use gerrit) 2012/04/27 15:58:44 Done. Even if IMHO doesn't seem such a big deal.
+ audio_num_bits_per_sample(16) {
+}
+
+SpeechRecognitionEngineConfig::~SpeechRecognitionEngineConfig() {
+}
+
+} // namespace speech

Powered by Google App Engine
This is Rietveld 408576698