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

Unified Diff: content/renderer/media/audio_renderer_impl.h

Issue 7157001: Implements AudioMessageFilter as member in RenderThread (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 6 months 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
Index: content/renderer/media/audio_renderer_impl.h
===================================================================
--- content/renderer/media/audio_renderer_impl.h (revision 89645)
+++ content/renderer/media/audio_renderer_impl.h (working copy)
@@ -56,7 +56,7 @@
public MessageLoop::DestructionObserver {
public:
// Methods called on Render thread ------------------------------------------
- explicit AudioRendererImpl(AudioMessageFilter* filter);
+ explicit AudioRendererImpl(int routing_id);
virtual ~AudioRendererImpl();
// Methods called on IO thread ----------------------------------------------
@@ -114,11 +114,11 @@
// Called on IO thread when message loop is dying.
virtual void WillDestroyCurrentMessageLoop();
+ void Send(IPC::Message* message);
+
// Used to calculate audio delay given bytes.
uint32 bytes_per_second_;
- scoped_refptr<AudioMessageFilter> filter_;
-
// ID of the stream created in the browser process.
int32 stream_id_;
@@ -150,7 +150,7 @@
// Remaining bytes for prerolling to complete.
uint32 preroll_bytes_;
- DISALLOW_COPY_AND_ASSIGN(AudioRendererImpl);
+ DISALLOW_IMPLICIT_CONSTRUCTORS(AudioRendererImpl);
};
#endif // CONTENT_RENDERER_MEDIA_AUDIO_RENDERER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698