summaryrefslogtreecommitdiffstats
path: root/content/public/browser/speech_recognition_session_config.cc
blob: a9e247d0a40735502666f0dbf1a7f359ede621ea (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
25
// 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 kDefaultMaxHypotheses = 1;
}

namespace content {

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

SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() {
}

}  // namespace content