Index: chrome/browser/chromeos/audio_handler.h |
diff --git a/chrome/browser/chromeos/audio_handler.h b/chrome/browser/chromeos/audio_handler.h |
index 1394b2a6f56e0d95c3ca38abea37f61566f4c0c2..b1aea3e43791c63360a9834268b77bf54bc5f5c6 100644 |
--- a/chrome/browser/chromeos/audio_handler.h |
+++ b/chrome/browser/chromeos/audio_handler.h |
@@ -41,13 +41,15 @@ class AudioHandler { |
// Mutes all audio. Non-blocking call. |
void SetMute(bool do_mute); |
+ // AudioHandler is a singleton initialized at startup. Use this to determine |
+ // if there is a valid connection to a mixer. |
+ bool IsValid(); |
+ |
private: |
// Defines the delete on exit Singleton traits we like. Best to have this |
// and constructor/destructor private as recommended for Singletons. |
friend struct DefaultSingletonTraits<AudioHandler>; |
- void OnMixerInitialized(bool success); |
- |
AudioHandler(); |
virtual ~AudioHandler(); |
bool VerifyMixerConnection(); |