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

Unified Diff: content/renderer/media/audio_message_filter.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_message_filter.h
===================================================================
--- content/renderer/media/audio_message_filter.h (revision 88939)
+++ content/renderer/media/audio_message_filter.h (working copy)
@@ -52,9 +52,12 @@
virtual ~Delegate() {}
};
- explicit AudioMessageFilter(int32 route_id);
+ explicit AudioMessageFilter();
virtual ~AudioMessageFilter();
+ // Sets the routing ID for all transmitted messages.
+ void SetRoutingID(int32 id);
+
// Add a delegate to the map and return id of the entry.
int32 AddDelegate(Delegate* delegate);
@@ -66,6 +69,8 @@
MessageLoop* message_loop() { return message_loop_; }
+ int32 routing_id() { return routing_id_; }
+
private:
// For access to |message_loop_|.
friend class AudioRendererImplTest;
@@ -110,7 +115,7 @@
IPC::Channel* channel_;
- int32 route_id_;
+ int32 routing_id_;
MessageLoop* message_loop_;

Powered by Google App Engine
This is Rietveld 408576698