Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "content/public/browser/speech_recognition_session_config.h" | 5 #include "content/public/browser/speech_recognition_session_config.h" | 
| 6 | 6 | 
| 7 namespace { | |
| 8 const uint32 kDefaultMaxHypotheses = 1; | |
| 
 
hans
2012/06/27 09:53:10
no indent
 
Primiano Tucci (use gerrit)
2012/06/27 10:01:26
Done.
 
 | |
| 9 } | |
| 10 | |
| 7 namespace content { | 11 namespace content { | 
| 8 | 12 | 
| 9 SpeechRecognitionSessionConfig::SpeechRecognitionSessionConfig() | 13 SpeechRecognitionSessionConfig::SpeechRecognitionSessionConfig() | 
| 10 : is_one_shot(true), | 14 : is_one_shot(true), | 
| 11 filter_profanities(false), | 15 filter_profanities(false), | 
| 16 max_hypotheses(kDefaultMaxHypotheses), | |
| 12 event_listener(NULL) { | 17 event_listener(NULL) { | 
| 13 } | 18 } | 
| 14 | 19 | 
| 15 SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() { | 20 SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() { | 
| 16 } | 21 } | 
| 17 | 22 | 
| 18 } // namespace content | 23 } // namespace content | 
| OLD | NEW |