diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-12 23:07:05 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-12 23:07:05 +0000 |
commit | 60fc9600a685d2e8c29c9ad81b167549fb223fd3 (patch) | |
tree | 1b9fac808def5132230fa240066540640951b5bc /remoting/protocol/protobuf_video_writer.h | |
parent | 28b50a7b55c56a941f948fc4e8de8c06cb46fc3c (diff) | |
download | chromium_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/protobuf_video_writer.h')
-rw-r--r-- | remoting/protocol/protobuf_video_writer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/protocol/protobuf_video_writer.h b/remoting/protocol/protobuf_video_writer.h index 5c69c61..587ceab 100644 --- a/remoting/protocol/protobuf_video_writer.h +++ b/remoting/protocol/protobuf_video_writer.h @@ -12,6 +12,10 @@ #include "base/memory/scoped_ptr.h" #include "remoting/protocol/video_writer.h" +namespace base { +class MessageLoopProxy; +} // namespace base + namespace net { class StreamSocket; } // namespace net @@ -24,7 +28,7 @@ class Session; class ProtobufVideoWriter : public VideoWriter { public: - ProtobufVideoWriter(); + ProtobufVideoWriter(base::MessageLoopProxy* message_loop); virtual ~ProtobufVideoWriter(); // VideoWriter interface. |