Update mojo surfaces bindings and mojo/cc/ glue
[chromium-blink-merge.git] / chrome / browser / speech / tts_platform.cc
blob977078a77e3f44cac48efcba8aecbc987df75e70
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 bool TtsPlatformImpl::LoadBuiltInTtsExtension(
10 content::BrowserContext* browser_context) {
11 return false;
14 std::string TtsPlatformImpl::error() {
15 return error_;
18 void TtsPlatformImpl::clear_error() {
19 error_ = std::string();
22 void TtsPlatformImpl::set_error(const std::string& error) {
23 error_ = error;
26 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance,
27 const VoiceData& voice_data) {