Fix use-after-free in ExtensionHost::DidStopLoading.
[chromium-blink-merge.git] / chrome / common / tts_utterance_request.h
blobe652b5ab7fa61391abea556e842d67d61e78d629
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
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
6 #define CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
8 #include <vector>
10 #include "base/basictypes.h"
11 #include "base/strings/string16.h"
13 struct TtsUtteranceRequest {
14 TtsUtteranceRequest();
15 ~TtsUtteranceRequest();
17 int id;
18 std::string text;
19 std::string lang;
20 std::string voice;
21 float volume;
22 float rate;
23 float pitch;
26 struct TtsVoice {
27 TtsVoice();
28 ~TtsVoice();
30 std::string voice_uri;
31 std::string name;
32 std::string lang;
33 bool local_service;
34 bool is_default;
37 struct TtsUtteranceResponse {
38 TtsUtteranceResponse();
39 ~TtsUtteranceResponse();
41 int id;
44 #endif // CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_