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

Issue 2172403002: Provide default thresholds for effective connection types (Closed)

Created:
4 years, 5 months ago by tbansal1
Modified:
4 years, 4 months ago
Reviewers:
bengr, RyanSturm
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Provide default thresholds for effective connection types Provide default HTTP RTT and transport RTT thresholds for Slow2G and 2G effective connection types. The default thresholds can still be overriden using field trial variation params. Advantage of this approach is that we would no longer need to specify the variation params in the field trial configs (keeps the configs cleaner). Also, it enables net stack embedders such as Cronet that do not have the concept of field trial to also compute ECT because the thresholds would be available in the code itself. BUG=625305 Committed: https://crrev.com/2739868cb29af2c9978389c38c437899dd827208 Cr-Commit-Position: refs/heads/master@{#407993}

Patch Set 1 : PS #

Total comments: 6

Patch Set 2 : Ryan's comments #

Total comments: 2

Patch Set 3 : Fixed the comment #

Patch Set 4 : Rebased #

Total comments: 4

Patch Set 5 : Rebased #

Patch Set 6 : bengr comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -85 lines) Patch
M net/nqe/network_quality.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M net/nqe/network_quality.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 4 5 3 chunks +61 lines, -55 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 4 2 chunks +108 lines, -30 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
tbansal1
ryansturm: PTAL at *. This is factored out from https://codereview.chromium.org/2146563002/ (with some changes) that you ...
4 years, 5 months ago (2016-07-22 20:21:32 UTC) #6
RyanSturm
https://codereview.chromium.org/2172403002/diff/20001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2172403002/diff/20001/net/nqe/network_quality_estimator.cc#newcode381 net/nqe/network_quality_estimator.cc:381: // Set to 1870 milliseconds which corresponds to the ...
4 years, 5 months ago (2016-07-22 21:01:16 UTC) #7
tbansal1
ryansturm: ptal. Thanks. https://codereview.chromium.org/2172403002/diff/20001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2172403002/diff/20001/net/nqe/network_quality_estimator.cc#newcode381 net/nqe/network_quality_estimator.cc:381: // Set to 1870 milliseconds which ...
4 years, 5 months ago (2016-07-22 21:35:50 UTC) #8
RyanSturm
lgtm % a nit. https://codereview.chromium.org/2172403002/diff/40001/net/nqe/network_quality_estimator_unittest.cc File net/nqe/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/2172403002/diff/40001/net/nqe/network_quality_estimator_unittest.cc#newcode838 net/nqe/network_quality_estimator_unittest.cc:838: // Thresholds are not set ...
4 years, 5 months ago (2016-07-22 21:45:44 UTC) #9
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2172403002/diff/40001/net/nqe/network_quality_estimator_unittest.cc File net/nqe/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/2172403002/diff/40001/net/nqe/network_quality_estimator_unittest.cc#newcode838 net/nqe/network_quality_estimator_unittest.cc:838: // Thresholds are not set using ...
4 years, 5 months ago (2016-07-22 21:51:23 UTC) #11
bengr
lgtm with nits. https://codereview.chromium.org/2172403002/diff/80001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2172403002/diff/80001/net/nqe/network_quality_estimator.cc#newcode432 net/nqe/network_quality_estimator.cc:432: // Set to 2010 milliseconds which ...
4 years, 4 months ago (2016-07-26 23:14:51 UTC) #16
tbansal1
https://codereview.chromium.org/2172403002/diff/80001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2172403002/diff/80001/net/nqe/network_quality_estimator.cc#newcode432 net/nqe/network_quality_estimator.cc:432: // Set to 2010 milliseconds which corresponds to the ...
4 years, 4 months ago (2016-07-26 23:42:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2172403002/120001
4 years, 4 months ago (2016-07-26 23:42:59 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 4 months ago (2016-07-27 00:44:41 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 00:48:16 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2739868cb29af2c9978389c38c437899dd827208
Cr-Commit-Position: refs/heads/master@{#407993}

Powered by Google App Engine
This is Rietveld 408576698