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

Issue 2648233003: Adding ability for BaseChannel to use PacketTransportInterface. (Closed)

Created:
3 years, 11 months ago by Taylor Brandstetter
Modified:
3 years, 11 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adding ability for BaseChannel to use PacketTransportInterface. ... As opposed to DtlsTransportInternal. The code is suboptimal right now, storing two pointers to the different interfaces. This will all be cleaned up when we have an "RtpTransport" abstraction that BaseChannel can use. This CL also cleans up the "fake transport" classes a bit, and gives them their own header files. BUG=None Review-Url: https://codereview.webrtc.org/2648233003 Cr-Commit-Position: refs/heads/master@{#16258} Committed: https://chromium.googlesource.com/external/webrtc/+/f534659ee6896b068e562bb873e0dbae5080352e

Patch Set 1 #

Total comments: 8

Patch Set 2 : Typos #

Patch Set 3 : Adding missing file. #

Patch Set 4 : Fixing typo I somehow introduced in the test. #

Patch Set 5 : Fixing TSAN race in test. #

Patch Set 6 : Fix TSAN warning in test by starting thread after setting fake clock #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1527 lines, -1167 lines) Patch
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/media/sctp/sctptransport_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/BUILD.gn View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A webrtc/p2p/base/fakecandidatepair.h View 1 chunk +54 lines, -0 lines 0 comments Download
A webrtc/p2p/base/fakedtlstransport.h View 1 chunk +270 lines, -0 lines 0 comments Download
A webrtc/p2p/base/fakeicetransport.h View 1 chunk +236 lines, -0 lines 0 comments Download
A webrtc/p2p/base/fakepackettransport.h View 1 2 1 chunk +126 lines, -0 lines 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 2 chunks +5 lines, -565 lines 0 comments Download
M webrtc/p2p/base/jseptransport_unittest.cc View 3 chunks +12 lines, -10 lines 0 comments Download
M webrtc/p2p/base/transportcontroller_unittest.cc View 1 25 chunks +249 lines, -239 lines 0 comments Download
M webrtc/pc/channel.h View 1 13 chunks +33 lines, -17 lines 0 comments Download
M webrtc/pc/channel.cc View 23 chunks +161 lines, -99 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 1 2 3 4 5 54 chunks +370 lines, -229 lines 0 comments Download
M webrtc/pc/channelmanager.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M webrtc/pc/peerconnectioninterface_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/pc/statscollector_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 29 (20 generated)
Taylor Brandstetter
This ended up being a little more work than I expected... I think we should ...
3 years, 11 months ago (2017-01-24 02:00:06 UTC) #3
pthatcher1
lgtm, with nits I think this thing turned out great. Sorry it was so much ...
3 years, 11 months ago (2017-01-25 00:02:19 UTC) #4
Taylor Brandstetter
https://codereview.webrtc.org/2648233003/diff/1/webrtc/p2p/base/transportcontroller_unittest.cc File webrtc/p2p/base/transportcontroller_unittest.cc (right): https://codereview.webrtc.org/2648233003/diff/1/webrtc/p2p/base/transportcontroller_unittest.cc#newcode39 webrtc/p2p/base/transportcontroller_unittest.cc:39: // TODO(deadbeef): Pass a "TransportTransportFactory" or something similar into ...
3 years, 11 months ago (2017-01-25 00:31:43 UTC) #5
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/2648233003/60001
3 years, 11 months ago (2017-01-25 02:02:03 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_tsan2 on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_tsan2/builds/19107)
3 years, 11 months ago (2017-01-25 02:28:23 UTC) #18
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/2648233003/80001
3 years, 11 months ago (2017-01-25 02:34:18 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_tsan2 on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_tsan2/builds/19108)
3 years, 11 months ago (2017-01-25 03:01:57 UTC) #23
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/2648233003/100001
3 years, 11 months ago (2017-01-25 04:57:09 UTC) #26
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 05:51:29 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/external/webrtc/+/f534659ee6896b068e562bb87...

Powered by Google App Engine
This is Rietveld 408576698