summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/audio_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/audio_handler.h')
-rw-r--r--chrome/browser/chromeos/audio_handler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/audio_handler.h b/chrome/browser/chromeos/audio_handler.h
index 67addcb..ccf0ee1 100644
--- a/chrome/browser/chromeos/audio_handler.h
+++ b/chrome/browser/chromeos/audio_handler.h
@@ -42,13 +42,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();