Move common ChromotingView functionality into base class so that the code can
be shared between PepperView and X11View. Have View create appropriate decoder based on encoding of the update stream. Add state to decoder to keep track of whether Begin/End has been called in the correct order. Add unittests for new routines. BUG=none TEST=remoting unit tests Review URL: http://codereview.chromium.org/3124005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57206 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- remoting/base/decoder.h 17 additions, 1 deletionremoting/base/decoder.h
- remoting/base/decoder_verbatim.cc 8 additions, 0 deletionsremoting/base/decoder_verbatim.cc
- remoting/base/decoder_zlib.cc 8 additions, 0 deletionsremoting/base/decoder_zlib.cc
- remoting/base/protocol/chromotocol.proto 3 additions, 2 deletionsremoting/base/protocol/chromotocol.proto
- remoting/client/chromoting_view.cc 103 additions, 0 deletionsremoting/client/chromoting_view.cc
- remoting/client/chromoting_view.h 52 additions, 2 deletionsremoting/client/chromoting_view.h
- remoting/client/chromoting_view_unittest.cc 558 additions, 0 deletionsremoting/client/chromoting_view_unittest.cc
- remoting/client/plugin/pepper_view.cc 20 additions, 23 deletionsremoting/client/plugin/pepper_view.cc
- remoting/client/plugin/pepper_view.h 0 additions, 11 deletionsremoting/client/plugin/pepper_view.h
- remoting/client/x11_view.cc 29 additions, 36 deletionsremoting/client/x11_view.cc
- remoting/client/x11_view.h 2 additions, 13 deletionsremoting/client/x11_view.h
- remoting/remoting.gyp 2 additions, 0 deletionsremoting/remoting.gyp
Loading
Please register or sign in to comment