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

Issue 1361183004: When doing DisableEquivalentPhases, exclude those AllocationSequences (Closed)

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

When doing DisableEquivalentPhases, exclude those AllocationSequences whose network has ever been removed. It is unlikely the sockets/ports/candidates created from those AllocationSequences will still be valid. BUG= Committed: https://crrev.com/8c404fab8d9ce5ef87046fb57ec8ac2c90fad9ac Cr-Commit-Position: refs/heads/master@{#10093}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Removed the new state kTerminated #

Total comments: 4

Patch Set 3 : use a binary variable to indicate the network is removed. #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -12 lines) Patch
M webrtc/base/fakenetwork.h View 1 chunk +6 lines, -2 lines 0 comments Download
M webrtc/p2p/client/basicportallocator.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M webrtc/p2p/client/basicportallocator.cc View 1 2 3 3 chunks +41 lines, -10 lines 0 comments Download
M webrtc/p2p/client/portallocator_unittest.cc View 1 2 chunks +61 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (19 generated)
honghaiz3
Please take a look at the CL.
5 years, 2 months ago (2015-09-24 15:30:49 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361183004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361183004/60001
5 years, 2 months ago (2015-09-24 16:42:50 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_compile_dbg/builds/104)
5 years, 2 months ago (2015-09-24 16:47:11 UTC) #9
pthatcher1
I need a little more clarity on the difference between stopped, terminated, clear(), and terminate(). ...
5 years, 2 months ago (2015-09-24 17:11:44 UTC) #10
honghaiz3
Made some revisions. Removed the state kTerminated. Instead just set the network_ to be null. ...
5 years, 2 months ago (2015-09-24 19:27:00 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361183004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361183004/120001
5 years, 2 months ago (2015-09-24 19:29:19 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
5 years, 2 months ago (2015-09-24 21:30:02 UTC) #17
pthatcher1
https://codereview.webrtc.org/1361183004/diff/120001/webrtc/p2p/client/basicportallocator.cc File webrtc/p2p/client/basicportallocator.cc (right): https://codereview.webrtc.org/1361183004/diff/120001/webrtc/p2p/client/basicportallocator.cc#newcode396 webrtc/p2p/client/basicportallocator.cc:396: } Wouldn't this be the same as: if (sequence->state() ...
5 years, 2 months ago (2015-09-24 21:41:43 UTC) #18
honghaiz3
Revised based on offline discussion. https://codereview.webrtc.org/1361183004/diff/120001/webrtc/p2p/client/basicportallocator.cc File webrtc/p2p/client/basicportallocator.cc (right): https://codereview.webrtc.org/1361183004/diff/120001/webrtc/p2p/client/basicportallocator.cc#newcode396 webrtc/p2p/client/basicportallocator.cc:396: } On 2015/09/24 21:41:43, ...
5 years, 2 months ago (2015-09-24 22:41:28 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361183004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361183004/160001
5 years, 2 months ago (2015-09-24 22:42:35 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
5 years, 2 months ago (2015-09-25 00:42:46 UTC) #24
pthatcher1
lgtm, with nits https://codereview.webrtc.org/1361183004/diff/160001/webrtc/p2p/client/basicportallocator.cc File webrtc/p2p/client/basicportallocator.cc (right): https://codereview.webrtc.org/1361183004/diff/160001/webrtc/p2p/client/basicportallocator.cc#newcode733 webrtc/p2p/client/basicportallocator.cc:733: void AllocationSequence::RemoveNetwork() { I'd call this ...
5 years, 2 months ago (2015-09-25 23:49:10 UTC) #25
honghaiz3
https://codereview.webrtc.org/1361183004/diff/160001/webrtc/p2p/client/basicportallocator.cc File webrtc/p2p/client/basicportallocator.cc (right): https://codereview.webrtc.org/1361183004/diff/160001/webrtc/p2p/client/basicportallocator.cc#newcode733 webrtc/p2p/client/basicportallocator.cc:733: void AllocationSequence::RemoveNetwork() { On 2015/09/25 23:49:10, pthatcher1 wrote: > ...
5 years, 2 months ago (2015-09-25 23:59:40 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361183004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361183004/180001
5 years, 2 months ago (2015-09-26 00:01:24 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
5 years, 2 months ago (2015-09-26 02:01:37 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361183004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361183004/180001
5 years, 2 months ago (2015-09-28 02:50:53 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-28 03:59:14 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361183004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361183004/180001
5 years, 2 months ago (2015-09-28 14:58:41 UTC) #37
commit-bot: I haz the power
Committed patchset #4 (id:180001)
5 years, 2 months ago (2015-09-28 14:59:46 UTC) #38
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 14:59:57 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8c404fab8d9ce5ef87046fb57ec8ac2c90fad9ac
Cr-Commit-Position: refs/heads/master@{#10093}

Powered by Google App Engine
This is Rietveld 408576698