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

Issue 2386783002: Add UMA metrics for ICE regathering reasons. (Closed)

Created:
4 years, 2 months ago by honghaiz3
Modified:
4 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add UMA metrics for ICE regathering reasons. BUG=webrtc:6462 R=deadbeef@webrtc.org Committed: https://crrev.com/d93f50cd5754ae20a97c8ed1d0469b912c0b05af Cr-Commit-Position: refs/heads/master@{#14531}

Patch Set 1 : . #

Total comments: 36

Patch Set 2 : Address comments #

Total comments: 10

Patch Set 3 : Pass the metric observer from transportcontroller to the transport channel and etc #

Patch Set 4 : revert some unwanted auto-formatting. #

Patch Set 5 : fix comments #

Total comments: 4

Patch Set 6 : Add const to the pooled_sessions method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -16 lines) Patch
M webrtc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/fakemetricsobserver.cc View 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/api/peerconnection.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/umametrics.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 4 chunks +21 lines, -1 line 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 3 4 7 chunks +180 lines, -3 lines 0 comments Download
M webrtc/p2p/base/portallocator.h View 1 2 3 4 5 6 chunks +24 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportchannelimpl.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/p2p/client/basicportallocator.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/client/basicportallocator.cc View 1 2 3 4 8 chunks +39 lines, -11 lines 0 comments Download
M webrtc/p2p/quic/quictransportchannel.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
Taylor Brandstetter
https://codereview.webrtc.org/2386783002/diff/40001/webrtc/api/fakemetricsobserver.cc File webrtc/api/fakemetricsobserver.cc (right): https://codereview.webrtc.org/2386783002/diff/40001/webrtc/api/fakemetricsobserver.cc#newcode50 webrtc/api/fakemetricsobserver.cc:50: } What's the purpose of this change? https://codereview.webrtc.org/2386783002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc File ...
4 years, 2 months ago (2016-10-03 20:33:35 UTC) #9
honghaiz3
PTAL. Thanks! https://codereview.webrtc.org/2386783002/diff/40001/webrtc/api/fakemetricsobserver.cc File webrtc/api/fakemetricsobserver.cc (right): https://codereview.webrtc.org/2386783002/diff/40001/webrtc/api/fakemetricsobserver.cc#newcode50 webrtc/api/fakemetricsobserver.cc:50: } On 2016/10/03 20:33:34, Taylor Brandstetter wrote: ...
4 years, 2 months ago (2016-10-04 01:03:55 UTC) #11
Taylor Brandstetter
Maybe we should bring Peter into the design discussion. I don't want to hold up ...
4 years, 2 months ago (2016-10-04 02:42:33 UTC) #14
honghaiz3
https://codereview.webrtc.org/2386783002/diff/40001/webrtc/p2p/base/portallocator.h File webrtc/p2p/base/portallocator.h (right): https://codereview.webrtc.org/2386783002/diff/40001/webrtc/p2p/base/portallocator.h#newcode392 webrtc/p2p/base/portallocator.h:392: } On 2016/10/04 02:42:32, Taylor Brandstetter wrote: > On ...
4 years, 2 months ago (2016-10-04 04:06:42 UTC) #17
pthatcher2
https://codereview.webrtc.org/2386783002/diff/80001/webrtc/p2p/base/portallocator.h File webrtc/p2p/base/portallocator.h (right): https://codereview.webrtc.org/2386783002/diff/80001/webrtc/p2p/base/portallocator.h#newcode83 webrtc/p2p/base/portallocator.h:83: ICE_RESTART_WHEN_DISCONNECTED, Shouldn't these be "_WHILE_" rather than "_WHEN_"? https://codereview.webrtc.org/2386783002/diff/80001/webrtc/p2p/base/portallocator.h#newcode85 ...
4 years, 2 months ago (2016-10-04 06:03:18 UTC) #19
Taylor Brandstetter
https://codereview.webrtc.org/2386783002/diff/40001/webrtc/p2p/base/portallocator.h File webrtc/p2p/base/portallocator.h (right): https://codereview.webrtc.org/2386783002/diff/40001/webrtc/p2p/base/portallocator.h#newcode392 webrtc/p2p/base/portallocator.h:392: } On 2016/10/04 04:06:42, honghaiz3 wrote: > In fact ...
4 years, 2 months ago (2016-10-04 17:44:15 UTC) #20
honghaiz3
Addressed all comments. PTAL. https://codereview.webrtc.org/2386783002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/2386783002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc#newcode483 webrtc/p2p/base/p2ptransportchannel.cc:483: session->SignalIceRegatheringReason(session, reason); On 2016/10/04 02:42:32, ...
4 years, 2 months ago (2016-10-05 05:01:53 UTC) #21
Taylor Brandstetter
lgtm. I know it's more boilerplate code but I like how this turned out. https://codereview.webrtc.org/2386783002/diff/140001/webrtc/p2p/base/portallocator.h ...
4 years, 2 months ago (2016-10-05 17:40:02 UTC) #22
honghaiz3
Thanks! https://codereview.webrtc.org/2386783002/diff/140001/webrtc/p2p/base/portallocator.h File webrtc/p2p/base/portallocator.h (right): https://codereview.webrtc.org/2386783002/diff/140001/webrtc/p2p/base/portallocator.h#newcode398 webrtc/p2p/base/portallocator.h:398: std::deque<std::unique_ptr<PortAllocatorSession>>& pooled_sessions() { On 2016/10/05 17:40:02, Taylor Brandstetter ...
4 years, 2 months ago (2016-10-05 18:04:38 UTC) #23
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/2386783002/160001
4 years, 2 months ago (2016-10-05 18:05:25 UTC) #26
honghaiz3
4 years, 2 months ago (2016-10-05 18:47:45 UTC) #28
Message was sent while issue was closed.
Committed patchset #6 (id:160001) manually as
d93f50cd5754ae20a97c8ed1d0469b912c0b05af (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698