|
Enable NQE when Cronet Engine is built
Enabling NQE as soon as Cronet Engine is built makes it
possible to set NQE's delegate as socket performance watcher
factor in Http network session params. This in turn ensures
that NQE is notified of RTT observations from TCP and QUIC
sockets.
The previous API and the related tests will be removed after
the existing consumers of that API transfer to using Cronet
config for enabling NQE.
Also, update the network quality listeners API. Now, RTT
and throughput listeners are required to provide an
executor in their constructor. The listeners are then
provided the observations on the same executor.
This CL does not modify UrlRequestFinishedListener, which
is already in use by multiple embedders. Those embedders
would continue to work.
BUG= 618030
Committed: https://crrev.com/7018e2ad87f6f860e4d5fb42ceda5bd9998b664d
Cr-Commit-Position: refs/heads/master@{#402029}
Total comments: 29
Total comments: 8
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+741 lines, -154 lines) |
Patch |
 |
M |
components/cronet/android/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/api/src/org/chromium/net/CronetEngine.java
|
View
|
1
2
3
4
5
6
|
8 chunks |
+57 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/api/src/org/chromium/net/JavaCronetEngine.java
|
View
|
1
2
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java
|
View
|
1
2
3
4
5
|
1 chunk |
+33 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java
|
View
|
1
2
|
1 chunk |
+26 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/cronet_url_request_context_adapter.h
|
View
|
1
2
|
2 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/cronet_url_request_context_adapter.cc
|
View
|
1
2
3
4
|
5 chunks |
+46 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/java/src/org/chromium/net/CronetUrlRequestContext.java
|
View
|
1
2
3
|
9 chunks |
+106 lines, -39 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java
|
View
|
1
2
3
4
5
|
11 chunks |
+193 lines, -65 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java
|
View
|
1
2
|
4 chunks |
+56 lines, -1 line |
0 comments
|
Download
|
 |
A |
components/cronet/android/test/javatests/src/org/chromium/net/TestNetworkQualityRttListener.java
|
View
|
1
2
3
4
5
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/cronet/android/test/javatests/src/org/chromium/net/TestNetworkQualityThroughputListener.java
|
View
|
1
2
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/cronet/url_request_context_config.h
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/cronet/url_request_context_config.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/cronet/url_request_context_config_unittest.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/nqe/network_quality_estimator.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/nqe/network_quality_estimator.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/nqe/throughput_analyzer.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/nqe/throughput_analyzer.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_context_builder.h
|
View
|
1
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_context_builder.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
Total messages: 44 (25 generated)
|