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

Issue 1359363003: Make it possible to keep the port allocator session running (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

If gather_continually is set to true, keep the last port allocator session running while stopping all existing process of getting ports (when p2ptransportchannel first becomes writable). BUG=5034 Committed: https://crrev.com/98db68fdaa12c5bfca8b0004eba24d034f32de71 Cr-Commit-Position: refs/heads/master@{#10110}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -6 lines) Patch
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 1 chunk +14 lines, -5 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M webrtc/p2p/base/portallocator.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/client/basicportallocator.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/p2p/client/basicportallocator.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M webrtc/p2p/client/fakeportallocator.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/p2p/client/portallocator_unittest.cc View 1 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
honghaiz3
PTAL.
5 years, 2 months ago (2015-09-25 23:54:07 UTC) #8
pthatcher1
https://codereview.webrtc.org/1359363003/diff/120001/webrtc/p2p/base/portallocator.h File webrtc/p2p/base/portallocator.h (right): https://codereview.webrtc.org/1359363003/diff/120001/webrtc/p2p/base/portallocator.h#newcode96 webrtc/p2p/base/portallocator.h:96: virtual void StopGettingPorts(bool keep_session_running) = 0; I think we ...
5 years, 2 months ago (2015-09-26 00:56:44 UTC) #9
honghaiz3
Thanks! I added that in p2ptransportchannel, it will choose StopGettingPorts or ClearGettingPorts based on the ...
5 years, 2 months ago (2015-09-28 22:43:30 UTC) #12
pthatcher1
lgtm Just little style stuff. https://codereview.webrtc.org/1359363003/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1359363003/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1073 webrtc/p2p/base/p2ptransportchannel.cc:1073: if (!writable()) { Can ...
5 years, 2 months ago (2015-09-28 23:34:00 UTC) #13
honghaiz3
https://codereview.webrtc.org/1359363003/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1359363003/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1073 webrtc/p2p/base/p2ptransportchannel.cc:1073: if (!writable()) { On 2015/09/28 23:34:00, pthatcher1 wrote: > ...
5 years, 2 months ago (2015-09-29 00:04:49 UTC) #14
honghaiz3
5 years, 2 months ago (2015-09-29 00:05:44 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1359363003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1359363003/200001
5 years, 2 months ago (2015-09-29 00:06:04 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_x64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/9673)
5 years, 2 months ago (2015-09-29 00:28:06 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1359363003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1359363003/220001
5 years, 2 months ago (2015-09-29 00:48:51 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-29 01:32:02 UTC) #23
honghaiz3
https://codereview.webrtc.org/1359363003/diff/120001/webrtc/p2p/base/portallocator.h File webrtc/p2p/base/portallocator.h (right): https://codereview.webrtc.org/1359363003/diff/120001/webrtc/p2p/base/portallocator.h#newcode96 webrtc/p2p/base/portallocator.h:96: virtual void StopGettingPorts(bool keep_session_running) = 0; On 2015/09/26 00:56:43, ...
5 years, 2 months ago (2015-09-29 14:56:59 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1359363003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1359363003/220001
5 years, 2 months ago (2015-09-29 14:57:18 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:220001)
5 years, 2 months ago (2015-09-29 14:58:22 UTC) #28
commit-bot: I haz the power
5 years, 2 months ago (2015-09-29 14:58:35 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/98db68fdaa12c5bfca8b0004eba24d034f32de71
Cr-Commit-Position: refs/heads/master@{#10110}

Powered by Google App Engine
This is Rietveld 408576698