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

Unified Diff: chrome/browser/chromeos/dbus/speech_synthesizer_client.h

Issue 8400034: chromeos: Add a stub implementation for SensorsSource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/dbus/speech_synthesizer_client.h
diff --git a/chrome/browser/chromeos/dbus/speech_synthesizer_client.h b/chrome/browser/chromeos/dbus/speech_synthesizer_client.h
index 731e8dd59da007ed6e9da625dcc1e8b338d63342..74aec87996aff8e74f42bd6128b4b8b4ca5bb4f2 100644
--- a/chrome/browser/chromeos/dbus/speech_synthesizer_client.h
+++ b/chrome/browser/chromeos/dbus/speech_synthesizer_client.h
@@ -25,7 +25,7 @@ class SpeechSynthesizerClient {
// The argument indicates if the speech synthesizer is speaking or not.
typedef base::Callback<void(bool)> IsSpeakingCallback;
- virtual ~SpeechSynthesizerClient() {}
+ virtual ~SpeechSynthesizerClient();
// Speaks the specified text.
virtual void Speak(const std::string& text) = 0;
@@ -53,6 +53,13 @@ class SpeechSynthesizerClient {
static const char kSpeechPropertyVolume[];
static const char kSpeechPropertyEquals[];
static const char kSpeechPropertyDelimiter[];
+
+ protected:
+ // Create() should be used instead.
+ SpeechSynthesizerClient();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SpeechSynthesizerClient);
};
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/dbus/sensors_source.cc ('k') | chrome/browser/chromeos/dbus/speech_synthesizer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698