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

Issue 2487883002: NQE: Use cached estimates (Closed)

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

NQE: Use cached estimates Read cached estimates from the network quality estimator (NQE) prefs. The read estimates are notified to observers if the network ID of the cached estimates matches the ID of the current network. Both writing and readings of prefs is guarded behind field trial. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester BUG=490870 Committed: https://crrev.com/7aa44df449065ce83400f2fa115f55636409ad04 Cr-Commit-Position: refs/heads/master@{#439526}

Patch Set 1 : ps #

Total comments: 12

Patch Set 2 : Rebased, ryansturm comments #

Total comments: 9

Patch Set 3 : bengr comments #

Total comments: 2

Patch Set 4 : Rebase, handle comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -41 lines) Patch
M chrome/browser/net/nqe/ui_network_quality_estimator_service.cc View 2 chunks +16 lines, -6 lines 0 comments Download
M chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc View 5 chunks +34 lines, -22 lines 0 comments Download
M net/nqe/network_qualities_prefs_manager.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/nqe/network_qualities_prefs_manager.cc View 1 2 4 chunks +17 lines, -6 lines 0 comments Download
M net/nqe/network_qualities_prefs_manager_unittest.cc View 3 chunks +8 lines, -2 lines 0 comments Download
M net/nqe/network_quality_estimator.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 3 chunks +78 lines, -2 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 4 chunks +128 lines, -1 line 0 comments Download

Messages

Total messages: 62 (48 generated)
tbansal1
ryansturm: ptal.
4 years ago (2016-12-13 01:40:19 UTC) #24
RyanSturm
https://codereview.chromium.org/2487883002/diff/80001/chrome/browser/net/nqe/ui_network_quality_estimator_service.cc File chrome/browser/net/nqe/ui_network_quality_estimator_service.cc (right): https://codereview.chromium.org/2487883002/diff/80001/chrome/browser/net/nqe/ui_network_quality_estimator_service.cc#newcode44 chrome/browser/net/nqe/ui_network_quality_estimator_service.cc:44: bool persistent_cache_writing_enabled() { Is there really a need for ...
4 years ago (2016-12-13 21:08:35 UTC) #27
tbansal1
ryansturm: ptal. Thanks. https://codereview.chromium.org/2487883002/diff/80001/chrome/browser/net/nqe/ui_network_quality_estimator_service.cc File chrome/browser/net/nqe/ui_network_quality_estimator_service.cc (right): https://codereview.chromium.org/2487883002/diff/80001/chrome/browser/net/nqe/ui_network_quality_estimator_service.cc#newcode44 chrome/browser/net/nqe/ui_network_quality_estimator_service.cc:44: bool persistent_cache_writing_enabled() { On 2016/12/13 21:08:35, ...
4 years ago (2016-12-14 01:37:37 UTC) #28
RyanSturm
lgtm
4 years ago (2016-12-15 18:15:48 UTC) #36
tbansal1
bengr: ptal. thanks.
4 years ago (2016-12-15 18:16:43 UTC) #38
bengr
https://codereview.chromium.org/2487883002/diff/120001/chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc File chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc (right): https://codereview.chromium.org/2487883002/diff/120001/chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc#newcode65 chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc:65: if (persistent_cache_writing_enabled) Why do these not also check that ...
4 years ago (2016-12-15 23:51:26 UTC) #39
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2487883002/diff/120001/chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc File chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc (right): https://codereview.chromium.org/2487883002/diff/120001/chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc#newcode65 chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc:65: if (persistent_cache_writing_enabled) On 2016/12/15 23:51:26, bengr ...
4 years ago (2016-12-16 18:07:15 UTC) #41
bengr
lgtm https://codereview.chromium.org/2487883002/diff/120001/chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc File chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc (right): https://codereview.chromium.org/2487883002/diff/120001/chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc#newcode65 chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc:65: if (persistent_cache_writing_enabled) On 2016/12/16 18:07:15, tbansal1 wrote: > ...
4 years ago (2016-12-16 20:33:43 UTC) #43
tbansal1
https://codereview.chromium.org/2487883002/diff/140001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2487883002/diff/140001/net/nqe/network_quality_estimator.cc#newcode1642 net/nqe/network_quality_estimator.cc:1642: const nqe::internal::CachedNetworkQuality cached_network_quality) { On 2016/12/16 20:33:43, bengr wrote: ...
4 years ago (2016-12-17 02:10:49 UTC) #46
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/2487883002/160001
4 years ago (2016-12-19 16:30:52 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/88798)
4 years ago (2016-12-19 18:02:22 UTC) #55
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/2487883002/160001
4 years ago (2016-12-19 18:50:14 UTC) #57
commit-bot: I haz the power
Committed patchset #4 (id:160001)
4 years ago (2016-12-19 19:44:26 UTC) #60
commit-bot: I haz the power
4 years ago (2016-12-19 19:48:40 UTC) #62
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7aa44df449065ce83400f2fa115f55636409ad04
Cr-Commit-Position: refs/heads/master@{#439526}

Powered by Google App Engine
This is Rietveld 408576698