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

Issue 1380563002: Thinning out the Transport class. (Closed)

Created:
5 years, 2 months ago by Taylor Brandstetter
Modified:
5 years, 2 months ago
Reviewers:
pthatcher1
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

Thinning out the Transport class. Connecting TransportChannelImpls directly to the TransportController, and removing redundant signal forwarding/state aggregating code from Transport. This brings us closer to just getting rid of Transport entirely. R=pthatcher@webrtc.org Committed: https://crrev.com/c4d3a5d44c25fb42c26393b6ddc0feadd52e5e2f Cr-Commit-Position: refs/heads/master@{#10120}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Typo #

Total comments: 3

Patch Set 3 : Moving channel ref-counting from Transport to TransportController. #

Total comments: 8

Patch Set 4 : Fixing code style and naming. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -589 lines) Patch
M webrtc/p2p/base/dtlstransportchannel_unittest.cc View 3 chunks +9 lines, -8 lines 0 comments Download
M webrtc/p2p/base/transport.h View 1 2 8 chunks +4 lines, -120 lines 0 comments Download
M webrtc/p2p/base/transport.cc View 1 2 3 11 chunks +55 lines, -295 lines 0 comments Download
M webrtc/p2p/base/transport_unittest.cc View 4 chunks +1 line, -84 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.h View 1 2 3 chunks +42 lines, -12 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 1 2 3 10 chunks +101 lines, -70 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Taylor Brandstetter
Hi Peter; I decided to split out the "Transport thinning" part of my work to ...
5 years, 2 months ago (2015-09-29 17:58:45 UTC) #2
pthatcher1
https://codereview.webrtc.org/1380563002/diff/20001/webrtc/p2p/base/transportcontroller.cc File webrtc/p2p/base/transportcontroller.cc (right): https://codereview.webrtc.org/1380563002/diff/20001/webrtc/p2p/base/transportcontroller.cc#newcode148 webrtc/p2p/base/transportcontroller.cc:148: TransportChannelImpl* channel = transport->CreateChannel(component); Would it make sense to ...
5 years, 2 months ago (2015-09-29 18:12:43 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1380563002/diff/20001/webrtc/p2p/base/transportcontroller.cc File webrtc/p2p/base/transportcontroller.cc (right): https://codereview.webrtc.org/1380563002/diff/20001/webrtc/p2p/base/transportcontroller.cc#newcode148 webrtc/p2p/base/transportcontroller.cc:148: TransportChannelImpl* channel = transport->CreateChannel(component); On 2015/09/29 18:12:43, pthatcher1 wrote: ...
5 years, 2 months ago (2015-09-29 23:21:02 UTC) #4
pthatcher1
lgtm, with style nits. https://codereview.webrtc.org/1380563002/diff/40001/webrtc/p2p/base/transport.cc File webrtc/p2p/base/transport.cc (right): https://codereview.webrtc.org/1380563002/diff/40001/webrtc/p2p/base/transport.cc#newcode167 webrtc/p2p/base/transport.cc:167: TransportChannelImpl* impl; Can you rename ...
5 years, 2 months ago (2015-09-29 23:50:58 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/1380563002/diff/40001/webrtc/p2p/base/transport.cc File webrtc/p2p/base/transport.cc (right): https://codereview.webrtc.org/1380563002/diff/40001/webrtc/p2p/base/transport.cc#newcode167 webrtc/p2p/base/transport.cc:167: TransportChannelImpl* impl; On 2015/09/29 23:50:58, pthatcher1 wrote: > Can ...
5 years, 2 months ago (2015-09-30 01:01:20 UTC) #6
pthatcher1
lgtm
5 years, 2 months ago (2015-09-30 05:33:57 UTC) #7
Taylor Brandstetter
Committed patchset #4 (id:60001) manually as c4d3a5d44c25fb42c26393b6ddc0feadd52e5e2f (presubmit successful).
5 years, 2 months ago (2015-09-30 17:33:14 UTC) #8
commit-bot: I haz the power
5 years, 2 months ago (2015-09-30 17:33:16 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c4d3a5d44c25fb42c26393b6ddc0feadd52e5e2f
Cr-Commit-Position: refs/heads/master@{#10120}

Powered by Google App Engine
This is Rietveld 408576698