|
|
Chromium Code Reviews|
Created:
4 years, 1 month ago by RyanSturm Modified:
4 years, 1 month ago CC:
chromium-reviews, cbentzel+watch_chromium.org, dewittj+watch_chromium.org, fgorski+watch_chromium.org, romax+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, tbansal+watch-nqe_chromium.org, dimich+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdding observer functionality to UINetworkQualityService
When the EffectiveConnectionType changes, the new ECT should be reported
to any observers that wish to listen to ECT changes.
BUG=658924
TBR=dimich
Committed: https://crrev.com/eb5958ae41b8c4b4a415a1efe0f1eb9a30fd0530
Cr-Commit-Position: refs/heads/master@{#428387}
Patch Set 1 #Patch Set 2 : testing #
Total comments: 4
Patch Set 3 : nits #
Messages
Total messages: 31 (18 generated)
The CQ bit was checked by ryansturm@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 checked by ryansturm@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.
ryansturm@chromium.org changed reviewers: + dougarnett@chromium.org, tbansal@chromium.org
tbansal, dougarnett: PTAL, I'll wait to land this until we are sure that Offline Pages wants to consume this. Doug, does this work for the design you have planned?
On 2016/10/25 17:18:41, Ryan Sturm wrote: > tbansal, dougarnett: PTAL, I'll wait to land this until we are sure that Offline > Pages wants to consume this. > > Doug, does this work for the design you have planned? Yes, lgtm.
lgtm I would say you should land it since you have already coded this up with tests, and it will be useful in future. https://codereview.chromium.org/2450433003/diff/20001/chrome/browser/net/nqe/... File chrome/browser/net/nqe/ui_network_quality_estimator_service.h (right): https://codereview.chromium.org/2450433003/diff/20001/chrome/browser/net/nqe/... chrome/browser/net/nqe/ui_network_quality_estimator_service.h:35: // NetworkQualityProvider implmentation: "implmentation" typo https://codereview.chromium.org/2450433003/diff/20001/chrome/browser/net/nqe/... chrome/browser/net/nqe/ui_network_quality_estimator_service.h:37: void AddEffectiveConnectionTypeObserver( You might want to say that this must be called on UI thread, and the observer is notified on the same thread.
Thanks. I'll try to land it today then. https://codereview.chromium.org/2450433003/diff/20001/chrome/browser/net/nqe/... File chrome/browser/net/nqe/ui_network_quality_estimator_service.h (right): https://codereview.chromium.org/2450433003/diff/20001/chrome/browser/net/nqe/... chrome/browser/net/nqe/ui_network_quality_estimator_service.h:35: // NetworkQualityProvider implmentation: On 2016/10/25 17:34:18, tbansal1 wrote: > "implmentation" > typo Done. https://codereview.chromium.org/2450433003/diff/20001/chrome/browser/net/nqe/... chrome/browser/net/nqe/ui_network_quality_estimator_service.h:37: void AddEffectiveConnectionTypeObserver( On 2016/10/25 17:34:18, tbansal1 wrote: > You might want to say that this must be called on UI thread, and the observer is > notified on the same thread. Done.
The CQ bit was checked by ryansturm@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dougarnett@chromium.org, tbansal@chromium.org Link to the patchset: https://codereview.chromium.org/2450433003/#ps40001 (title: "nits")
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
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
ryansturm@chromium.org changed reviewers: + dimich@chromium.org
dimich: PTAL; Non-functional change. NQE interface used in testing Offline Pages added two methods.
Description was changed from ========== Adding observer functionality to UINetworkQualityService When the EffectiveConnectionType changes, the new ECT should be reported to any observers that wish to listen to ECT changes. BUG=658924 ========== to ========== Adding observer functionality to UINetworkQualityService When the EffectiveConnectionType changes, the new ECT should be reported to any observers that wish to listen to ECT changes. BUG=658924 TBR:dimich ==========
TBR:dimich empty override for NQE interface in unittest. I believe doug will implment the interface once he consumes it.
The CQ bit was checked by ryansturm@chromium.org
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
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
Description was changed from ========== Adding observer functionality to UINetworkQualityService When the EffectiveConnectionType changes, the new ECT should be reported to any observers that wish to listen to ECT changes. BUG=658924 TBR:dimich ========== to ========== Adding observer functionality to UINetworkQualityService When the EffectiveConnectionType changes, the new ECT should be reported to any observers that wish to listen to ECT changes. BUG=658924 TBR=dimich ==========
The CQ bit was checked by ryansturm@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Adding observer functionality to UINetworkQualityService When the EffectiveConnectionType changes, the new ECT should be reported to any observers that wish to listen to ECT changes. BUG=658924 TBR=dimich ========== to ========== Adding observer functionality to UINetworkQualityService When the EffectiveConnectionType changes, the new ECT should be reported to any observers that wish to listen to ECT changes. BUG=658924 TBR=dimich ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Adding observer functionality to UINetworkQualityService When the EffectiveConnectionType changes, the new ECT should be reported to any observers that wish to listen to ECT changes. BUG=658924 TBR=dimich ========== to ========== Adding observer functionality to UINetworkQualityService When the EffectiveConnectionType changes, the new ECT should be reported to any observers that wish to listen to ECT changes. BUG=658924 TBR=dimich Committed: https://crrev.com/eb5958ae41b8c4b4a415a1efe0f1eb9a30fd0530 Cr-Commit-Position: refs/heads/master@{#428387} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/eb5958ae41b8c4b4a415a1efe0f1eb9a30fd0530 Cr-Commit-Position: refs/heads/master@{#428387} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
