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

Issue 1672513002: Expose packet loss counts from QUIC to NetworkQualityEstimator (Closed)

Created:
4 years, 10 months ago by tbansal1
Modified:
4 years, 9 months ago
Reviewers:
bengr
CC:
chromium-reviews, cbentzel+watch_chromium.org, Randy Smith (Not in Mondays), asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose packet loss counts from QUIC to NetworkQualityEstimator. Also, the packet loss observations are notified to the all PacketLossObservers that have registered with NQE. Next CL will register Cronet as a packet loss observer with NQE. BUG=548719

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed bengr comments #

Total comments: 26

Patch Set 3 : Addressed bengr comments #

Total comments: 70

Patch Set 4 : Addressed bengr comments #

Total comments: 4

Patch Set 5 : Addressed bengr comments, Rebased #

Total comments: 6

Patch Set 6 : Addressed rch comments #

Total comments: 10

Patch Set 7 : \ #

Total comments: 4

Patch Set 8 : Addressed rch comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+473 lines, -66 lines) Patch
M net/base/network_quality_estimator.h View 1 2 3 4 5 6 7 11 chunks +83 lines, -19 lines 1 comment Download
M net/base/network_quality_estimator.cc View 1 2 3 4 5 6 7 4 chunks +80 lines, -10 lines 0 comments Download
M net/base/network_quality_estimator_unittest.cc View 1 2 3 4 5 6 9 chunks +70 lines, -14 lines 0 comments Download
M net/base/socket_performance_watcher.h View 1 2 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M net/base/socket_performance_watcher.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M net/base/socket_performance_watcher_factory.h View 1 2 3 4 5 6 2 chunks +13 lines, -0 lines 0 comments Download
M net/quic/quic_connection_logger.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/quic_connection_logger.cc View 1 2 3 4 5 6 7 3 chunks +43 lines, -2 lines 1 comment Download
M net/quic/quic_connection_logger_unittest.cc View 1 2 3 4 5 6 7 2 chunks +117 lines, -21 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 4 5 6 10 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (19 generated)
tbansal1
bengr: ptal. The CL is big but it should be easy to review. I can ...
4 years, 10 months ago (2016-02-04 23:03:35 UTC) #5
bengr
At a high level, I see two issues with the design. First, the observer interface ...
4 years, 10 months ago (2016-02-09 15:41:03 UTC) #6
tbansal1
On 2016/02/09 15:41:03, bengr wrote: > At a high level, I see two issues with ...
4 years, 10 months ago (2016-02-09 17:53:53 UTC) #7
tbansal1
bengr: ptal. Thanks! https://codereview.chromium.org/1672513002/diff/1/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1672513002/diff/1/net/base/network_quality_estimator.cc#newcode122 net/base/network_quality_estimator.cc:122: const float NetworkQualityEstimator::kInvalidPacketLossRate = -1; On ...
4 years, 10 months ago (2016-02-09 17:54:12 UTC) #8
tbansal1
bengr: ptal.
4 years, 10 months ago (2016-02-09 18:28:00 UTC) #10
bengr
Here are a few more comments. I'll do a full pass later. https://codereview.chromium.org/1672513002/diff/40001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc ...
4 years, 10 months ago (2016-02-16 17:02:02 UTC) #11
tbansal1
bengr: ptal. Thanks! https://codereview.chromium.org/1672513002/diff/40001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1672513002/diff/40001/net/base/network_quality_estimator.cc#newcode563 net/base/network_quality_estimator.cc:563: return (*packet_loss != kInvalidPacketLossRate); On 2016/02/16 ...
4 years, 10 months ago (2016-02-17 18:35:11 UTC) #13
bengr
https://codereview.chromium.org/1672513002/diff/80001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1672513002/diff/80001/net/base/network_quality_estimator.cc#newcode122 net/base/network_quality_estimator.cc:122: const float NetworkQualityEstimator::kMinimumValidPacketLossRate = 0.0f; I think you can ...
4 years, 10 months ago (2016-02-19 00:45:09 UTC) #14
tbansal1
bengr: ptal. thanks. https://codereview.chromium.org/1672513002/diff/80001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1672513002/diff/80001/net/base/network_quality_estimator.cc#newcode122 net/base/network_quality_estimator.cc:122: const float NetworkQualityEstimator::kMinimumValidPacketLossRate = 0.0f; On ...
4 years, 10 months ago (2016-02-26 01:15:00 UTC) #19
bengr
Lgtm with nits. https://codereview.chromium.org/1672513002/diff/180001/net/base/network_quality_estimator_unittest.cc File net/base/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/1672513002/diff/180001/net/base/network_quality_estimator_unittest.cc#newcode8 net/base/network_quality_estimator_unittest.cc:8: #include <stdint.h> Add a blank line ...
4 years, 10 months ago (2016-02-26 23:07:04 UTC) #20
tbansal1
rch: PTAL at net/quic/* Thanks! https://codereview.chromium.org/1672513002/diff/180001/net/base/network_quality_estimator_unittest.cc File net/base/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/1672513002/diff/180001/net/base/network_quality_estimator_unittest.cc#newcode8 net/base/network_quality_estimator_unittest.cc:8: #include <stdint.h> On 2016/02/26 ...
4 years, 10 months ago (2016-02-27 00:03:54 UTC) #22
Ryan Hamilton
https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc File net/quic/quic_connection_logger.cc (right): https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc#newcode563 net/quic/quic_connection_logger.cc:563: packets_lost = diff - 1; This is a very ...
4 years, 9 months ago (2016-03-01 18:20:33 UTC) #23
tbansal1
https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc File net/quic/quic_connection_logger.cc (right): https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc#newcode563 net/quic/quic_connection_logger.cc:563: packets_lost = diff - 1; On 2016/03/01 18:20:32, Ryan ...
4 years, 9 months ago (2016-03-01 19:05:37 UTC) #24
Ryan Hamilton
https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc File net/quic/quic_connection_logger.cc (right): https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc#newcode563 net/quic/quic_connection_logger.cc:563: packets_lost = diff - 1; On 2016/03/01 19:05:36, tbansal1 ...
4 years, 9 months ago (2016-03-02 04:26:49 UTC) #25
tbansal1
https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc File net/quic/quic_connection_logger.cc (right): https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc#newcode563 net/quic/quic_connection_logger.cc:563: packets_lost = diff - 1; I will change the ...
4 years, 9 months ago (2016-03-03 02:39:05 UTC) #26
Ryan Hamilton
https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc File net/quic/quic_connection_logger.cc (right): https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc#newcode563 net/quic/quic_connection_logger.cc:563: packets_lost = diff - 1; On 2016/03/03 02:39:05, tbansal1 ...
4 years, 9 months ago (2016-03-03 04:24:24 UTC) #27
tbansal1
rch: ptal. thanks. I rebased, and now it is using the uplink.
4 years, 9 months ago (2016-03-03 18:57:36 UTC) #29
tbansal1
On 2016/03/03 04:24:24, Ryan Hamilton wrote: > https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc > File net/quic/quic_connection_logger.cc (right): > > https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc#newcode563 ...
4 years, 9 months ago (2016-03-03 19:52:40 UTC) #30
tbansal1
On 2016/03/03 19:52:40, tbansal1 wrote: > On 2016/03/03 04:24:24, Ryan Hamilton wrote: > > > ...
4 years, 9 months ago (2016-03-03 21:52:54 UTC) #32
tbansal1
rch: ptal. thanks! https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc File net/quic/quic_connection_logger.cc (right): https://codereview.chromium.org/1672513002/diff/200001/net/quic/quic_connection_logger.cc#newcode563 net/quic/quic_connection_logger.cc:563: packets_lost = diff - 1; On ...
4 years, 9 months ago (2016-03-03 23:34:46 UTC) #33
Ryan Hamilton
https://codereview.chromium.org/1672513002/diff/260001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1672513002/diff/260001/net/base/network_quality_estimator.cc#newcode1031 net/base/network_quality_estimator.cc:1031: if (packets_received_in_order >= 3) { But this argument is ...
4 years, 9 months ago (2016-03-07 20:02:10 UTC) #34
tbansal1
rch: ptal. thanks. https://codereview.chromium.org/1672513002/diff/260001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1672513002/diff/260001/net/base/network_quality_estimator.cc#newcode1031 net/base/network_quality_estimator.cc:1031: if (packets_received_in_order >= 3) { On ...
4 years, 9 months ago (2016-03-08 02:59:58 UTC) #38
Ryan Hamilton
I'm including Jana on this because he's pretty familiar with the issues around client-side estimation ...
4 years, 9 months ago (2016-03-10 00:29:53 UTC) #41
tbansal1
On 2016/03/10 00:29:53, Ryan Hamilton wrote: > I'm including Jana on this because he's pretty ...
4 years, 9 months ago (2016-03-10 01:11:10 UTC) #42
tbansal1
https://codereview.chromium.org/1672513002/diff/340001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1672513002/diff/340001/net/base/network_quality_estimator.cc#newcode454 net/base/network_quality_estimator.cc:454: default: On 2016/03/10 00:29:53, Ryan Hamilton wrote: > nit: ...
4 years, 9 months ago (2016-03-10 03:37:22 UTC) #43
tbansal1
ping!
4 years, 9 months ago (2016-03-11 19:46:35 UTC) #44
Jana
Apologies for not getting to this earlier. A couple of high-order thoughts -- I am ...
4 years, 9 months ago (2016-03-12 03:11:28 UTC) #45
tbansal1
On 2016/03/12 03:11:28, Jana wrote: > Apologies for not getting to this earlier. A couple ...
4 years, 9 months ago (2016-03-12 15:55:00 UTC) #46
Ryan Hamilton
I'm happy to defer to Jana. Let me know if you'd like me to chime ...
4 years, 9 months ago (2016-03-15 23:08:02 UTC) #47
tbansal1
4 years, 9 months ago (2016-03-22 20:15:13 UTC) #48
I am going to close this CL for now. I agree with jri and rch that this may not
be a good idea to pursue.

Powered by Google App Engine
This is Rietveld 408576698