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 |
9 std::string TtsPlatformImpl::error() { | 13 std::string TtsPlatformImpl::error() { |
10 return error_; | 14 return error_; |
11 } | 15 } |
12 | 16 |
13 void TtsPlatformImpl::clear_error() { | 17 void TtsPlatformImpl::clear_error() { |
14 error_ = std::string(); | 18 error_ = std::string(); |
15 } | 19 } |
16 | 20 |
17 void TtsPlatformImpl::set_error(const std::string& error) { | 21 void TtsPlatformImpl::set_error(const std::string& error) { |
18 error_ = error; | 22 error_ = error; |
19 } | 23 } |
20 | 24 |
21 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance, | 25 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance, |
22 const VoiceData& voice_data) { | 26 const VoiceData& voice_data) { |
23 } | 27 } |
OLD | NEW |