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

Issue 9827006: Refactor VideoStub interface to accept ownership of video packets. (Closed)

Created:
8 years, 9 months ago by Sergey Ulanov
Modified:
8 years, 9 months ago
Reviewers:
Alpha Left Google
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

Refactor VideoStub interface to accept ownership of video packets. Previously VideoStub::ProcessVideoPacket() did not accept ownership of video packets. Instead the done callback was responsible for deleting the packet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129355

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : fix leaks #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -162 lines) Patch
M remoting/client/chromoting_client.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/client/chromoting_client.cc View 1 2 6 chunks +10 lines, -7 lines 0 comments Download
M remoting/client/rectangle_update_decoder.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/rectangle_update_decoder.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 6 chunks +13 lines, -13 lines 0 comments Download
M remoting/host/screen_recorder.h View 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/host/screen_recorder.cc View 1 1 chunk +9 lines, -11 lines 0 comments Download
M remoting/host/screen_recorder_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/protocol/client_control_dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/client_control_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/connection_to_client_unittest.cc View 1 2 3 4 2 chunks +4 lines, -8 lines 0 comments Download
M remoting/protocol/host_control_dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/host_control_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/host_event_dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/host_event_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/message_reader.h View 4 chunks +8 lines, -19 lines 0 comments Download
M remoting/protocol/message_reader.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M remoting/protocol/message_reader_unittest.cc View 10 chunks +51 lines, -53 lines 0 comments Download
M remoting/protocol/protobuf_video_reader.h View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/protobuf_video_reader.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/protocol/protobuf_video_writer.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/protobuf_video_writer.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M remoting/protocol/rtp_video_reader.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M remoting/protocol/rtp_video_reader_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/protocol/rtp_video_writer.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/rtp_video_writer.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M remoting/protocol/rtp_video_writer_unittest.cc View 6 chunks +7 lines, -12 lines 0 comments Download
M remoting/protocol/video_stub.h View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Sergey Ulanov
8 years, 9 months ago (2012-03-22 17:35:38 UTC) #1
Sergey Ulanov
Alpha: ping
8 years, 9 months ago (2012-03-24 00:13:04 UTC) #2
Alpha Left Google
http://codereview.chromium.org/9827006/diff/1/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): http://codereview.chromium.org/9827006/diff/1/remoting/client/chromoting_client.cc#newcode23 remoting/client/chromoting_client.cc:23: : packet(packet.release()), done(done) { This line seems odd to ...
8 years, 9 months ago (2012-03-26 20:29:18 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/9827006/diff/1/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): http://codereview.chromium.org/9827006/diff/1/remoting/client/chromoting_client.cc#newcode23 remoting/client/chromoting_client.cc:23: : packet(packet.release()), done(done) { On 2012/03/26 20:29:18, Alpha wrote: ...
8 years, 9 months ago (2012-03-26 20:42:13 UTC) #4
Alpha Left Google
lgtm
8 years, 9 months ago (2012-03-27 18:02:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/9827006/14001
8 years, 9 months ago (2012-03-27 22:47:34 UTC) #6
commit-bot: I haz the power
Try job failure for 9827006-14001 (retry) on win for step "update" (clobber build). It's a ...
8 years, 9 months ago (2012-03-27 23:35: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/9827006/21002
8 years, 9 months ago (2012-03-27 23:36:03 UTC) #8
commit-bot: I haz the power
Try job failure for 9827006-21002 on win for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=4743 Step "update" is always ...
8 years, 9 months ago (2012-03-27 23:52:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/9827006/21002
8 years, 9 months ago (2012-03-28 00:58:47 UTC) #10
commit-bot: I haz the power
8 years, 9 months ago (2012-03-28 03:57:59 UTC) #11
Change committed as 129355

Powered by Google App Engine
This is Rietveld 408576698