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

Issue 2606123002: Remove the dependency of TransportChannel and TransportChannelImpl. (Closed)

Created:
3 years, 11 months ago by Zhi Huang
Modified:
3 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove the dependency of TransportChannel and TransportChannelImpl. DtlsTransportChannelWrapper is renamed to be DtlsTransport which inherits from DtlsTransportInternal. There will be no concept of "channel" in p2p level. Both P2PTransportChannel and DtlsTransport don't depend on TransportChannel and TransportChannelImpl any more and they are removed in this CL. BUG=none Review-Url: https://codereview.webrtc.org/2606123002 Cr-Commit-Position: refs/heads/master@{#16173} Committed: https://chromium.googlesource.com/external/webrtc/+/b2cdd93fd6ab91d453314ac2f51a849542d023d9

Patch Set 1 #

Total comments: 18

Patch Set 2 : Merge with IceTransportInternal related changes. #

Patch Set 3 : Merge #

Total comments: 11

Patch Set 4 : cr comment #

Patch Set 5 : Revert the change of stun_unittests #

Total comments: 16

Patch Set 6 : Merge #

Patch Set 7 : Rename transportchannel related stuff. #

Patch Set 8 : Fix the format. #

Total comments: 6

Patch Set 9 : Response to CR commments. #

Patch Set 10 : Merge #

Patch Set 11 : Merge #

