summaryrefslogtreecommitdiffstats
path: root/content/public/browser/speech_recognition_session_config.cc
blob: 7c40cc36726824d5327a4c8881f8b2efc6207ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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_one_shot(true),
      filter_profanities(false),
      max_hypotheses(kDefaultMaxHypotheses),
      event_listener(NULL) {
}

SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() {
}

}  // namespace content