speech_recognition_session_config.cc revision 5821806d5e7f356e8fa4b058a389a808ea183019
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
3// found in the LICENSE file.
4
5#include "content/public/browser/speech_recognition_session_config.h"
6
7namespace {
8const uint32 kDefaultMaxHypotheses = 1;
9}
10
11namespace content {
12
13SpeechRecognitionSessionConfig::SpeechRecognitionSessionConfig()
14    : is_legacy_api(true),
15      filter_profanities(false),
16      continuous(false),
17      interim_results(false),
18      max_hypotheses(kDefaultMaxHypotheses),
19      event_listener(NULL) {
20}
21
22SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() {
23}
24
25}  // namespace content
26