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

Issue 2007713002: Expose NQE::OnEffectiveConnectionTypeChanged API (Closed)

Created:
4 years, 7 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

Expose NQE::OnEffectiveConnectionTypeChanged API NQE maintains a list of thread-unsafe observers. It also computes the effective connection type at regular intervals, provided the device is actively receiving traffic from the Internet. If there is a change in the effective connection type, all the observers are notified. BUG=613755 Committed: https://crrev.com/7c6ca1c7bccc7e61bc98adc9eda8a4ebd58b6423 Cr-Commit-Position: refs/heads/master@{#396976}

Patch Set 1 #

Total comments: 21

Patch Set 2 : Rebased #

Patch Set 3 : Addressed bengr comments #

Total comments: 12

Patch Set 4 : Rebased #

Patch Set 5 : Addressed bengr comments #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -20 lines) Patch
M net/nqe/network_quality_estimator.h View 1 2 3 4 5 8 chunks +67 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 4 5 14 chunks +72 lines, -8 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 4 5 7 chunks +94 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
tbansal1
bengr: PTAL. I still need to add hysteresis. If this looks good, I will file ...
4 years, 7 months ago (2016-05-23 20:38:14 UTC) #3
bengr
https://codereview.chromium.org/2007713002/diff/1/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2007713002/diff/1/net/nqe/network_quality_estimator.cc#newcode1100 net/nqe/network_quality_estimator.cc:1100: // May be recompute the effective connection type since ...
4 years, 6 months ago (2016-05-27 19:46:02 UTC) #4
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2007713002/diff/1/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2007713002/diff/1/net/nqe/network_quality_estimator.cc#newcode1100 net/nqe/network_quality_estimator.cc:1100: // May be recompute the effective ...
4 years, 6 months ago (2016-05-28 01:20:42 UTC) #6
bengr
lgtm with nits. https://codereview.chromium.org/2007713002/diff/1/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2007713002/diff/1/net/nqe/network_quality_estimator.cc#newcode1155 net/nqe/network_quality_estimator.cc:1155: effective_connection_type_ = GetEffectiveConnectionType(); On 2016/05/28 01:20:42, ...
4 years, 6 months ago (2016-05-31 17:39:25 UTC) #7
tbansal1
https://codereview.chromium.org/2007713002/diff/60001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2007713002/diff/60001/net/nqe/network_quality_estimator.h#newcode83 net/nqe/network_quality_estimator.h:83: // Notifies the observer of change in the effective ...
4 years, 6 months ago (2016-05-31 21:40:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2007713002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2007713002/120001
4 years, 6 months ago (2016-05-31 21:47:25 UTC) #11
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 6 months ago (2016-05-31 23:42:45 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-05-31 23:44:14 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7c6ca1c7bccc7e61bc98adc9eda8a4ebd58b6423
Cr-Commit-Position: refs/heads/master@{#396976}

Powered by Google App Engine
This is Rietveld 408576698