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

Issue 2420473002: RTCDataChannelStats added. (Closed)

Created:
4 years, 2 months ago by hbos
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

RTCDataChannelStats[1] added, supporting all stats members. Also updates MockDataChannel to also mock id, messages_sent, bytes_sent, messages_received and bytes_received. [1] https://w3c.github.io/webrtc-stats/#dcstats-dict* BUG=chromium:654927, chromium:627816 Committed: https://crrev.com/cc555c5019850f16343d0c6b00fb1abad9ba5d2a Cr-Commit-Position: refs/heads/master@{#14670}

Patch Set 1 #

Total comments: 4

Patch Set 2 : ForTesting #

Total comments: 6

Patch Set 3 : Addressed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -13 lines) Patch
M webrtc/api/rtcstatscollector.h View 1 3 chunks +8 lines, -2 lines 0 comments Download
M webrtc/api/rtcstatscollector.cc View 1 2 5 chunks +54 lines, -0 lines 0 comments Download
M webrtc/api/rtcstatscollector_unittest.cc View 1 6 chunks +68 lines, -9 lines 0 comments Download
M webrtc/api/stats/rtcstats_objects.h View 3 chunks +30 lines, -1 line 0 comments Download
M webrtc/api/test/mock_datachannel.h View 1 chunk +24 lines, -1 line 0 comments Download
M webrtc/stats/rtcstats_objects.cc View 2 chunks +49 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
hbos
Please take a look, deadbeef and hta.
4 years, 2 months ago (2016-10-12 21:24:25 UTC) #6
hta-webrtc
lgtm % test function name comment (I just learned this myself, so eager to spread ...
4 years, 2 months ago (2016-10-12 22:23:39 UTC) #9
hbos
Please take a look, deadbeef. https://codereview.webrtc.org/2420473002/diff/20001/webrtc/api/rtcstatscollector.h File webrtc/api/rtcstatscollector.h (right): https://codereview.webrtc.org/2420473002/diff/20001/webrtc/api/rtcstatscollector.h#newcode125 webrtc/api/rtcstatscollector.h:125: const char* DataStateToRTCDataChannelState( On ...
4 years, 2 months ago (2016-10-17 17:33:16 UTC) #10
hta-webrtc
lgtm
4 years, 2 months ago (2016-10-17 17:43:46 UTC) #11
Taylor Brandstetter
lgtm https://codereview.webrtc.org/2420473002/diff/40001/webrtc/api/rtcstatscollector.cc File webrtc/api/rtcstatscollector.cc (right): https://codereview.webrtc.org/2420473002/diff/40001/webrtc/api/rtcstatscollector.cc#newcode246 webrtc/api/rtcstatscollector.cc:246: const std::vector<rtc::scoped_refptr<DataChannel>>& data_channels = nit: Don't need this ...
4 years, 2 months ago (2016-10-18 17:28:11 UTC) #12
hbos
https://codereview.webrtc.org/2420473002/diff/40001/webrtc/api/rtcstatscollector.cc File webrtc/api/rtcstatscollector.cc (right): https://codereview.webrtc.org/2420473002/diff/40001/webrtc/api/rtcstatscollector.cc#newcode246 webrtc/api/rtcstatscollector.cc:246: const std::vector<rtc::scoped_refptr<DataChannel>>& data_channels = On 2016/10/18 17:28:11, Taylor Brandstetter ...
4 years, 2 months ago (2016-10-18 19:13:38 UTC) #13
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/2420473002/60001
4 years, 2 months ago (2016-10-18 19:13:53 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-10-18 19:48:34 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 19:48:44 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cc555c5019850f16343d0c6b00fb1abad9ba5d2a
Cr-Commit-Position: refs/heads/master@{#14670}

Powered by Google App Engine
This is Rietveld 408576698