Add in a new FrameConsumer interface, Decode API, and a RectangleUpdateDecoder abstraction.
This should allow a decoder that can still request the view to allocate frames without being owned by the view itself. This allows for cleaner threading semantics and reduced coupling of classes. The new decoder API keeps the decoder from being aware of the network packet types tightening up the API layering. BUG=52833 TEST=None. This code isn't used yet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60703 Review URL: http://codereview.chromium.org/3335012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60721 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- remoting/base/decoder.h 24 additions, 0 deletionsremoting/base/decoder.h
- remoting/base/protocol/chromotocol.proto 1 addition, 1 deletionremoting/base/protocol/chromotocol.proto
- remoting/client/frame_consumer.h 59 additions, 0 deletionsremoting/client/frame_consumer.h
- remoting/client/rectangle_update_decoder.cc 218 additions, 0 deletionsremoting/client/rectangle_update_decoder.cc
- remoting/client/rectangle_update_decoder.h 60 additions, 0 deletionsremoting/client/rectangle_update_decoder.h
- remoting/remoting.gyp 3 additions, 0 deletionsremoting/remoting.gyp
Loading
Please register or sign in to comment