Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / speech / tts_platform.cc
blob3942eff013b9af552b175dd349dfddbd6a92e565
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.
5 #include "chrome/browser/speech/tts_platform.h"
7 #include <string>
9 std::string TtsPlatformImpl::error() {
10 return error_;
13 void TtsPlatformImpl::clear_error() {
14 error_ = std::string();
17 void TtsPlatformImpl::set_error(const std::string& error) {
18 error_ = error;
21 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance,
22 const VoiceData& voice_data) {