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

Issue 2261813002: Add a network quality cache observer (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

Add a network quality cache observer The observer is notified every time there is a change in the cached network quality. In the later CLs, one such observer would be created per-profile. On receiving the notification, it would write the network id and the cached network quality (both are included in the notification) to the prefs. BUG=490870 Committed: https://crrev.com/24d7cace893a94082f913ddf0a1dbc6f725dda31 Cr-Commit-Position: refs/heads/master@{#414815}

Patch Set 1 : PS #

Total comments: 2

Patch Set 2 : Addressed Ryan's comments #

Total comments: 9

Patch Set 3 : Addressed bengr comments #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -4 lines) Patch
M net/nqe/network_quality_estimator.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M net/nqe/network_quality_estimator.cc View 5 chunks +10 lines, -3 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 chunks +94 lines, -0 lines 0 comments Download
M net/nqe/network_quality_store.h View 1 2 4 chunks +33 lines, -0 lines 0 comments Download
M net/nqe/network_quality_store.cc View 1 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
tbansal1
ryansturm: ptal. Thanks.
4 years, 4 months ago (2016-08-19 21:44:26 UTC) #5
RyanSturm
lgtm % nit https://codereview.chromium.org/2261813002/diff/20001/net/nqe/network_quality_store.h File net/nqe/network_quality_store.h (right): https://codereview.chromium.org/2261813002/diff/20001/net/nqe/network_quality_store.h#newcode85 net/nqe/network_quality_store.h:85: network_qualities_persistent_caching_observer_list_; nit: Can this match the ...
4 years, 4 months ago (2016-08-19 22:41:02 UTC) #7
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2261813002/diff/20001/net/nqe/network_quality_store.h File net/nqe/network_quality_store.h (right): https://codereview.chromium.org/2261813002/diff/20001/net/nqe/network_quality_store.h#newcode85 net/nqe/network_quality_store.h:85: network_qualities_persistent_caching_observer_list_; On 2016/08/19 22:41:02, RyanSturm wrote: ...
4 years, 4 months ago (2016-08-20 00:50:58 UTC) #9
bengr
https://codereview.chromium.org/2261813002/diff/40001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2261813002/diff/40001/net/nqe/network_quality_estimator.h#newcode289 net/nqe/network_quality_estimator.h:289: // Returns |network_quality_store_|. Used only for testing. Technically, this ...
4 years, 3 months ago (2016-08-25 18:42:59 UTC) #11
tbansal1
bengr: ptal. thanks. https://codereview.chromium.org/2261813002/diff/40001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2261813002/diff/40001/net/nqe/network_quality_estimator.h#newcode289 net/nqe/network_quality_estimator.h:289: // Returns |network_quality_store_|. Used only for ...
4 years, 3 months ago (2016-08-25 20:31:07 UTC) #12
bengr
lgtm https://codereview.chromium.org/2261813002/diff/40001/net/nqe/network_quality_estimator_unittest.cc File net/nqe/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/2261813002/diff/40001/net/nqe/network_quality_estimator_unittest.cc#newcode2271 net/nqe/network_quality_estimator_unittest.cc:2271: estimator.NetworkQualityStoreForTesting()->AddNetworkQualitiesCacheObserver( On 2016/08/25 20:31:07, tbansal1 wrote: > On ...
4 years, 3 months ago (2016-08-26 17:17:22 UTC) #13
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/2261813002/100001
4 years, 3 months ago (2016-08-26 20:25:16 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 3 months ago (2016-08-26 21:37:06 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 21:41:06 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/24d7cace893a94082f913ddf0a1dbc6f725dda31
Cr-Commit-Position: refs/heads/master@{#414815}

Powered by Google App Engine
This is Rietveld 408576698