summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/media/audio_input_device_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/media/audio_input_device_manager.h')
-rw-r--r--content/browser/renderer_host/media/audio_input_device_manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/renderer_host/media/audio_input_device_manager.h b/content/browser/renderer_host/media/audio_input_device_manager.h
index 133673f..231f30b 100644
--- a/content/browser/renderer_host/media/audio_input_device_manager.h
+++ b/content/browser/renderer_host/media/audio_input_device_manager.h
@@ -45,7 +45,8 @@ class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider {
// MediaStreamProvider implementation, called on IO thread.
virtual void Register(MediaStreamProviderListener* listener,
- base::MessageLoopProxy* device_thread_loop) OVERRIDE;
+ const scoped_refptr<base::SingleThreadTaskRunner>&
+ device_task_runner) OVERRIDE;
virtual void Unregister() OVERRIDE;
virtual void EnumerateDevices(MediaStreamType stream_type) OVERRIDE;
virtual int Open(const StreamDeviceInfo& device) OVERRIDE;
@@ -90,7 +91,7 @@ class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider {
media::AudioManager* const audio_manager_; // Weak.
// The message loop of media stream device thread that this object runs on.
- scoped_refptr<base::MessageLoopProxy> device_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> device_task_runner_;
DISALLOW_COPY_AND_ASSIGN(AudioInputDeviceManager);
};