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

Issue 1316863006: Populate EEP estimate in NQE (Closed)

Created:
5 years, 3 months ago by tbansal1
Modified:
5 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Randy Smith (Not in Mondays), asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Populate EEP estimate in NQE Call EEP on every network change, and populate the estimates into the NQE observation buffer. BUG=472685 Committed: https://crrev.com/9ee5d296239e3bc21b5c70259242ce6c4cefc96b Cr-Commit-Position: refs/heads/master@{#349032}

Patch Set 1 : Minor fix #

Total comments: 14

Patch Set 2 : Addressed bengr comments #

Total comments: 8

Patch Set 3 : Rebased, with changes to DRP code #

Patch Set 4 : Addressed bengr comments #

Total comments: 3

Patch Set 5 : Addressed asvitkine comments #

Total comments: 13

Patch Set 6 : Tests and mmenke comments #

Total comments: 20

Patch Set 7 : Rebased, modified to call EEP only on network changes #

Patch Set 8 : Changed method names #

Total comments: 22

Patch Set 9 : Fixed tests, addressed comments #

Total comments: 2

Patch Set 10 : Removed network delegate #

Patch Set 11 : Using spawned test server #

Patch Set 12 : comment out local http server on ios to prevent compilation errors #

Patch Set 13 : More commenting out on ioS #

