|
|
DescriptionNQE: Plumb RTT and throughput estimates to the UI thread
This CL makes the RTT and throughput estimates available on the UI
thread. It also makes it possible to add observers on UI thread that
can listen to changes in the RTT/throughput estimations.
BUG=700215
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester
TBR=bmcquade@chromium.org, petewil@chromium.org
Review-Url: https://codereview.chromium.org/2717153002
Cr-Commit-Position: refs/heads/master@{#456252}
Committed: https://chromium.googlesource.com/chromium/src/+/bddab11adb5f2abcf364ba53f8382df1d0b3098d
Patch Set 1 : ps #
Total comments: 2
Patch Set 2 : Rebased #Patch Set 3 : ryansturm comments #
Total comments: 11
Patch Set 4 : compilation errors #Patch Set 5 : Rebase, Fix more compilation errors #Messages
Total messages: 58 (48 generated)
Description was changed from ========== add rtt observer BUG= ========== to ========== add rtt observer BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ==========
Patchset #1 (id:1) has been deleted
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Patchset #1 (id:20001) has been deleted
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== add rtt observer BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ========== to ========== NQE: Plumb RTT and throughput estimates to the UI thread This CL makes the RTT and throughput estimates available on the UI thread. It also makes it possible to add observers on UI thread that can listen to changes in the RTT/throughput estimations. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Patchset #1 (id:40001) has been deleted
Description was changed from ========== NQE: Plumb RTT and throughput estimates to the UI thread This CL makes the RTT and throughput estimates available on the UI thread. It also makes it possible to add observers on UI thread that can listen to changes in the RTT/throughput estimations. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ========== to ========== NQE: Plumb RTT and throughput estimates to the UI thread This CL makes the RTT and throughput estimates available on the UI thread. It also makes it possible to add observers on UI thread that can listen to changes in the RTT/throughput estimations. BUG=700215 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ==========
tbansal@chromium.org changed reviewers: + ryansturm@chromium.org
ryansturm: ptal. Thanks.
https://codereview.chromium.org/2717153002/diff/60001/chrome/browser/net/nqe/... File chrome/browser/net/nqe/ui_network_quality_estimator_service.h (right): https://codereview.chromium.org/2717153002/diff/60001/chrome/browser/net/nqe/... chrome/browser/net/nqe/ui_network_quality_estimator_service.h:54: void AddRTTAndThroughputEstimatesObserver( I would add these to NetworkQualityProvider interface.
Patchset #3 (id:100001) has been deleted
ptal. Thanks. https://codereview.chromium.org/2717153002/diff/60001/chrome/browser/net/nqe/... File chrome/browser/net/nqe/ui_network_quality_estimator_service.h (right): https://codereview.chromium.org/2717153002/diff/60001/chrome/browser/net/nqe/... chrome/browser/net/nqe/ui_network_quality_estimator_service.h:54: void AddRTTAndThroughputEstimatesObserver( On 2017/03/10 19:16:44, Ryan Sturm wrote: > I would add these to NetworkQualityProvider interface. Done.
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...) android_cronet on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_cron...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
https://codereview.chromium.org/2717153002/diff/120001/chrome/browser/net/nqe... File chrome/browser/net/nqe/ui_network_quality_estimator_service.h (right): https://codereview.chromium.org/2717153002/diff/120001/chrome/browser/net/nqe... chrome/browser/net/nqe/ui_network_quality_estimator_service.h:114: base::TimeDelta http_rtt_; Are you still adding Getters for this CL or landing a separate one? https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:176: void AddRTTAndThroughputEstimatesObserver( virtual https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:181: void RemoveRTTAndThroughputEstimatesObserver( virtual https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:249: void AddRTTAndThroughputEstimatesObserver( Override https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:254: void RemoveRTTAndThroughputEstimatesObserver( override
ptal. Thanks. https://codereview.chromium.org/2717153002/diff/120001/chrome/browser/net/nqe... File chrome/browser/net/nqe/ui_network_quality_estimator_service.h (right): https://codereview.chromium.org/2717153002/diff/120001/chrome/browser/net/nqe... chrome/browser/net/nqe/ui_network_quality_estimator_service.h:114: base::TimeDelta http_rtt_; On 2017/03/10 22:10:47, Ryan Sturm wrote: > Are you still adding Getters for this CL or landing a separate one? Separate CL. https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:249: void AddRTTAndThroughputEstimatesObserver( On 2017/03/10 22:10:47, Ryan Sturm wrote: > Override Done. https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:249: void AddRTTAndThroughputEstimatesObserver( On 2017/03/10 22:10:47, Ryan Sturm wrote: > Override This is not going to work now since NQE does not implement NetworkQualityProvider. If it is necessary, I can do it in future. It will also require moving NetworkQualityProvider to a different file. https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:254: void RemoveRTTAndThroughputEstimatesObserver( On 2017/03/10 22:10:47, Ryan Sturm wrote: > override Done. https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:254: void RemoveRTTAndThroughputEstimatesObserver( On 2017/03/10 22:10:47, Ryan Sturm wrote: > override same as above.
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
Patchset #5 (id:160001) has been deleted
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
Patchset #5 (id:180001) has been deleted
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by tbansal@chromium.org to run a CQ dry run
Patchset #5 (id:200001) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2717153002/diff/120001/net/nqe/network_qualit... net/nqe/network_quality_estimator.h:249: void AddRTTAndThroughputEstimatesObserver( On 2017/03/10 23:22:11, tbansal1 wrote: > On 2017/03/10 22:10:47, Ryan Sturm wrote: > > Override > > Done. Yup. No problem. I think eventually we might want to move it over, but since they are both net layer interfaces I have no problem.
Description was changed from ========== NQE: Plumb RTT and throughput estimates to the UI thread This CL makes the RTT and throughput estimates available on the UI thread. It also makes it possible to add observers on UI thread that can listen to changes in the RTT/throughput estimations. BUG=700215 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ========== to ========== NQE: Plumb RTT and throughput estimates to the UI thread This CL makes the RTT and throughput estimates available on the UI thread. It also makes it possible to add observers on UI thread that can listen to changes in the RTT/throughput estimations. BUG=700215 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester TBR=bmcquade@chromium.org, petewil@chromium.org ==========
TBR'ing bmcquade@chromium.org for ukm_page_load_metrics_observer_unittest.cc and petewil@chromium.org for offline_pages. The changes in both these components are mechanical, and only affects the test files.
The CQ bit was checked by tbansal@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
petewil@chromium.org changed reviewers: + petewil@chromium.org
offline pages changes lgtm
CQ is committing da patch. Bot data: {"patchset_id": 220001, "attempt_start_ts": 1489196474886440, "parent_rev": "2c5480e85b7f645bd2c08cfe5b6c24ffa22c1206", "commit_rev": "bddab11adb5f2abcf364ba53f8382df1d0b3098d"}
Message was sent while issue was closed.
Description was changed from ========== NQE: Plumb RTT and throughput estimates to the UI thread This CL makes the RTT and throughput estimates available on the UI thread. It also makes it possible to add observers on UI thread that can listen to changes in the RTT/throughput estimations. BUG=700215 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester TBR=bmcquade@chromium.org, petewil@chromium.org ========== to ========== NQE: Plumb RTT and throughput estimates to the UI thread This CL makes the RTT and throughput estimates available on the UI thread. It also makes it possible to add observers on UI thread that can listen to changes in the RTT/throughput estimations. BUG=700215 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester TBR=bmcquade@chromium.org, petewil@chromium.org Review-Url: https://codereview.chromium.org/2717153002 Cr-Commit-Position: refs/heads/master@{#456252} Committed: https://chromium.googlesource.com/chromium/src/+/bddab11adb5f2abcf364ba53f838... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:220001) as https://chromium.googlesource.com/chromium/src/+/bddab11adb5f2abcf364ba53f838... |