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

Unified Diff: chrome/browser/chromeos/cros/speech_synthesis_library.h

Issue 2770006: Revert 49260 - Broke compile - Added InitTts function to speech synthesis lib... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/cros/speech_synthesis_library.h
===================================================================
--- chrome/browser/chromeos/cros/speech_synthesis_library.h (revision 49263)
+++ chrome/browser/chromeos/cros/speech_synthesis_library.h (working copy)
@@ -12,8 +12,6 @@
// This interface defines the interaction with the ChromeOS login library APIs.
class SpeechSynthesisLibrary {
public:
- typedef void(*InitStatusCallback)(bool success);
-
virtual ~SpeechSynthesisLibrary() {}
// Speaks the specified text.
virtual bool Speak(const char* text) = 0;
@@ -23,9 +21,6 @@
virtual bool StopSpeaking() = 0;
// Checks if the engine is currently speaking.
virtual bool IsSpeaking() = 0;
- // Starts the speech synthesis service and indicates through a callback if
- // it started successfully.
- virtual void InitTts(InitStatusCallback) = 0;
};
// This class handles the interaction with the ChromeOS login library APIs.
@@ -39,7 +34,6 @@
virtual bool SetSpeakProperties(const char* props);
virtual bool StopSpeaking();
virtual bool IsSpeaking();
- virtual void InitTts(InitStatusCallback);
private:
DISALLOW_COPY_AND_ASSIGN(SpeechSynthesisLibraryImpl);
« no previous file with comments | « chrome/browser/chromeos/cros/mock_speech_synthesis_library.h ('k') | chrome/browser/chromeos/cros/speech_synthesis_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698