OLD | NEW |
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 "chrome/browser/speech/tts_platform.h" | 5 #include "chrome/browser/speech/tts_platform.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 bool TtsPlatformImpl::LoadBuiltInTtsExtension(Profile* profile) { | |
10 return false; | |
11 } | |
12 | |
13 std::string TtsPlatformImpl::error() { | 9 std::string TtsPlatformImpl::error() { |
14 return error_; | 10 return error_; |
15 } | 11 } |
16 | 12 |
17 void TtsPlatformImpl::clear_error() { | 13 void TtsPlatformImpl::clear_error() { |
18 error_ = std::string(); | 14 error_ = std::string(); |
19 } | 15 } |
20 | 16 |
21 void TtsPlatformImpl::set_error(const std::string& error) { | 17 void TtsPlatformImpl::set_error(const std::string& error) { |
22 error_ = error; | 18 error_ = error; |
23 } | 19 } |
| 20 |
| 21 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance, |
| 22 const VoiceData& voice_data) { |
| 23 } |
OLD | NEW |