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

Issue 2032443003: NQE: Allow algorithm to be set using variation params (Closed)

Created:
4 years, 6 months ago by tbansal1
Modified:
4 years, 6 months ago
Reviewers:
bengr
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

NQE: Allow algorithm to be set using variation params This CL provides the ability to use different algorithms for computing effective connection type. The algorithm to use can be set using field trial params. If field trial params are unavailable (e.g., at first run), then a default value is used. The existing algorithm was also modified to be exactly same as what data reduction proxy is currently is using. Once this CL lands, the server side CL needs to land to set the variation param. Then, GetEffectiveConnectionType() API will be ready for use by DRP and custom fonts. BUG=615551, 569497 Committed: https://crrev.com/a1d1c6a86c81451dabc92c3450348b329ff1290a Cr-Commit-Position: refs/heads/master@{#398753}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : bengr comments #

Total comments: 2

Patch Set 3 : Rebased #

Patch Set 4 : bengr comments #

Patch Set 5 : Rebased #

Total comments: 8

Patch Set 6 : Moved the map initialization to constructor #

Patch Set 7 : Addressed naming comments #

Patch Set 8 : Minor fix in DCHECK evaluation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -6 lines) Patch
M net/nqe/network_quality_estimator.h View 1 2 3 4 5 6 4 chunks +33 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 4 5 6 7 5 chunks +49 lines, -3 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 4 5 6 4 chunks +30 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
tbansal1
bengr: ptal. Thanks.
4 years, 6 months ago (2016-06-01 18:13:14 UTC) #5
bengr
https://codereview.chromium.org/2032443003/diff/20001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2032443003/diff/20001/net/nqe/network_quality_estimator.cc#newcode270 net/nqe/network_quality_estimator.cc:270: algorithm_(GetValueForVariationParamWithDefaultValue(variation_params, You should add a comment somewhere that you ...
4 years, 6 months ago (2016-06-02 22:59:44 UTC) #6
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2032443003/diff/20001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2032443003/diff/20001/net/nqe/network_quality_estimator.cc#newcode270 net/nqe/network_quality_estimator.cc:270: algorithm_(GetValueForVariationParamWithDefaultValue(variation_params, On 2016/06/02 22:59:43, bengr wrote: ...
4 years, 6 months ago (2016-06-03 00:50:10 UTC) #11
bengr
https://codereview.chromium.org/2032443003/diff/120001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2032443003/diff/120001/net/nqe/network_quality_estimator.cc#newcode38 net/nqe/network_quality_estimator.cc:38: // The algorithm that uses HTTP RTT and downstream ...
4 years, 6 months ago (2016-06-06 20:14:56 UTC) #12
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2032443003/diff/120001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2032443003/diff/120001/net/nqe/network_quality_estimator.cc#newcode38 net/nqe/network_quality_estimator.cc:38: // The algorithm that uses HTTP ...
4 years, 6 months ago (2016-06-08 01:30:53 UTC) #16
tbansal1
ping.
4 years, 6 months ago (2016-06-08 20:14:51 UTC) #18
bengr
https://codereview.chromium.org/2032443003/diff/260001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2032443003/diff/260001/net/nqe/network_quality_estimator.cc#newcode238 net/nqe/network_quality_estimator.cc:238: DCHECK(stringToAlgorithm_.end() == stringToAlgorithm_.find(std::string())); Construction of the map should go ...
4 years, 6 months ago (2016-06-08 23:33:11 UTC) #19
bengr
lgtm modulo the naming suggestions.
4 years, 6 months ago (2016-06-08 23:42:47 UTC) #20
tbansal1
https://codereview.chromium.org/2032443003/diff/260001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2032443003/diff/260001/net/nqe/network_quality_estimator.cc#newcode238 net/nqe/network_quality_estimator.cc:238: DCHECK(stringToAlgorithm_.end() == stringToAlgorithm_.find(std::string())); On 2016/06/08 23:33:11, bengr wrote: > ...
4 years, 6 months ago (2016-06-08 23:48:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032443003/320001
4 years, 6 months ago (2016-06-09 00:18:45 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:320001)
4 years, 6 months ago (2016-06-09 01:11:09 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 01:12:48 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/a1d1c6a86c81451dabc92c3450348b329ff1290a
Cr-Commit-Position: refs/heads/master@{#398753}

Powered by Google App Engine
This is Rietveld 408576698