Patch Set 14 : Use EXPECT_TRUE instead of DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+508 lines, -88 lines) Patch
M chrome/browser/android/net/external_estimate_provider_android.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -16 lines 0 comments Download
M chrome/browser/android/net/external_estimate_provider_android.cc View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/android/net/external_estimate_provider_android_unittest.cc View 4 chunks +38 lines, -1 line 0 comments Download
M net/base/external_estimate_provider.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/network_quality_estimator.h View 1 2 3 4 5 6 5 chunks +32 lines, -3 lines 0 comments Download
M net/base/network_quality_estimator.cc View 1 2 3 4 5 6 6 chunks +66 lines, -5 lines 0 comments Download
M net/base/network_quality_estimator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 13 chunks +326 lines, -46 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (16 generated)
tbansal1
bengr: PTAL. I will submit this after https://codereview.chromium.org/1273173002/ has landed.
5 years, 3 months ago (2015-09-02 01:02:45 UTC) #3
bengr
https://codereview.chromium.org/1316863006/diff/20001/net/base/external_estimate_provider.h File net/base/external_estimate_provider.h (right): https://codereview.chromium.org/1316863006/diff/20001/net/base/external_estimate_provider.h#newcode62 net/base/external_estimate_provider.h:62: // Places a request to the external estimate provider ...
5 years, 3 months ago (2015-09-02 20:27:56 UTC) #4
tbansal1
bengr: PTAL. Thanks. https://codereview.chromium.org/1316863006/diff/20001/net/base/external_estimate_provider.h File net/base/external_estimate_provider.h (right): https://codereview.chromium.org/1316863006/diff/20001/net/base/external_estimate_provider.h#newcode62 net/base/external_estimate_provider.h:62: // Places a request to the ...
5 years, 3 months ago (2015-09-03 00:22:40 UTC) #5
bengr
lgtm with nits https://codereview.chromium.org/1316863006/diff/100001/chrome/browser/android/net/external_estimate_provider_android.h File chrome/browser/android/net/external_estimate_provider_android.h (right): https://codereview.chromium.org/1316863006/diff/100001/chrome/browser/android/net/external_estimate_provider_android.h#newcode56 chrome/browser/android/net/external_estimate_provider_android.h:56: // net::ExternalEstimateProvider implementation: I'm ok with ...
5 years, 3 months ago (2015-09-08 18:14:24 UTC) #9
tbansal1
mmenke: PTAL at net/base/external_estimate_provider.h asvitkine: PTAL at histograms.xml. Thanks. https://codereview.chromium.org/1316863006/diff/100001/chrome/browser/android/net/external_estimate_provider_android.h File chrome/browser/android/net/external_estimate_provider_android.h (right): https://codereview.chromium.org/1316863006/diff/100001/chrome/browser/android/net/external_estimate_provider_android.h#newcode56 chrome/browser/android/net/external_estimate_provider_android.h:56: ...
5 years, 3 months ago (2015-09-08 21:25:56 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/1316863006/diff/130001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1316863006/diff/130001/net/base/network_quality_estimator.cc#newcode197 net/base/network_quality_estimator.cc:197: UMA_HISTOGRAM_ENUMERATION("NQE.ExternalEstimateProviderStatus", Please make a helper function that logs this ...
5 years, 3 months ago (2015-09-08 21:33:11 UTC) #12
tbansal1
Alexei, Matt: PTAL. Thanks. https://codereview.chromium.org/1316863006/diff/130001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1316863006/diff/130001/net/base/network_quality_estimator.cc#newcode197 net/base/network_quality_estimator.cc:197: UMA_HISTOGRAM_ENUMERATION("NQE.ExternalEstimateProviderStatus", On 2015/09/08 21:33:10, Alexei ...
5 years, 3 months ago (2015-09-08 22:29:30 UTC) #13
Alexei Svitkine (slow)
lgtm
5 years, 3 months ago (2015-09-09 15:03:30 UTC) #14
mmenke
On 2015/09/09 15:03:30, Alexei Svitkine wrote: > lgtm Sorry for slowness - I'll get back ...
5 years, 3 months ago (2015-09-11 14:07:51 UTC) #15
mmenke
Should have tests for this, with a mock external estimator (And probably a mock clock ...
5 years, 3 months ago (2015-09-11 14:26:29 UTC) #16
mmenke
https://codereview.chromium.org/1316863006/diff/10007/chrome/browser/android/net/external_estimate_provider_android.h File chrome/browser/android/net/external_estimate_provider_android.h (right): https://codereview.chromium.org/1316863006/diff/10007/chrome/browser/android/net/external_estimate_provider_android.h#newcode48 chrome/browser/android/net/external_estimate_provider_android.h:48: void RequestUpdate() const override; I don't see implementations of ...
5 years, 3 months ago (2015-09-11 14:28:08 UTC) #17
mmenke
https://codereview.chromium.org/1316863006/diff/10007/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1316863006/diff/10007/net/base/network_quality_estimator.cc#newcode569 net/base/network_quality_estimator.cc:569: MaybeQueryExternalEstimateProvider(); Wait..So the frequency one calls this method can ...
5 years, 3 months ago (2015-09-11 15:07:22 UTC) #18
mmenke
Sorry for the confusion. https://codereview.chromium.org/1316863006/diff/10007/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1316863006/diff/10007/net/base/network_quality_estimator.cc#newcode569 net/base/network_quality_estimator.cc:569: MaybeQueryExternalEstimateProvider(); On 2015/09/11 15:07:22, mmenke ...
5 years, 3 months ago (2015-09-11 15:17:52 UTC) #19
tbansal1
mmenke: PTAL. Thanks. https://codereview.chromium.org/1316863006/diff/10007/chrome/browser/android/net/external_estimate_provider_android.h File chrome/browser/android/net/external_estimate_provider_android.h (right): https://codereview.chromium.org/1316863006/diff/10007/chrome/browser/android/net/external_estimate_provider_android.h#newcode48 chrome/browser/android/net/external_estimate_provider_android.h:48: void RequestUpdate() const override; On 2015/09/11 ...
5 years, 3 months ago (2015-09-11 21:24:31 UTC) #20
mmenke
https://codereview.chromium.org/1316863006/diff/180001/net/base/external_estimate_provider.h File net/base/external_estimate_provider.h (right): https://codereview.chromium.org/1316863006/diff/180001/net/base/external_estimate_provider.h#newcode64 net/base/external_estimate_provider.h:64: virtual void RequestUpdate() const = 0; Why not just ...
5 years, 3 months ago (2015-09-14 20:07:06 UTC) #22
tbansal1
PTAL. thanks. https://codereview.chromium.org/1316863006/diff/180001/net/base/external_estimate_provider.h File net/base/external_estimate_provider.h (right): https://codereview.chromium.org/1316863006/diff/180001/net/base/external_estimate_provider.h#newcode64 net/base/external_estimate_provider.h:64: virtual void RequestUpdate() const = 0; On ...
5 years, 3 months ago (2015-09-14 23:46:57 UTC) #24
mmenke
Quick response, will do another (Final?) pass later today. https://codereview.chromium.org/1316863006/diff/180001/net/base/network_quality_estimator_unittest.cc File net/base/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/1316863006/diff/180001/net/base/network_quality_estimator_unittest.cc#newcode722 net/base/network_quality_estimator_unittest.cc:722: ...
5 years, 3 months ago (2015-09-15 15:19:53 UTC) #25
tbansal1
Changed the method names. Thanks. https://codereview.chromium.org/1316863006/diff/180001/net/base/network_quality_estimator_unittest.cc File net/base/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/1316863006/diff/180001/net/base/network_quality_estimator_unittest.cc#newcode722 net/base/network_quality_estimator_unittest.cc:722: mutable size_t rtt_calls_count_; On ...
5 years, 3 months ago (2015-09-15 16:48:30 UTC) #26
mmenke
https://codereview.chromium.org/1316863006/diff/240001/chrome/browser/android/net/external_estimate_provider_android.cc File chrome/browser/android/net/external_estimate_provider_android.cc (right): https://codereview.chromium.org/1316863006/diff/240001/chrome/browser/android/net/external_estimate_provider_android.cc#newcode97 chrome/browser/android/net/external_estimate_provider_android.cc:97: void ExternalEstimateProviderAndroid::RequestUpdate() const { Update() https://codereview.chromium.org/1316863006/diff/240001/chrome/browser/android/net/external_estimate_provider_android.h File chrome/browser/android/net/external_estimate_provider_android.h (right): ...
5 years, 3 months ago (2015-09-15 20:09:09 UTC) #27
tbansal1
Made changes to the NQE tests to make them more consistent and realistic. PTAL. https://codereview.chromium.org/1316863006/diff/240001/chrome/browser/android/net/external_estimate_provider_android.cc ...
5 years, 3 months ago (2015-09-15 22:33:08 UTC) #29
mmenke
LGTM! https://codereview.chromium.org/1316863006/diff/280001/net/base/network_quality_estimator_unittest.cc File net/base/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/1316863006/diff/280001/net/base/network_quality_estimator_unittest.cc#newcode930 net/base/network_quality_estimator_unittest.cc:930: TestNetworkDelegate network_delegate; // Must outlive URLRequest. I don't ...
5 years, 3 months ago (2015-09-15 22:36:53 UTC) #30
tbansal1
https://codereview.chromium.org/1316863006/diff/280001/net/base/network_quality_estimator_unittest.cc File net/base/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/1316863006/diff/280001/net/base/network_quality_estimator_unittest.cc#newcode930 net/base/network_quality_estimator_unittest.cc:930: TestNetworkDelegate network_delegate; // Must outlive URLRequest. On 2015/09/15 22:36:53, ...
5 years, 3 months ago (2015-09-15 22:44:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316863006/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316863006/300001
5 years, 3 months ago (2015-09-15 22:45:21 UTC) #34
mmenke
On 2015/09/15 22:44:47, tbansal1 wrote: > https://codereview.chromium.org/1316863006/diff/280001/net/base/network_quality_estimator_unittest.cc > File net/base/network_quality_estimator_unittest.cc (right): > > https://codereview.chromium.org/1316863006/diff/280001/net/base/network_quality_estimator_unittest.cc#newcode930 > ...
5 years, 3 months ago (2015-09-15 22:46:45 UTC) #35
tbansal1
On 2015/09/15 22:46:45, mmenke wrote: > On 2015/09/15 22:44:47, tbansal1 wrote: > > > https://codereview.chromium.org/1316863006/diff/280001/net/base/network_quality_estimator_unittest.cc ...
5 years, 3 months ago (2015-09-15 23:03:19 UTC) #36
mmenke
On 2015/09/15 23:03:19, tbansal1 wrote: > On 2015/09/15 22:46:45, mmenke wrote: > > On 2015/09/15 ...
5 years, 3 months ago (2015-09-15 23:05:25 UTC) #37
commit-bot: I haz the power
Committed patchset #10 (id:300001)
5 years, 3 months ago (2015-09-16 00:07:54 UTC) #38
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/9ee5d296239e3bc21b5c70259242ce6c4cefc96b Cr-Commit-Position: refs/heads/master@{#349032}
5 years, 3 months ago (2015-09-16 00:08:30 UTC) #39
Lei Zhang
This is failing on multiple bots: http://build.chromium.org/p/chromium.linux/builders/Cast%20Linux/builds/7704 http://build.chromium.org/p/chromium.mac/builders/Mac10.6%20Tests/builds/6783 http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/31023 http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Tests%20%281%29/builds/6028 but I can't just hit ...
5 years, 3 months ago (2015-09-16 01:49:09 UTC) #40
Lei Zhang
Revert in https://codereview.chromium.org/1348523003/
5 years, 3 months ago (2015-09-16 01:51:44 UTC) #42
Lei Zhang
Some more failed bots: http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%281%29/builds/5800 http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%281%29/builds/42262 How did this pass CQ?
5 years, 3 months ago (2015-09-16 01:56:30 UTC) #43
tbansal1
On 2015/09/16 01:56:30, Lei Zhang wrote: > Some more failed bots: > http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%281%29/builds/5800 > http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%281%29/builds/42262 ...
5 years, 3 months ago (2015-09-16 16:00:27 UTC) #44
mmenke
On 2015/09/16 16:00:27, tbansal1 wrote: > On 2015/09/16 01:56:30, Lei Zhang wrote: > > Some ...
5 years, 3 months ago (2015-09-16 16:21:59 UTC) #45
tbansal1
On 2015/09/16 16:21:59, mmenke wrote: > On 2015/09/16 16:00:27, tbansal1 wrote: > > On 2015/09/16 ...
5 years, 3 months ago (2015-09-16 16:45:31 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316863006/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316863006/360001
5 years, 3 months ago (2015-09-16 19:53:38 UTC) #49
commit-bot: I haz the power
Committed patchset #13 (id:360001)
5 years, 3 months ago (2015-09-16 21:26:10 UTC) #50
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/b112feef767d087d6c40deb88c983d61c085d457 Cr-Commit-Position: refs/heads/master@{#349232}
5 years, 3 months ago (2015-09-16 21:27:03 UTC) #51
Justin Donnelly
On 2015/09/16 21:27:03, commit-bot: I haz the power wrote: > Patchset 13 (id:??) landed as ...
5 years, 3 months ago (2015-09-16 22:06:24 UTC) #52
Justin Donnelly
On 2015/09/16 22:06:24, Justin Donnelly wrote: > On 2015/09/16 21:27:03, commit-bot: I haz the power ...
5 years, 3 months ago (2015-09-16 22:06:58 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316863006/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316863006/380001
5 years, 3 months ago (2015-09-17 03:44:29 UTC) #56
commit-bot: I haz the power
Committed patchset #14 (id:380001)
5 years, 3 months ago (2015-09-17 03:49:08 UTC) #57
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/2c6b0d3834a5d0e6e14848d387b9951acf4cb267 Cr-Commit-Position: refs/heads/master@{#349350}
5 years, 3 months ago (2015-09-17 03:49:46 UTC) #58
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:51:11 UTC) #59
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/9ee5d296239e3bc21b5c70259242ce6c4cefc96b
Cr-Commit-Position: refs/heads/master@{#349032}

Powered by Google App Engine
This is Rietveld 408576698