Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: chrome/browser/speech/tts_platform.cc

Issue 448033002: Eliminate the dependency of Profile from TtsMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation error on ChromeOS Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/speech/tts_platform.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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) { 9 bool TtsPlatformImpl::LoadBuiltInTtsExtension(
10 content::BrowserContext* browser_context) {
10 return false; 11 return false;
11 } 12 }
12 13
13 std::string TtsPlatformImpl::error() { 14 std::string TtsPlatformImpl::error() {
14 return error_; 15 return error_;
15 } 16 }
16 17
17 void TtsPlatformImpl::clear_error() { 18 void TtsPlatformImpl::clear_error() {
18 error_ = std::string(); 19 error_ = std::string();
19 } 20 }
20 21
21 void TtsPlatformImpl::set_error(const std::string& error) { 22 void TtsPlatformImpl::set_error(const std::string& error) {
22 error_ = error; 23 error_ = error;
23 } 24 }
24 25
25 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance, 26 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance,
26 const VoiceData& voice_data) { 27 const VoiceData& voice_data) {
27 } 28 }
OLDNEW
« no previous file with comments | « chrome/browser/speech/tts_platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698