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

Issue 2212683002: Do not switch a connection if the new connection is not ready to send packets. (Closed)

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

Description

Do not switch a connection if the new connection is not ready to send packets. There is no benefit of making such switches. R=deadbeef@webrtc.org, pthatcher@webrtc.org Committed: https://crrev.com/e05bcc22b370ab8458d88807df0122e3e16393ba Cr-Commit-Position: refs/heads/master@{#13789}

Patch Set 1 : Updated tests #

Total comments: 12

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -124 lines) Patch
M webrtc/base/gunit.h View 1 chunk +12 lines, -12 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 3 4 chunks +9 lines, -9 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 18 chunks +97 lines, -101 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
honghaiz3
PTAL.
4 years, 4 months ago (2016-08-08 20:49:26 UTC) #6
pthatcher1
lgtm
4 years, 4 months ago (2016-08-08 21:41:28 UTC) #7
Taylor Brandstetter
By the way, you may also want to change "make" to "making" in the CL ...
4 years, 4 months ago (2016-08-08 23:01:06 UTC) #8
honghaiz3
I have also updated the CL description. https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc File webrtc/p2p/base/p2ptransportchannel_unittest.cc (left): https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc#oldcode3338 webrtc/p2p/base/p2ptransportchannel_unittest.cc:3338: EXPECT_EQ(conn2, last_selected_candidate_pair()); ...
4 years, 4 months ago (2016-08-11 22:45:54 UTC) #11
Taylor Brandstetter
https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc File webrtc/p2p/base/p2ptransportchannel_unittest.cc (right): https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc#newcode1204 webrtc/p2p/base/p2ptransportchannel_unittest.cc:1204: EXPECT_EQ(1u, top_connection->remote_candidate().generation()); Previously this tested that a prflx candidate's ...
4 years, 4 months ago (2016-08-15 17:55:49 UTC) #12
honghaiz3
https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc File webrtc/p2p/base/p2ptransportchannel_unittest.cc (right): https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc#newcode1204 webrtc/p2p/base/p2ptransportchannel_unittest.cc:1204: EXPECT_EQ(1u, top_connection->remote_candidate().generation()); On 2016/08/15 17:55:49, Taylor Brandstetter wrote: > ...
4 years, 4 months ago (2016-08-16 17:29:15 UTC) #13
Taylor Brandstetter
https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc File webrtc/p2p/base/p2ptransportchannel_unittest.cc (right): https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc#newcode1204 webrtc/p2p/base/p2ptransportchannel_unittest.cc:1204: EXPECT_EQ(1u, top_connection->remote_candidate().generation()); On 2016/08/16 17:29:15, honghaiz3 wrote: > On ...
4 years, 4 months ago (2016-08-16 18:48:31 UTC) #14
honghaiz3
PTAL. https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc File webrtc/p2p/base/p2ptransportchannel_unittest.cc (right): https://codereview.webrtc.org/2212683002/diff/60001/webrtc/p2p/base/p2ptransportchannel_unittest.cc#newcode1204 webrtc/p2p/base/p2ptransportchannel_unittest.cc:1204: EXPECT_EQ(1u, top_connection->remote_candidate().generation()); On 2016/08/16 18:48:31, Taylor Brandstetter wrote: ...
4 years, 4 months ago (2016-08-16 21:11:36 UTC) #16
Taylor Brandstetter
lgtm
4 years, 4 months ago (2016-08-16 21:16:49 UTC) #17
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/2212683002/140001
4 years, 4 months ago (2016-08-16 23:39:30 UTC) #20
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/2212683002/160001
4 years, 4 months ago (2016-08-16 23:58:05 UTC) #23
honghaiz3
4 years, 4 months ago (2016-08-17 01:19:27 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:160001) manually as
e05bcc22b370ab8458d88807df0122e3e16393ba (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698