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

Issue 10879085: Cleanup RectangleUpdateDecoder and VideoStub (Closed)

Created:
8 years, 4 months ago by Sergey Ulanov
Modified:
8 years, 3 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -108 lines) Patch
M remoting/client/chromoting_client.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/client/rectangle_update_decoder.h View 1 2 7 chunks +5 lines, -31 lines 0 comments Download
M remoting/client/rectangle_update_decoder.cc View 1 2 6 chunks +11 lines, -59 lines 0 comments Download
M remoting/protocol/protobuf_video_writer.h View 1 chunk +0 lines, -1 line 0 comments Download
M remoting/protocol/protobuf_video_writer.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/protocol/video_stub.h View 1 1 chunk +2 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sergey Ulanov
8 years, 4 months ago (2012-08-25 02:04:59 UTC) #1
Wez
http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc File remoting/client/rectangle_update_decoder.cc (right): http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc#newcode61 remoting/client/rectangle_update_decoder.cc:61: DCHECK(main_task_runner_->BelongsToCurrentThread()); nit: Blank line after DCHECK. http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc#newcode64 remoting/client/rectangle_update_decoder.cc:64: // ...
8 years, 3 months ago (2012-08-28 16:42:27 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc File remoting/client/rectangle_update_decoder.cc (right): http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc#newcode61 remoting/client/rectangle_update_decoder.cc:61: DCHECK(main_task_runner_->BelongsToCurrentThread()); On 2012/08/28 16:42:27, Wez wrote: > nit: Blank ...
8 years, 3 months ago (2012-08-28 18:30:26 UTC) #3
Sergey Ulanov
wez: ping
8 years, 3 months ago (2012-08-29 23:01:11 UTC) #4
Wez
lgtm http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc File remoting/client/rectangle_update_decoder.cc (right): http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc#newcode64 remoting/client/rectangle_update_decoder.cc:64: // if the decode thread sees false instead ...
8 years, 3 months ago (2012-08-29 23:18:05 UTC) #5
Sergey Ulanov
PTAL http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc File remoting/client/rectangle_update_decoder.cc (right): http://codereview.chromium.org/10879085/diff/1/remoting/client/rectangle_update_decoder.cc#newcode64 remoting/client/rectangle_update_decoder.cc:64: // if the decode thread sees false instead ...
8 years, 3 months ago (2012-08-29 23:31:10 UTC) #6
Wez
lgtm
8 years, 3 months ago (2012-08-30 00:32:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10879085/12002
8 years, 3 months ago (2012-08-30 17:52:35 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-08-30 20:56:22 UTC) #9
The commit queue went berserk retrying too often for a
seemingly flaky test. Builder is linux_rel, revision is 154200, job name
was 10879085-12002 (previous was lost) (previous was lost) (previous was lost)
(retry).

Powered by Google App Engine
This is Rietveld 408576698