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

Issue 577473002: Simplify VideoReader and VideoWriter (Closed)

Created:
6 years, 3 months ago by Sergey Ulanov
Modified:
6 years, 3 months ago
Reviewers:
Wez
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Simplify VideoReader and VideoWriter Previously VideoReader/Writer were abstract interfaces with single implementation. Now both the reader and writer are concrete implementations reusing ChannelDispatcherBase, which significantly simplified both. BUG=402993 Committed: https://crrev.com/2385cffed5c8a258b29d76160434635b66ea9968 Cr-Commit-Position: refs/heads/master@{#295760}

Patch Set 1 #

Total comments: 26

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -444 lines) Patch
M remoting/protocol/BUILD.gn View 1 2 3 4 4 chunks +4 lines, -8 lines 0 comments Download
A remoting/protocol/client_video_dispatcher.h View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A remoting/protocol/client_video_dispatcher.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M remoting/protocol/connection_to_client.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M remoting/protocol/connection_to_client.cc View 1 5 chunks +9 lines, -6 lines 0 comments Download
M remoting/protocol/connection_to_host.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/protocol/connection_to_host.cc View 1 2 4 chunks +6 lines, -5 lines 0 comments Download
A remoting/protocol/host_video_dispatcher.h View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A remoting/protocol/host_video_dispatcher.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
D remoting/protocol/protobuf_video_reader.h View 1 chunk +0 lines, -57 lines 0 comments Download
D remoting/protocol/protobuf_video_reader.cc View 1 chunk +0 lines, -63 lines 0 comments Download
D remoting/protocol/protobuf_video_writer.h View 1 chunk +0 lines, -57 lines 0 comments Download
D remoting/protocol/protobuf_video_writer.cc View 1 chunk +0 lines, -70 lines 0 comments Download
M remoting/protocol/video_reader.h View 1 1 chunk +0 lines, -49 lines 0 comments Download
M remoting/protocol/video_reader.cc View 1 1 chunk +0 lines, -38 lines 0 comments Download
M remoting/protocol/video_writer.h View 1 1 chunk +0 lines, -52 lines 0 comments Download
M remoting/protocol/video_writer.cc View 1 1 chunk +0 lines, -25 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 4 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
Sergey Ulanov
6 years, 3 months ago (2014-09-15 20:49:03 UTC) #2
Wez
Is it worth adding some unit-tests for these, as well, e.g. for cases like the ...
6 years, 3 months ago (2014-09-16 23:10:07 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/577473002/diff/1/remoting/protocol/connection_to_client.cc File remoting/protocol/connection_to_client.cc (right): https://codereview.chromium.org/577473002/diff/1/remoting/protocol/connection_to_client.cc#newcode138 remoting/protocol/connection_to_client.cc:138: video_writer_->Init(session_.get(), On 2014/09/16 23:10:06, Wez wrote: > nit: Does ...
6 years, 3 months ago (2014-09-17 21:52:07 UTC) #4
Wez
LGTM w/ a few remaining nits! https://codereview.chromium.org/577473002/diff/1/remoting/protocol/connection_to_client.cc File remoting/protocol/connection_to_client.cc (right): https://codereview.chromium.org/577473002/diff/1/remoting/protocol/connection_to_client.cc#newcode138 remoting/protocol/connection_to_client.cc:138: video_writer_->Init(session_.get(), On 2014/09/17 ...
6 years, 3 months ago (2014-09-18 00:23:55 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/577473002/diff/20001/remoting/protocol/client_video_dispatcher.cc File remoting/protocol/client_video_dispatcher.cc (right): https://codereview.chromium.org/577473002/diff/20001/remoting/protocol/client_video_dispatcher.cc#newcode31 remoting/protocol/client_video_dispatcher.cc:31: video_stub_->ProcessVideoPacket(packet.Pass(), done_task); On 2014/09/18 00:23:55, Wez wrote: > nit ...
6 years, 3 months ago (2014-09-18 22:35:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/577473002/40001
6 years, 3 months ago (2014-09-18 22:36:00 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/429) linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/17015) mac_chromium_compile_dbg ...
6 years, 3 months ago (2014-09-18 22:53:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/577473002/60001
6 years, 3 months ago (2014-09-18 23:42:34 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/17037)
6 years, 3 months ago (2014-09-18 23:57:16 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/577473002/80001
6 years, 3 months ago (2014-09-19 18:45:09 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 8c55a0543486c9a1ede6c8ac10a6bc78cf90dc62
6 years, 3 months ago (2014-09-19 19:23:48 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-19 19:24:29 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2385cffed5c8a258b29d76160434635b66ea9968
Cr-Commit-Position: refs/heads/master@{#295760}

Powered by Google App Engine
This is Rietveld 408576698