Chromium Code Reviews

Issue 2413803002: DataChannel[Interface]::[message/bytes]_[sent/received]() added. (Closed)

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

Description

DataChannel[Interface]::[message/bytes]_[sent/received]() added. These are required for the RTCDataChannelStats[1] that will be collected in a follow-up CL. [1] https://w3c.github.io/webrtc-stats/#dcstats-dict* BUG=chromium:654927, chromium:627816 Committed: https://crrev.com/84ffdee879c9d13f50288dbf6a2a050b0da95170 Cr-Commit-Position: refs/heads/master@{#14616}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Total comments: 4

Patch Set 3 : Addressed comments #

Unified diffs Side-by-side diffs Stats (+121 lines, -1 line)
M webrtc/api/datachannel.h View 3 chunks +12 lines, -0 lines 0 comments
M webrtc/api/datachannel.cc View 4 chunks +11 lines, -1 line 0 comments
M webrtc/api/datachannel_unittest.cc View 2 chunks +94 lines, -0 lines 0 comments
M webrtc/api/datachannelinterface.h View 1 chunk +4 lines, -0 lines 0 comments

Messages

Total messages: 23 (14 generated)
hbos
Please take a look, deadbeef and hta.
4 years, 2 months ago (2016-10-12 17:08:10 UTC) #5
hta-webrtc
lgtm % comments https://codereview.webrtc.org/2413803002/diff/1/webrtc/api/datachannel_unittest.cc File webrtc/api/datachannel_unittest.cc (right): https://codereview.webrtc.org/2413803002/diff/1/webrtc/api/datachannel_unittest.cc#newcode213 webrtc/api/datachannel_unittest.cc:213: provider_->set_send_blocked(false); check that messages_sent and bytes_sent ...
4 years, 2 months ago (2016-10-12 17:25:28 UTC) #6
hbos
Please take a look, deadybeef https://codereview.webrtc.org/2413803002/diff/1/webrtc/api/datachannel_unittest.cc File webrtc/api/datachannel_unittest.cc (right): https://codereview.webrtc.org/2413803002/diff/1/webrtc/api/datachannel_unittest.cc#newcode213 webrtc/api/datachannel_unittest.cc:213: provider_->set_send_blocked(false); On 2016/10/12 17:25:28, ...
4 years, 2 months ago (2016-10-12 18:25:07 UTC) #9
Taylor Brandstetter
lgtm with couple small suggestions https://codereview.webrtc.org/2413803002/diff/20001/webrtc/api/datachannel_unittest.cc File webrtc/api/datachannel_unittest.cc (right): https://codereview.webrtc.org/2413803002/diff/20001/webrtc/api/datachannel_unittest.cc#newcode222 webrtc/api/datachannel_unittest.cc:222: EXPECT_EQ_WAIT(0U, webrtc_data_channel_->buffered_amount(), 1000); I'd ...
4 years, 2 months ago (2016-10-12 19:43:58 UTC) #14
hbos
https://codereview.webrtc.org/2413803002/diff/20001/webrtc/api/datachannel_unittest.cc File webrtc/api/datachannel_unittest.cc (right): https://codereview.webrtc.org/2413803002/diff/20001/webrtc/api/datachannel_unittest.cc#newcode222 webrtc/api/datachannel_unittest.cc:222: EXPECT_EQ_WAIT(0U, webrtc_data_channel_->buffered_amount(), 1000); On 2016/10/12 19:43:58, Taylor Brandstetter wrote: ...
4 years, 2 months ago (2016-10-12 20:04:48 UTC) #15
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/2413803002/40001
4 years, 2 months ago (2016-10-12 20:05:01 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-12 21:14:43 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/84ffdee879c9d13f50288dbf6a2a050b0da95170 Cr-Commit-Position: refs/heads/master@{#14616}
4 years, 2 months ago (2016-10-12 21:14:52 UTC) #22
hbos
4 years, 2 months ago (2016-10-12 21:42:53 UTC) #23
Message was sent while issue was closed.
This caused chromium fyi breakage, fix instead of reverting:
https://codereview.webrtc.org/2414613003

Powered by Google App Engine