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

Side by Side Diff: chrome/browser/speech/tts_controller_impl.cc

Issue 1731483003: chrome: 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, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/speech/tts_controller_impl.h" 5 #include "chrome/browser/speech/tts_controller_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // 50 //
51 // VoiceData 51 // VoiceData
52 // 52 //
53 53
54 54
55 VoiceData::VoiceData() 55 VoiceData::VoiceData()
56 : gender(TTS_GENDER_NONE), 56 : gender(TTS_GENDER_NONE),
57 remote(false), 57 remote(false),
58 native(false) {} 58 native(false) {}
59 59
60 VoiceData::VoiceData(const VoiceData& other) = default;
61
60 VoiceData::~VoiceData() {} 62 VoiceData::~VoiceData() {}
61 63
62 64
63 // 65 //
64 // Utterance 66 // Utterance
65 // 67 //
66 68
67 // static 69 // static
68 int Utterance::next_utterance_id_ = 0; 70 int Utterance::next_utterance_id_ = 0;
69 71
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 } 486 }
485 487
486 void TtsControllerImpl::SetTtsEngineDelegate( 488 void TtsControllerImpl::SetTtsEngineDelegate(
487 TtsEngineDelegate* delegate) { 489 TtsEngineDelegate* delegate) {
488 tts_engine_delegate_ = delegate; 490 tts_engine_delegate_ = delegate;
489 } 491 }
490 492
491 TtsEngineDelegate* TtsControllerImpl::GetTtsEngineDelegate() { 493 TtsEngineDelegate* TtsControllerImpl::GetTtsEngineDelegate() {
492 return tts_engine_delegate_; 494 return tts_engine_delegate_;
493 } 495 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698