diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-30 21:35:47 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-30 21:35:47 +0000 |
commit | 3cc5bbdef23d023309a487d30837f0b0043041d0 (patch) | |
tree | 204b9883a278d7dfa7b3b2000b8dfe374a3f1dcc /remoting/protocol/protobuf_video_writer.h | |
parent | 6aae912f6ee1c9512b097546ac28871266342483 (diff) | |
download | chromium_src-3cc5bbdef23d023309a487d30837f0b0043041d0.zip chromium_src-3cc5bbdef23d023309a487d30837f0b0043041d0.tar.gz chromium_src-3cc5bbdef23d023309a487d30837f0b0043041d0.tar.bz2 |
Cleanup RectangleUpdateDecoder and VideoStub
Previously RectangleUpdateDecoder maintaned list of pending packets. That's not really necessary.
Simplified it by queue tasks on the decode thread. Also some minor cleanups for the VideoStub
interface - removed GetPendingVideoPackets() that wasn't used anywhere.
Review URL: https://chromiumcodereview.appspot.com/10879085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/protobuf_video_writer.h')
-rw-r--r-- | remoting/protocol/protobuf_video_writer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/remoting/protocol/protobuf_video_writer.h b/remoting/protocol/protobuf_video_writer.h index 9c373170..961e821 100644 --- a/remoting/protocol/protobuf_video_writer.h +++ b/remoting/protocol/protobuf_video_writer.h @@ -37,7 +37,6 @@ class ProtobufVideoWriter : public VideoWriter { // VideoStub interface. virtual void ProcessVideoPacket(scoped_ptr<VideoPacket> packet, const base::Closure& done) OVERRIDE; - virtual int GetPendingVideoPackets() OVERRIDE; private: void OnChannelReady(scoped_ptr<net::StreamSocket> socket); |