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

Issue 1856943002: Allow TransportController to create a QuicTransportChannel (Closed)

Created:
4 years, 8 months ago by mikescarlett
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Allow TransportController to create a QuicTransportChannel A QuicTransport is implemented that subclasses Transport and takes ownership of the QuicTransportChannel/P2PTransportChannel. Split from CL https://codereview.webrtc.org/1844803002/. BUG= Committed: https://crrev.com/e7748674eec286c90fc48705f935ff99175796da Cr-Commit-Position: refs/heads/master@{#12575}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : Modify QuicTransport headers #

Patch Set 3 : Fix incorrect header order #

Total comments: 18

Patch Set 4 : Modify QuicTransport unit tests #

Patch Set 5 : Respond to pthatcher's comments and create helper functions #

Patch Set 6 : Fix dtlstransport.h #

Total comments: 16

Patch Set 7 : Respond to pthatcher and deadbeef comments #

Patch Set 8 : Add unit tests to Transport #

Total comments: 2

Patch Set 9 : Respond to honghaiz comment #

Patch Set 10 : Sync to upstream #

Unified diffs Side-by-side diffs Delta from patch set Stats (+678 lines, -118 lines) Patch
M webrtc/base/sslfingerprint.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/sslfingerprint.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/dtlstransport.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -96 lines 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transport.h View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transport.cc View 1 2 3 4 5 6 7 8 1 chunk +103 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transport_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +177 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/p2p/p2p.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quictransport.h View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quictransport.cc View 1 2 3 4 5 6 7 8 1 chunk +114 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quictransport_unittest.cc View 1 2 3 1 chunk +159 lines, -0 lines 0 comments Download
M webrtc/p2p/quic/quictransportchannel.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/quic/quictransportchannel.cc View 1 2 3 4 5 6 7 8 9 5 chunks +9 lines, -9 lines 0 comments Download
M webrtc/p2p/quic/quictransportchannel_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 43 (21 generated)
mikescarlett
4 years, 8 months ago (2016-04-05 19:49:21 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc File webrtc/p2p/quic/quictransport.cc (right): https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc#newcode138 webrtc/p2p/quic/quictransport.cc:138: return Transport::NegotiateTransportDescription(local_role, error_desc); There's a lot of duplicated code ...
4 years, 8 months ago (2016-04-05 22:13:49 UTC) #4
mikescarlett
https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc File webrtc/p2p/quic/quictransport.cc (right): https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc#newcode138 webrtc/p2p/quic/quictransport.cc:138: return Transport::NegotiateTransportDescription(local_role, error_desc); On 2016/04/05 22:13:49, Taylor Brandstetter wrote: ...
4 years, 8 months ago (2016-04-06 18:43:44 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc File webrtc/p2p/quic/quictransport.cc (right): https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc#newcode138 webrtc/p2p/quic/quictransport.cc:138: return Transport::NegotiateTransportDescription(local_role, error_desc); On 2016/04/06 18:43:44, mikescarlett wrote: > ...
4 years, 8 months ago (2016-04-06 19:27:41 UTC) #6
mikescarlett
https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc File webrtc/p2p/quic/quictransport.cc (right): https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc#newcode138 webrtc/p2p/quic/quictransport.cc:138: return Transport::NegotiateTransportDescription(local_role, error_desc); On 2016/04/06 19:27:41, Taylor Brandstetter wrote: ...
4 years, 8 months ago (2016-04-06 21:18:14 UTC) #7
Taylor Brandstetter
On 2016/04/06 21:18:14, mikescarlett wrote: > https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc > File webrtc/p2p/quic/quictransport.cc (right): > > https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc#newcode138 > ...
4 years, 8 months ago (2016-04-06 21:56:45 UTC) #8
mikescarlett
https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc File webrtc/p2p/quic/quictransport.cc (right): https://codereview.webrtc.org/1856943002/diff/60001/webrtc/p2p/quic/quictransport.cc#newcode138 webrtc/p2p/quic/quictransport.cc:138: return Transport::NegotiateTransportDescription(local_role, error_desc); On 2016/04/06 21:18:14, mikescarlett wrote: > ...
4 years, 8 months ago (2016-04-12 00:06:38 UTC) #9
pthatcher1
After having spoken to Taylor about this, I think we could avoid most of the ...
4 years, 8 months ago (2016-04-12 00:13:12 UTC) #10
mikescarlett
I added helper functions to the Transport class: bool VerifyCertificateFingerprint( const rtc::RTCCertificate* certificate, const rtc::SSLFingerprint* ...
4 years, 8 months ago (2016-04-12 19:28:18 UTC) #11
mikescarlett
On second though I removed the fingerprint stuff from NegotiateRole and put them into QuicTransport/DtlsTransport. ...
4 years, 8 months ago (2016-04-12 19:43:11 UTC) #12
Taylor Brandstetter
https://codereview.webrtc.org/1856943002/diff/230002/webrtc/p2p/base/dtlstransport.h File webrtc/p2p/base/dtlstransport.h (right): https://codereview.webrtc.org/1856943002/diff/230002/webrtc/p2p/base/dtlstransport.h#newcode89 webrtc/p2p/base/dtlstransport.h:89: Base::local_description()->identity_fingerprint.get(); What if local_description() is null here? If it's ...
4 years, 8 months ago (2016-04-12 22:33:11 UTC) #13
pthatcher1
https://codereview.webrtc.org/1856943002/diff/230002/webrtc/p2p/base/dtlstransport.h File webrtc/p2p/base/dtlstransport.h (right): https://codereview.webrtc.org/1856943002/diff/230002/webrtc/p2p/base/dtlstransport.h#newcode89 webrtc/p2p/base/dtlstransport.h:89: Base::local_description()->identity_fingerprint.get(); On 2016/04/12 22:33:11, Taylor Brandstetter wrote: > What ...
4 years, 8 months ago (2016-04-12 23:26:59 UTC) #14
mikescarlett
https://codereview.webrtc.org/1856943002/diff/230002/webrtc/p2p/base/dtlstransport.h File webrtc/p2p/base/dtlstransport.h (right): https://codereview.webrtc.org/1856943002/diff/230002/webrtc/p2p/base/dtlstransport.h#newcode89 webrtc/p2p/base/dtlstransport.h:89: Base::local_description()->identity_fingerprint.get(); On 2016/04/12 22:33:11, Taylor Brandstetter wrote: > What ...
4 years, 8 months ago (2016-04-13 00:58:24 UTC) #15
pthatcher1
lgtm
4 years, 7 months ago (2016-04-29 20:07:18 UTC) #29
honghaiz3
https://codereview.webrtc.org/1856943002/diff/360001/webrtc/p2p/quic/quictransportchannel.h File webrtc/p2p/quic/quictransportchannel.h (right): https://codereview.webrtc.org/1856943002/diff/360001/webrtc/p2p/quic/quictransportchannel.h#newcode216 webrtc/p2p/quic/quictransportchannel.h:216: TransportChannelImpl* channel() const { return channel_; } Seems that ...
4 years, 7 months ago (2016-04-29 22:26:53 UTC) #30
mikescarlett
https://codereview.webrtc.org/1856943002/diff/360001/webrtc/p2p/quic/quictransportchannel.h File webrtc/p2p/quic/quictransportchannel.h (right): https://codereview.webrtc.org/1856943002/diff/360001/webrtc/p2p/quic/quictransportchannel.h#newcode216 webrtc/p2p/quic/quictransportchannel.h:216: TransportChannelImpl* channel() const { return channel_; } On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 23:17:01 UTC) #31
honghaiz3
lgtm
4 years, 7 months ago (2016-04-29 23:23:16 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1856943002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1856943002/400001
4 years, 7 months ago (2016-04-30 02:03:12 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_msan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_msan/builds/9721) linux_ubsan on tryserver.webrtc (JOB_FAILED, ...
4 years, 7 months ago (2016-04-30 02:11:04 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1856943002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1856943002/400001
4 years, 7 months ago (2016-04-30 02:34:55 UTC) #39
commit-bot: I haz the power
Committed patchset #10 (id:400001)
4 years, 7 months ago (2016-04-30 03:21:00 UTC) #41
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:02:21 UTC) #43
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/e7748674eec286c90fc48705f935ff99175796da
Cr-Commit-Position: refs/heads/master@{#12575}

Powered by Google App Engine
This is Rietveld 408576698