summaryrefslogtreecommitdiffstats
path: root/content/public/browser/speech_recognition_session_config.cc
blob: 7bfdf5ab61284063bc8410bd16eb84ecb150bdac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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/public/browser/speech_recognition_session_config.h"

namespace {
const uint32_t kDefaultMaxHypotheses = 1;
}

namespace content {

SpeechRecognitionSessionConfig::SpeechRecognitionSessionConfig()
    : is_legacy_api(true),
      filter_profanities(false),
      continuous(false),
      interim_results(false),
      max_hypotheses(kDefaultMaxHypotheses) {
}

SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() {
}

}  // namespace content