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

Side by Side Diff: chrome/common/tts_utterance_request.h

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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_ 5 #ifndef CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
6 #define CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_ 6 #define CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 11
12 struct TtsUtteranceRequest { 12 struct TtsUtteranceRequest {
13 TtsUtteranceRequest(); 13 TtsUtteranceRequest();
14 ~TtsUtteranceRequest(); 14 ~TtsUtteranceRequest();
15 15
16 int id; 16 int id;
17 std::string text; 17 std::string text;
18 std::string lang; 18 std::string lang;
19 std::string voice; 19 std::string voice;
20 float volume; 20 float volume;
21 float rate; 21 float rate;
22 float pitch; 22 float pitch;
23 }; 23 };
24 24
25 struct TtsVoice { 25 struct TtsVoice {
26 TtsVoice(); 26 TtsVoice();
27 TtsVoice(const TtsVoice& other);
27 ~TtsVoice(); 28 ~TtsVoice();
28 29
29 std::string voice_uri; 30 std::string voice_uri;
30 std::string name; 31 std::string name;
31 std::string lang; 32 std::string lang;
32 bool local_service; 33 bool local_service;
33 bool is_default; 34 bool is_default;
34 }; 35 };
35 36
36 #endif // CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_ 37 #endif // CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698