summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/rtcp_writer.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 23:07:05 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 23:07:05 +0000
commit60fc9600a685d2e8c29c9ad81b167549fb223fd3 (patch)
tree1b9fac808def5132230fa240066540640951b5bc /remoting/protocol/rtcp_writer.h
parent28b50a7b55c56a941f948fc4e8de8c06cb46fc3c (diff)
downloadchromium_src-60fc9600a685d2e8c29c9ad81b167549fb223fd3.zip
chromium_src-60fc9600a685d2e8c29c9ad81b167549fb223fd3.tar.gz
chromium_src-60fc9600a685d2e8c29c9ad81b167549fb223fd3.tar.bz2
Use MessageLoopProxy for network message loop.
When we switch to P2P Pepper API we will need to run networking code on the main plugin thread. Switching to MessageLoopProxy for network thread, so that it's easier to switch network thread in the future. BUG=None TEST=None Review URL: http://codereview.chromium.org/7633009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/rtcp_writer.h')
-rw-r--r--remoting/protocol/rtcp_writer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/protocol/rtcp_writer.h b/remoting/protocol/rtcp_writer.h
index e4a7226..7ae49dd 100644
--- a/remoting/protocol/rtcp_writer.h
+++ b/remoting/protocol/rtcp_writer.h
@@ -7,6 +7,10 @@
#include "net/socket/socket.h"
+namespace base {
+class MessageLoopProxy;
+} // namespace base
+
namespace remoting {
class CompoundBuffer;
@@ -18,7 +22,7 @@ struct RtcpReceiverReport;
class RtcpWriter {
public:
- RtcpWriter();
+ RtcpWriter(base::MessageLoopProxy* message_loop);
virtual ~RtcpWriter();
// Initializes the writer. Must be called on the thread the socket