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

Unified Diff: chrome/browser/chromeos/audio/audio_handler.h

Issue 11358083: Decouple c/b/cros/audio from c/b/speech. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/audio/audio_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | chrome/browser/chromeos/audio/audio_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698