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

Issue 2267163002: Add logs and small change in BasicPortAllocator (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

Add logs and small change in BasicPortAllocator. The added logs will be helpful for debugging. If a session has stopped, terminate DoAllocate early. Session::init always returns true, so there is no need to check the return value. R=deadbeef@webrtc.org, skvlad@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/5048f5777dda576f321c8ab08888291549ea72f4

Patch Set 1 : . #

Patch Set 2 : Log allocating ports only if the network list is not empty. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -12 lines) Patch
M webrtc/p2p/base/p2ptransportchannel.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/p2p/client/basicportallocator.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/client/basicportallocator.cc View 1 5 chunks +12 lines, -11 lines 2 comments Download

Messages

Total messages: 15 (9 generated)
skvlad
lgtm for the change - assuming I understand the behavior of the class correctly.
4 years, 4 months ago (2016-08-22 23:17:35 UTC) #5
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/2267163002/40001
4 years, 4 months ago (2016-08-23 21:29:54 UTC) #8
Taylor Brandstetter
lgtm https://codereview.webrtc.org/2267163002/diff/40001/webrtc/p2p/client/basicportallocator.cc File webrtc/p2p/client/basicportallocator.cc (right): https://codereview.webrtc.org/2267163002/diff/40001/webrtc/p2p/client/basicportallocator.cc#newcode552 webrtc/p2p/client/basicportallocator.cc:552: if (IsStopped()) { Is this condition only hit ...
4 years, 4 months ago (2016-08-23 21:50:09 UTC) #10
honghaiz3
https://codereview.webrtc.org/2267163002/diff/40001/webrtc/p2p/client/basicportallocator.cc File webrtc/p2p/client/basicportallocator.cc (right): https://codereview.webrtc.org/2267163002/diff/40001/webrtc/p2p/client/basicportallocator.cc#newcode552 webrtc/p2p/client/basicportallocator.cc:552: if (IsStopped()) { On 2016/08/23 21:50:09, Taylor Brandstetter wrote: ...
4 years, 4 months ago (2016-08-23 22:06:25 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5048f5777dda576f321c8ab08888291549ea72f4 Cr-Commit-Position: refs/heads/master@{#13871}
4 years, 4 months ago (2016-08-23 22:47:53 UTC) #13
honghaiz3
4 years, 4 months ago (2016-08-23 22:48:09 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as
5048f5777dda576f321c8ab08888291549ea72f4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698