Index: content/renderer/media/audio_device.h |
diff --git a/content/renderer/media/audio_device.h b/content/renderer/media/audio_device.h |
index 1eee2c33480e8a24def1a997cfd716b902cfb160..e2b41d28a8353b6d5fbae234491dcd36a33dc903 100644 |
--- a/content/renderer/media/audio_device.h |
+++ b/content/renderer/media/audio_device.h |
@@ -81,6 +81,7 @@ class AudioParameters; |
namespace content { |
class AudioDeviceFactory; |
+class RenderView; |
} |
class CONTENT_EXPORT AudioDevice |
@@ -116,7 +117,8 @@ class CONTENT_EXPORT AudioDevice |
// access to the constructor. |
// TODO(tommi): When all dependencies on |content| have been removed |
// from AudioDevice, move this class over to media/audio. |
- explicit AudioDevice(const scoped_refptr<base::MessageLoopProxy>& io_loop); |
+ AudioDevice(content::RenderView* render_view, |
+ const scoped_refptr<base::MessageLoopProxy>& io_loop); |
// Magic required by ref_counted.h to avoid any code deleting the object |
// accidentally while there are references to it. |
@@ -140,6 +142,8 @@ class CONTENT_EXPORT AudioDevice |
// If the IO loop dies before we do, we shut down the audio thread from here. |
virtual void WillDestroyCurrentMessageLoop() OVERRIDE; |
+ content::RenderView* render_view_; |
+ |
media::AudioParameters audio_parameters_; |
RenderCallback* callback_; |