| Index: components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java
|
| diff --git a/components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java b/components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java
|
| index eab6c84ae3f66587e3ffd9a1a903cc25cabcdaf2..6d585dbaaee5fe66e99f199924cc1908e35eb688 100644
|
| --- a/components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java
|
| +++ b/components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java
|
| @@ -8,12 +8,11 @@ import static android.os.Process.THREAD_PRIORITY_BACKGROUND;
|
| import static android.os.Process.THREAD_PRIORITY_MORE_FAVORABLE;
|
|
|
| import org.chromium.net.BidirectionalStream;
|
| -import org.chromium.net.EffectiveConnectionType;
|
| import org.chromium.net.ExperimentalBidirectionalStream;
|
| +import org.chromium.net.ExperimentalCronetEngine;
|
| import org.chromium.net.NetworkQualityRttListener;
|
| import org.chromium.net.NetworkQualityThroughputListener;
|
| import org.chromium.net.RequestFinishedInfo;
|
| -import org.chromium.net.RttThroughputValues;
|
| import org.chromium.net.UrlRequest;
|
|
|
| import java.io.IOException;
|
| @@ -120,22 +119,22 @@ public final class JavaCronetEngine extends CronetEngineBase {
|
|
|
| @Override
|
| public int getEffectiveConnectionType() {
|
| - return EffectiveConnectionType.TYPE_UNKNOWN;
|
| + return EFFECTIVE_CONNECTION_TYPE_UNKNOWN;
|
| }
|
|
|
| @Override
|
| public int getHttpRttMs() {
|
| - return RttThroughputValues.INVALID_RTT_THROUGHPUT;
|
| + return ExperimentalCronetEngine.RTT_THROUGHPUT_UNKNOWN;
|
| }
|
|
|
| @Override
|
| public int getTransportRttMs() {
|
| - return RttThroughputValues.INVALID_RTT_THROUGHPUT;
|
| + return ExperimentalCronetEngine.RTT_THROUGHPUT_UNKNOWN;
|
| }
|
|
|
| @Override
|
| public int getDownstreamThroughputKbps() {
|
| - return RttThroughputValues.INVALID_RTT_THROUGHPUT;
|
| + return ExperimentalCronetEngine.RTT_THROUGHPUT_UNKNOWN;
|
| }
|
|
|
| @Override
|
|
|