Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: content/public/browser/speech_recognition_session_config.cc

Issue 1867153002: content: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 { 7 namespace {
8 const uint32_t kDefaultMaxHypotheses = 1; 8 const uint32_t kDefaultMaxHypotheses = 1;
9 } 9 }
10 10
11 namespace content { 11 namespace content {
12 12
13 SpeechRecognitionSessionConfig::SpeechRecognitionSessionConfig() 13 SpeechRecognitionSessionConfig::SpeechRecognitionSessionConfig()
14 : is_legacy_api(true), 14 : is_legacy_api(true),
15 filter_profanities(false), 15 filter_profanities(false),
16 continuous(false), 16 continuous(false),
17 interim_results(false), 17 interim_results(false),
18 max_hypotheses(kDefaultMaxHypotheses) { 18 max_hypotheses(kDefaultMaxHypotheses) {
19 } 19 }
20 20
21 SpeechRecognitionSessionConfig::SpeechRecognitionSessionConfig(
22 const SpeechRecognitionSessionConfig& other) = default;
23
21 SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() { 24 SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() {
22 } 25 }
23 26
24 } // namespace content 27 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/speech_recognition_session_config.h ('k') | content/public/common/platform_notification_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698