Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 3124005: Move UpdateStreamEncoding value into the BeginUpdateStreamMessage since we... (Closed)

Created:
10 years, 4 months ago by garykac
Modified:
9 years, 6 months ago
Reviewers:
Alpha Left Google
CC:
chromium-reviews, Sergey Ulanov, dmac, awong, garykac
Visibility:
Public.

Description

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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57206

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 26

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+802 lines, -88 lines) Patch
M remoting/base/decoder.h View 11 12 3 chunks +17 lines, -1 line 0 comments Download
M remoting/base/decoder_verbatim.cc View 11 12 4 chunks +8 lines, -0 lines 0 comments Download
MM remoting/base/decoder_zlib.cc View 11 12 5 chunks +8 lines, -0 lines 0 comments Download
M remoting/base/protocol/chromotocol.proto View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +3 lines, -2 lines 0 comments Download
M remoting/client/chromoting_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +52 lines, -2 lines 0 comments Download
A remoting/client/chromoting_view.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +103 lines, -0 lines 0 comments Download
A remoting/client/chromoting_view_unittest.cc View 5 6 7 8 9 10 1 chunk +558 lines, -0 lines 0 comments Download
M remoting/client/plugin/pepper_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +0 lines, -11 lines 0 comments Download
M remoting/client/plugin/pepper_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +20 lines, -23 lines 0 comments Download
M remoting/client/x11_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +2 lines, -13 lines 0 comments Download
M remoting/client/x11_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +29 lines, -36 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
garykac
10 years, 4 months ago (2010-08-10 02:29:53 UTC) #1
Alpha Left Google
This is quite different than the original design. The original design was that we can ...
10 years, 4 months ago (2010-08-10 22:35:56 UTC) #2
garykac
http://codereview.chromium.org/3124005/diff/13002/15001 File remoting/base/protocol/chromotocol.proto (right): http://codereview.chromium.org/3124005/diff/13002/15001#newcode38 remoting/base/protocol/chromotocol.proto:38: EncodingInvalid = -1; On 2010/08/10 22:35:56, Alpha wrote: > ...
10 years, 4 months ago (2010-08-10 22:48:45 UTC) #3
Alpha Left Google
On 2010/08/10 22:48:45, garykac wrote: > http://codereview.chromium.org/3124005/diff/13002/15001 > File remoting/base/protocol/chromotocol.proto (right): > > http://codereview.chromium.org/3124005/diff/13002/15001#newcode38 > ...
10 years, 4 months ago (2010-08-10 22:53:34 UTC) #4
garykac
Updated based on comments and discussion.
10 years, 4 months ago (2010-08-17 22:47:08 UTC) #5
Alpha Left Google
http://codereview.chromium.org/3124005/diff/31010/36003 File remoting/client/chromoting_view.cc (right): http://codereview.chromium.org/3124005/diff/31010/36003#newcode20 remoting/client/chromoting_view.cc:20: CHECK(encoding != EncodingInvalid); We should use DCHECK instead of ...
10 years, 4 months ago (2010-08-20 05:17:07 UTC) #6
garykac
http://codereview.chromium.org/3124005/diff/31010/36003 File remoting/client/chromoting_view.cc (right): http://codereview.chromium.org/3124005/diff/31010/36003#newcode20 remoting/client/chromoting_view.cc:20: CHECK(encoding != EncodingInvalid); On 2010/08/20 05:17:07, Alpha wrote: > ...
10 years, 4 months ago (2010-08-24 00:44:58 UTC) #7
Alpha Left Google
10 years, 4 months ago (2010-08-24 01:16:33 UTC) #8
LGTM.

Powered by Google App Engine
This is Rietveld 408576698