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

Issue 2406763003: Add Network Quality observer to NQE (Closed)

Created:
4 years, 2 months ago by tbansal1
Modified:
4 years, 2 months ago
Reviewers:
bengr, RyanSturm
CC:
chromium-reviews, cbentzel+watch_chromium.org, tbansal+watch-nqe_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Network Quality observer to NQE. Network quality (HTTP RTT, transport RTT, downstream throughput) is computed every time effective connection type is computed. The observer is notified of a change in the network quality only if the effective connection type also changed since the last notification. BUG=654498 Committed: https://crrev.com/dfcbdf56a8e6a7d21d71ffead1c27cfa64a0da3a Cr-Commit-Position: refs/heads/master@{#425230}

Patch Set 1 : ps #

Total comments: 14

Patch Set 2 : Ryan's comments, Also send notifications more often #

Total comments: 2

Patch Set 3 : typo fix #

Total comments: 6

Patch Set 4 : Addressed bengr comments #

Patch Set 5 : Fix presubmit errors (FOR_EACH_OBSERVER is deprecated) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -51 lines) Patch
M net/nqe/network_quality_estimator.h View 1 2 3 4 7 chunks +76 lines, -3 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 4 16 chunks +100 lines, -48 lines 0 comments Download
M net/nqe/network_quality_estimator_test_util.h View 1 1 chunk +12 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator_test_util.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 2 chunks +104 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (33 generated)
tbansal1
ryansturm: ptal. Thanks.
4 years, 2 months ago (2016-10-10 22:02:26 UTC) #10
RyanSturm
https://codereview.chromium.org/2406763003/diff/60001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2406763003/diff/60001/net/nqe/network_quality_estimator.cc#newcode1225 net/nqe/network_quality_estimator.cc:1225: if (past_type != effective_connection_type_) What about comparing old RTT ...
4 years, 2 months ago (2016-10-11 01:46:27 UTC) #13
tbansal1
ryansturm: ptal. Thanks. https://codereview.chromium.org/2406763003/diff/60001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2406763003/diff/60001/net/nqe/network_quality_estimator.cc#newcode1225 net/nqe/network_quality_estimator.cc:1225: if (past_type != effective_connection_type_) On 2016/10/11 ...
4 years, 2 months ago (2016-10-11 17:46:12 UTC) #20
RyanSturm
lgtm % nit. https://codereview.chromium.org/2406763003/diff/120001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2406763003/diff/120001/net/nqe/network_quality_estimator.h#newcode91 net/nqe/network_quality_estimator.h:91: // estimated downstream throughput) is computed. ...
4 years, 2 months ago (2016-10-11 18:02:59 UTC) #21
tbansal1
bengr: ptal. thanks. https://codereview.chromium.org/2406763003/diff/120001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2406763003/diff/120001/net/nqe/network_quality_estimator.h#newcode91 net/nqe/network_quality_estimator.h:91: // estimated downstream throughput) is computed. ...
4 years, 2 months ago (2016-10-11 18:23:31 UTC) #24
bengr
lgtm with nits https://codereview.chromium.org/2406763003/diff/140001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2406763003/diff/140001/net/nqe/network_quality_estimator.h#newcode506 net/nqe/network_quality_estimator.h:506: // Notify the observers of RTT ...
4 years, 2 months ago (2016-10-13 23:30:32 UTC) #28
tbansal1
https://codereview.chromium.org/2406763003/diff/140001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2406763003/diff/140001/net/nqe/network_quality_estimator.h#newcode506 net/nqe/network_quality_estimator.h:506: // Notify the observers of RTT or throughput estimates ...
4 years, 2 months ago (2016-10-13 23:42:15 UTC) #31
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/2406763003/160001
4 years, 2 months ago (2016-10-13 23:42:47 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/280882)
4 years, 2 months ago (2016-10-13 23:53:29 UTC) #34
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/2406763003/180001
4 years, 2 months ago (2016-10-14 01:28:00 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:180001)
4 years, 2 months ago (2016-10-14 01:33:05 UTC) #43
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 01:35:29 UTC) #45
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dfcbdf56a8e6a7d21d71ffead1c27cfa64a0da3a
Cr-Commit-Position: refs/heads/master@{#425230}

Powered by Google App Engine
This is Rietveld 408576698