Patch Set 12 : Fix the memory leak. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+950 lines, -1203 lines) Patch
M webrtc/api/rtpsenderreceiver_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 3 4 5 6 7 8 9 9 chunks +55 lines, -55 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +4 lines, -5 lines 0 comments Download
M webrtc/media/sctp/sctptransport.h View 1 2 3 4 5 6 7 8 5 chunks +5 lines, -5 lines 0 comments Download
M webrtc/media/sctp/sctptransport.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -2 lines 0 comments Download
M webrtc/media/sctp/sctptransport_unittest.cc View 1 2 9 chunks +15 lines, -15 lines 0 comments Download
M webrtc/media/sctp/sctptransportinternal.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/p2p/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.h View 1 2 3 4 5 6 10 chunks +76 lines, -91 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.cc View 1 2 3 4 5 6 25 chunks +109 lines, -151 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel_unittest.cc View 1 2 3 4 5 6 7 8 9 10 20 chunks +79 lines, -77 lines 0 comments Download
M webrtc/p2p/base/dtlstransportinternal.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +135 lines, -147 lines 0 comments Download
M webrtc/p2p/base/icetransportinternal.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M webrtc/p2p/base/jseptransport.h View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -8 lines 0 comments Download
M webrtc/p2p/base/jseptransport.cc View 1 2 3 4 5 6 7 8 9 4 chunks +23 lines, -20 lines 0 comments Download
M webrtc/p2p/base/jseptransport_unittest.cc View 1 4 chunks +14 lines, -13 lines 0 comments Download
M webrtc/p2p/base/packettransportinterface.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
D webrtc/p2p/base/transportchannel.h View 1 2 3 4 5 1 chunk +0 lines, -163 lines 0 comments Download
D webrtc/p2p/base/transportchannel.cc View 1 1 chunk +0 lines, -70 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.h View 1 2 3 4 5 6 7 8 9 4 chunks +15 lines, -15 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 1 2 3 4 5 6 7 8 9 18 chunks +54 lines, -50 lines 0 comments Download
M webrtc/p2p/base/transportcontroller_unittest.cc View 1 2 3 4 5 6 33 chunks +65 lines, -63 lines 0 comments Download
M webrtc/p2p/base/udptransport.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M webrtc/pc/channel.h View 1 2 3 4 5 6 7 8 9 13 chunks +32 lines, -27 lines 0 comments Download
M webrtc/pc/channel.cc View 1 2 3 4 5 6 7 8 9 10 11 35 chunks +142 lines, -127 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 1 2 3 4 5 6 7 8 9 10 19 chunks +63 lines, -59 lines 0 comments Download
M webrtc/pc/channelmanager.h View 1 2 3 4 5 6 chunks +12 lines, -12 lines 0 comments Download
M webrtc/pc/channelmanager.cc View 1 2 3 4 5 6 chunks +12 lines, -12 lines 0 comments Download
M webrtc/pc/channelmanager_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 63 (47 generated)
Taylor Brandstetter
Looks good; the main thing I saw that could be cleaned up is the code ...
3 years, 11 months ago (2017-01-03 23:21:59 UTC) #4
Zhi Huang
Please take a look. If possible, I think we can land this one which includes ...
3 years, 11 months ago (2017-01-10 18:30:51 UTC) #9
Taylor Brandstetter
Just some minor comments. It was a good idea combining this CL with the IceTransportInternal ...
3 years, 11 months ago (2017-01-10 19:43:47 UTC) #10
Zhi Huang
Please take a look. Thanks. https://codereview.webrtc.org/2606123002/diff/40001/webrtc/p2p/base/dtlstransportinternal.h File webrtc/p2p/base/dtlstransportinternal.h (right): https://codereview.webrtc.org/2606123002/diff/40001/webrtc/p2p/base/dtlstransportinternal.h#newcode31 webrtc/p2p/base/dtlstransportinternal.h:31: DtlsTransportInternal() {} On 2017/01/10 ...
3 years, 11 months ago (2017-01-12 20:04:13 UTC) #12
Taylor Brandstetter
lgtm. By the way, when you rebase/merge, try to upload it as a separate patchset; ...
3 years, 11 months ago (2017-01-13 01:45:58 UTC) #21
pthatcher1
https://codereview.webrtc.org/2606123002/diff/140001/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/2606123002/diff/140001/webrtc/api/webrtcsession.cc#newcode1923 webrtc/api/webrtcsession.cc:1923: transport_name, cricket::ICE_CANDIDATE_COMPONENT_RTP); If it returns a DtlsTransport, then we ...
3 years, 11 months ago (2017-01-13 22:41:16 UTC) #23
Taylor Brandstetter
https://codereview.webrtc.org/2606123002/diff/140001/webrtc/p2p/base/icetransportinternal.h File webrtc/p2p/base/icetransportinternal.h (right): https://codereview.webrtc.org/2606123002/diff/140001/webrtc/p2p/base/icetransportinternal.h#newcode29 webrtc/p2p/base/icetransportinternal.h:29: typedef IceTransportInternal IceTransportInternal2; On 2017/01/13 22:41:16, pthatcher1 wrote: > ...
3 years, 11 months ago (2017-01-13 23:49:55 UTC) #24
Zhi Huang
Hi, Please take another look. I addressed the comments regarding the confusing naming. I was ...
3 years, 11 months ago (2017-01-16 10:38:25 UTC) #27
pthatcher1
LGTM, with nits https://codereview.webrtc.org/2606123002/diff/240001/webrtc/media/sctp/sctptransport.h File webrtc/media/sctp/sctptransport.h (right): https://codereview.webrtc.org/2606123002/diff/240001/webrtc/media/sctp/sctptransport.h#newcode69 webrtc/media/sctp/sctptransport.h:69: cricket::DtlsTransportInternal* channel); Can SctpTransport take just ...
3 years, 11 months ago (2017-01-17 20:16:48 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2606123002/300001
3 years, 11 months ago (2017-01-19 02:18:07 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2606123002/320001
3 years, 11 months ago (2017-01-19 08:42:31 UTC) #40
commit-bot: I haz the power
Committed patchset #11 (id:320001) as https://chromium.googlesource.com/external/webrtc/+/5aed06c8d3e0bf69f06f54ee7113f7a3ac2399c7
3 years, 11 months ago (2017-01-19 09:48:10 UTC) #43
Zhi Huang
A revert of this CL (patchset #11 id:320001) has been created in https://codereview.webrtc.org/2639203004/ by zhihuang@webrtc.org. ...
3 years, 11 months ago (2017-01-19 10:33:39 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2606123002/340001
3 years, 11 months ago (2017-01-20 00:47:25 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2606123002/340001
3 years, 11 months ago (2017-01-20 00:51:06 UTC) #60
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 00:54:31 UTC) #63
Message was sent while issue was closed.
Committed patchset #12 (id:340001) as
https://chromium.googlesource.com/external/webrtc/+/b2cdd93fd6ab91d453314ac2f...

Powered by Google App Engine
This is Rietveld 408576698