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

Issue 2223773003: Expose effective connection type to Cronet (Closed)

Created:
4 years, 4 months ago by tbansal1
Modified:
4 years, 4 months ago
Reviewers:
xunjieli
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

Expose effective connection type to Cronet CronetURLRequestContextAdapter registers as an Effective Connection Type (ECT) Observer. When it receives notifications on network thread about changes in ECT, it passes them to Java land where ECT is stored in a guarded variable. ECT is computed using transport RTT and downlink bandwidth. This CL also adds default transport RTT thresholds for different effective connection types so that NQE can compute ECT when thresholds have not been specified using field trial params (as is the case for Cronet). This is reland of https://codereview.chromium.org/2146563002/ BUG=625305 Committed: https://crrev.com/465fad09d77199ccee02ccf304fb8c5bd92d94cf Cr-Commit-Position: refs/heads/master@{#411462}

Patch Set 1 : Patch landed in https://codereview.chromium.org/2146563002/ #

Patch Set 2 : Changes based on https://codereview.chromium.org/2210633002/ #

Total comments: 6

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Rebased, addressed comments #

Messages

Total messages: 38 (24 generated)
tbansal1
xunjieli: PTAL at diff of PS #1 and PS #2. Thanks.
4 years, 4 months ago (2016-08-08 16:48:19 UTC) #7
xunjieli
Looks good! One last request, could you build cronet_package, and check in the cronet/JavaDoc folder ...
4 years, 4 months ago (2016-08-09 13:22:44 UTC) #10
tbansal1
On 2016/08/09 13:22:44, xunjieli wrote: > Looks good! One last request, could you build cronet_package, ...
4 years, 4 months ago (2016-08-09 17:54:23 UTC) #11
tbansal1
https://codereview.chromium.org/2223773003/diff/20001/net/nqe/effective_connection_type.h File net/nqe/effective_connection_type.h (right): https://codereview.chromium.org/2223773003/diff/20001/net/nqe/effective_connection_type.h#newcode22 net/nqe/effective_connection_type.h:22: // GENERATED_JAVA_CLASS_NAME_OVERRIDE: EffectiveConnectionType On 2016/08/09 13:22:44, xunjieli wrote: > ...
4 years, 4 months ago (2016-08-09 17:59:16 UTC) #12
xunjieli
On 2016/08/09 17:54:23, tbansal1 wrote: > On 2016/08/09 13:22:44, xunjieli wrote: > > Looks good! ...
4 years, 4 months ago (2016-08-09 17:59:47 UTC) #13
xunjieli
There is a typo in the Cl description. CronetURLContextAdapter -> CronetURLRequestContextAdapter. The jar source part ...
4 years, 4 months ago (2016-08-10 17:39:43 UTC) #14
xunjieli
FYI: my follow-up CL is at https://codereview.chromium.org/2234113002/.
4 years, 4 months ago (2016-08-11 15:13:38 UTC) #15
tbansal1
https://codereview.chromium.org/2223773003/diff/40001/net/nqe/effective_connection_type.h File net/nqe/effective_connection_type.h (right): https://codereview.chromium.org/2223773003/diff/40001/net/nqe/effective_connection_type.h#newcode32 net/nqe/effective_connection_type.h:32: EFFECTIVE_CONNECTION_TYPE_LAST, On 2016/08/10 17:39:43, xunjieli wrote: > Could you ...
4 years, 4 months ago (2016-08-11 17:43:12 UTC) #19
xunjieli
lgtm https://codereview.chromium.org/2223773003/diff/100001/net/nqe/effective_connection_type.h File net/nqe/effective_connection_type.h (right): https://codereview.chromium.org/2223773003/diff/100001/net/nqe/effective_connection_type.h#newcode24 net/nqe/effective_connection_type.h:24: // The connection types should be in increasing ...
4 years, 4 months ago (2016-08-11 17:45:27 UTC) #22
tbansal1
xunjieli: I addressed the comment (and I deleted that PS by mistake).
4 years, 4 months ago (2016-08-11 18:01:43 UTC) #28
xunjieli
On 2016/08/11 18:01:43, tbansal1 wrote: > xunjieli: I addressed the comment (and I deleted that ...
4 years, 4 months ago (2016-08-11 18:46:42 UTC) #30
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/2223773003/140001
4 years, 4 months ago (2016-08-11 22:49:28 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 4 months ago (2016-08-12 00:07:58 UTC) #36
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 00:11:24 UTC) #38
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/465fad09d77199ccee02ccf304fb8c5bd92d94cf
Cr-Commit-Position: refs/heads/master@{#411462}

Powered by Google App Engine
This is Rietveld 408576698