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

Issue 2266663002: NQE: Change GetEffectiveConnectionType to return last ECT (Closed)

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

NQE: Change GetEffectiveConnectionType to return last ECT This change decouples the GetECT() API exposed by NQE, and the logic that dictates when NQE recomputes the ECT. It also makes GetECT() API light-weight so it can be called more frequently by consumers (e.g., once per request) without worrying about the computation overhead. BUG=639869 Committed: https://crrev.com/dc48857294abdcc3222dad7464c2f50b36b9b4ca Cr-Commit-Position: refs/heads/master@{#417133}

Patch Set 1 : PS #

Total comments: 2

Patch Set 2 : Addressed Ryan's comments #

Total comments: 10

Patch Set 3 : Rebased #

Patch Set 4 : Addressed bengr comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -39 lines) Patch
M net/nqe/network_quality_estimator.h View 1 2 3 3 chunks +9 lines, -3 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 8 chunks +32 lines, -22 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 16 chunks +40 lines, -14 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
tbansal1
ryansturm: ptal. thanks!
4 years, 4 months ago (2016-08-22 16:36:43 UTC) #11
RyanSturm
This is putting more trust in effective_connection_type_recomputation_interval_ than there previously was. I'm worried 15 seconds ...
4 years, 4 months ago (2016-08-22 18:01:52 UTC) #12
tbansal1
On 2016/08/22 18:01:52, RyanSturm wrote: > This is putting more trust in effective_connection_type_recomputation_interval_ > than ...
4 years, 4 months ago (2016-08-22 18:17:23 UTC) #13
tbansal1
bengr: ptal. thanks. https://codereview.chromium.org/2266663002/diff/60001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2266663002/diff/60001/net/nqe/network_quality_estimator.h#newcode291 net/nqe/network_quality_estimator.h:291: // Forces recomputtion of effective connection ...
4 years, 4 months ago (2016-08-22 18:17:41 UTC) #15
bengr
https://codereview.chromium.org/2266663002/diff/80001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2266663002/diff/80001/net/nqe/network_quality_estimator.cc#newcode1649 net/nqe/network_quality_estimator.cc:1649: // available now are 50% more in count than ...
4 years, 3 months ago (2016-08-25 22:51:24 UTC) #16
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2266663002/diff/80001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2266663002/diff/80001/net/nqe/network_quality_estimator.cc#newcode1649 net/nqe/network_quality_estimator.cc:1649: // available now are 50% more ...
4 years, 3 months ago (2016-09-07 18:33:26 UTC) #17
bengr
lgtm
4 years, 3 months ago (2016-09-08 00:30:47 UTC) #22
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/2266663002/120001
4 years, 3 months ago (2016-09-08 00:37:15 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 3 months ago (2016-09-08 00:41:20 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 00:43:13 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/dc48857294abdcc3222dad7464c2f50b36b9b4ca
Cr-Commit-Position: refs/heads/master@{#417133}

Powered by Google App Engine
This is Rietveld 408576698