Index: chrome/browser/chromeos/audio/audio_handler.h |
diff --git a/chrome/browser/chromeos/audio/audio_handler.h b/chrome/browser/chromeos/audio/audio_handler.h |
index ecb9f57af27d96219653abff70897bbac2c76295..b1e510e3e4aa1e383eeb3fa3ff6cea5d3196ccb6 100644 |
--- a/chrome/browser/chromeos/audio/audio_handler.h |
+++ b/chrome/browser/chromeos/audio/audio_handler.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_CHROMEOS_AUDIO_AUDIO_HANDLER_H_ |
#include "base/basictypes.h" |
+#include "base/callback_forward.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/observer_list.h" |
#include "base/prefs/public/pref_change_registrar.h" |
@@ -36,7 +37,7 @@ class AudioHandler : public content::NotificationObserver { |
DISALLOW_COPY_AND_ASSIGN(VolumeObserver); |
}; |
- static void Initialize(); |
+ static void Initialize(const base::Closure& on_connected); |
static void Shutdown(); |
// Same as Initialize but using the specified audio mixer. It takes |
@@ -87,7 +88,7 @@ class AudioHandler : public content::NotificationObserver { |
friend struct DefaultSingletonTraits<AudioHandler>; |
// Takes ownership of |mixer|. |
- explicit AudioHandler(AudioMixer* mixer); |
+ AudioHandler(AudioMixer* mixer, const base::Closure& on_connected); |
virtual ~AudioHandler(); |
// Initializes the observers for the policy prefs. |