tts_platform.cc 719 B

12345678910111213141516171819202122232425262728
  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
  3. // found in the LICENSE file.
  4. #include "chrome/browser/speech/tts_platform.h"
  5. #include <string>
  6. bool TtsPlatformImpl::LoadBuiltInTtsExtension(
  7. content::BrowserContext* browser_context) {
  8. return false;
  9. }
  10. std::string TtsPlatformImpl::error() {
  11. return error_;
  12. }
  13. void TtsPlatformImpl::clear_error() {
  14. error_ = std::string();
  15. }
  16. void TtsPlatformImpl::set_error(const std::string& error) {
  17. error_ = error;
  18. }
  19. void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance,
  20. const VoiceData& voice_data) {
  21. }