Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / speech / tts_platform.cc
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
5 #include "chrome/browser/speech/tts_platform.h"
6
7 #include <string>
8
9 bool TtsPlatformImpl::LoadBuiltInTtsExtension(Profile* profile) {
10   return false;
11 }
12
13 std::string TtsPlatformImpl::error() {
14   return error_;
15 }
16
17 void TtsPlatformImpl::clear_error() {
18   error_ = std::string();
19 }
20
21 void TtsPlatformImpl::set_error(const std::string& error) {
22   error_ = error;
23 }
24
25 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance,
26                                                   const VoiceData& voice_data) {
27 }