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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/common/switch_utils_unittest.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/basictypes.h"
11 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
12 11
13 struct TtsUtteranceRequest { 12 struct TtsUtteranceRequest {
14 TtsUtteranceRequest(); 13 TtsUtteranceRequest();
15 ~TtsUtteranceRequest(); 14 ~TtsUtteranceRequest();
16 15
17 int id; 16 int id;
18 std::string text; 17 std::string text;
19 std::string lang; 18 std::string lang;
20 std::string voice; 19 std::string voice;
21 float volume; 20 float volume;
22 float rate; 21 float rate;
23 float pitch; 22 float pitch;
24 }; 23 };
25 24
26 struct TtsVoice { 25 struct TtsVoice {
27 TtsVoice(); 26 TtsVoice();
28 ~TtsVoice(); 27 ~TtsVoice();
29 28
30 std::string voice_uri; 29 std::string voice_uri;
31 std::string name; 30 std::string name;
32 std::string lang; 31 std::string lang;
33 bool local_service; 32 bool local_service;
34 bool is_default; 33 bool is_default;
35 }; 34 };
36 35
37 #endif // CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_ 36 #endif // CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
OLDNEW
« no previous file with comments | « chrome/common/switch_utils_unittest.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698