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

Issue 2322183002: Add Network Quality Estimator (NQE) pref manager (Closed)

Created:
4 years, 3 months ago by tbansal1
Modified:
4 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Network Quality Estimator (NQE) pref manager The PrefManager class owns an IO Object (CacheObserver) and a Pref object (PrefDelegate). The embedder would need to implement PrefDelegate and create an instance of PrefManager for prefs to work. Right now, only writes to the prefs is implemented. Reads would come in the next CL, along with the Chromium implementation. BUG=490870 Committed: https://crrev.com/ec22cb6b67efd63c4b682b8964d690d401808b77 Cr-Commit-Position: refs/heads/master@{#420786}

Patch Set 1 : PS #

Total comments: 15

Patch Set 2 : rebased, addressed kundaji and ryansturm comments #

Total comments: 6

Patch Set 3 : Addressed kundaji comments #

Total comments: 2

Patch Set 4 : Rebased, Addressed kundaji comments #

Total comments: 28

Patch Set 5 : rebased #

Patch Set 6 : PS #

Patch Set 7 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -14 lines) Patch
M net/net.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M net/nqe/network_id.h View 2 chunks +9 lines, -0 lines 0 comments Download
A net/nqe/network_qualities_prefs_manager.h View 1 2 3 4 5 1 chunk +104 lines, -0 lines 0 comments Download
A net/nqe/network_qualities_prefs_manager.cc View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download
A net/nqe/network_qualities_prefs_manager_unittest.cc View 1 chunk +75 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.h View 1 2 3 4 2 chunks +8 lines, -3 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 2 chunks +14 lines, -6 lines 0 comments Download
M net/nqe/network_quality_estimator_test_util.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 46 (27 generated)
tbansal1
kundaji: ptal. Thanks.
4 years, 3 months ago (2016-09-09 18:15:52 UTC) #10
tbansal1
kundaji, ryanstrum: PTAL. Thanks.
4 years, 3 months ago (2016-09-09 18:31:03 UTC) #12
Not at Google. Contact bengr
https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.cc File net/nqe/network_qualities_prefs_manager.cc (right): https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.cc#newcode90 net/nqe/network_qualities_prefs_manager.cc:90: network_weak_ptr_factory_.reset( |network_weak_ptr_factory_| unused? https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.h File net/nqe/network_qualities_prefs_manager.h (right): https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.h#newcode44 net/nqe/network_qualities_prefs_manager.h:44: ...
4 years, 3 months ago (2016-09-09 20:30:40 UTC) #13
RyanSturm
https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.cc File net/nqe/network_qualities_prefs_manager.cc (right): https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.cc#newcode19 net/nqe/network_qualities_prefs_manager.cc:19: class NetworkQualitiesPrefsManager::CacheObserver Is it cleaner to have NetworkQualitiesPrefsManager inherit ...
4 years, 3 months ago (2016-09-12 20:26:55 UTC) #14
tbansal1
kundaji, ryansturm: ptal. thanks. https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.cc File net/nqe/network_qualities_prefs_manager.cc (right): https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.cc#newcode19 net/nqe/network_qualities_prefs_manager.cc:19: class NetworkQualitiesPrefsManager::CacheObserver On 2016/09/12 20:26:55, ...
4 years, 3 months ago (2016-09-15 21:00:59 UTC) #15
Not at Google. Contact bengr
lgtm https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h File net/nqe/network_qualities_prefs_manager.h (right): https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h#newcode35 net/nqe/network_qualities_prefs_manager.h:35: // Using the provided PrefDelegate, NetworkQualitiesPrefsManager creates and ...
4 years, 3 months ago (2016-09-15 21:13:16 UTC) #16
tbansal1
ptal. thanks. https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h File net/nqe/network_qualities_prefs_manager.h (right): https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h#newcode35 net/nqe/network_qualities_prefs_manager.h:35: // Using the provided PrefDelegate, NetworkQualitiesPrefsManager creates ...
4 years, 3 months ago (2016-09-15 21:32:30 UTC) #17
Not at Google. Contact bengr
https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h File net/nqe/network_qualities_prefs_manager.h (right): https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h#newcode35 net/nqe/network_qualities_prefs_manager.h:35: // Using the provided PrefDelegate, NetworkQualitiesPrefsManager creates and On ...
4 years, 3 months ago (2016-09-15 22:46:57 UTC) #18
RyanSturm
lgtm https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.h File net/nqe/network_qualities_prefs_manager.h (right): https://codereview.chromium.org/2322183002/diff/20001/net/nqe/network_qualities_prefs_manager.h#newcode22 net/nqe/network_qualities_prefs_manager.h:22: namespace nqe { On 2016/09/15 21:00:59, tbansal1 wrote: ...
4 years, 3 months ago (2016-09-16 16:23:41 UTC) #19
Not at Google. Contact bengr
https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h File net/nqe/network_qualities_prefs_manager.h (right): https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h#newcode35 net/nqe/network_qualities_prefs_manager.h:35: // Using the provided PrefDelegate, NetworkQualitiesPrefsManager creates and On ...
4 years, 3 months ago (2016-09-16 17:01:28 UTC) #20
tbansal1
bengr: ptal. thanks. https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h File net/nqe/network_qualities_prefs_manager.h (right): https://codereview.chromium.org/2322183002/diff/40001/net/nqe/network_qualities_prefs_manager.h#newcode35 net/nqe/network_qualities_prefs_manager.h:35: // Using the provided PrefDelegate, NetworkQualitiesPrefsManager ...
4 years, 3 months ago (2016-09-16 18:05:26 UTC) #22
tbansal1
rebased. bengr: ptal. thanks. https://codereview.chromium.org/2322183002/diff/60001/net/nqe/network_qualities_prefs_manager.cc File net/nqe/network_qualities_prefs_manager.cc (right): https://codereview.chromium.org/2322183002/diff/60001/net/nqe/network_qualities_prefs_manager.cc#newcode20 net/nqe/network_qualities_prefs_manager.cc:20: pref_task_runner_(base::ThreadTaskRunnerHandle::Get()), On 2016/09/15 22:46:57, kundaji ...
4 years, 3 months ago (2016-09-17 00:26:37 UTC) #28
bengr
https://codereview.chromium.org/2322183002/diff/120001/net/nqe/network_id.h File net/nqe/network_id.h (right): https://codereview.chromium.org/2322183002/diff/120001/net/nqe/network_id.h#newcode46 net/nqe/network_id.h:46: return id + kValueSeparator + It seems like overill ...
4 years, 3 months ago (2016-09-22 23:35:47 UTC) #32
tbansal1
bengr: ptal. thanks. https://codereview.chromium.org/2322183002/diff/120001/net/nqe/network_id.h File net/nqe/network_id.h (right): https://codereview.chromium.org/2322183002/diff/120001/net/nqe/network_id.h#newcode46 net/nqe/network_id.h:46: return id + kValueSeparator + On ...
4 years, 3 months ago (2016-09-23 17:10:33 UTC) #33
bengr
lgtm https://codereview.chromium.org/2322183002/diff/120001/net/nqe/network_id.h File net/nqe/network_id.h (right): https://codereview.chromium.org/2322183002/diff/120001/net/nqe/network_id.h#newcode46 net/nqe/network_id.h:46: return id + kValueSeparator + On 2016/09/23 17:10:32, ...
4 years, 3 months ago (2016-09-23 20:31:07 UTC) #34
tbansal1
https://codereview.chromium.org/2322183002/diff/120001/net/nqe/network_id.h File net/nqe/network_id.h (right): https://codereview.chromium.org/2322183002/diff/120001/net/nqe/network_id.h#newcode46 net/nqe/network_id.h:46: return id + kValueSeparator + On 2016/09/23 20:31:06, bengr ...
4 years, 3 months ago (2016-09-23 20:50:14 UTC) #36
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/2322183002/180001
4 years, 3 months ago (2016-09-23 22:56:04 UTC) #42
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 3 months ago (2016-09-23 23:35:16 UTC) #44
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 23:38:32 UTC) #46
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ec22cb6b67efd63c4b682b8964d690d401808b77
Cr-Commit-Position: refs/heads/master@{#420786}

Powered by Google App Engine
This is Rietveld 408576698