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

Unified Diff: components/cronet/android/api/src/org/chromium/net/CronetEngine.java

Issue 2433923005: Revert of Expose RTT and throughput estimates from Cronet (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/api/src/org/chromium/net/CronetEngine.java
diff --git a/components/cronet/android/api/src/org/chromium/net/CronetEngine.java b/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
index d505e04b9b0cabd74cb51443194930f0b301b39a..e386b670818795ac45ad4087aafae7d93410e0ff 100644
--- a/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
+++ b/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
@@ -993,42 +993,6 @@
public abstract int getEffectiveConnectionType();
/**
- * Returns the HTTP RTT estimate (in milliseconds) computed by the network
- * quality estimator. Set to
- * {@link RttThroughputValues.INVALID_RTT_THROUGHPUT} if a valid value
- * is unavailable. This must be called after
- * {@link #enableNetworkQualityEstimator}, and will throw an
- * exception otherwise.
- * @hide as it's a prototype.
- * @return Estimate of the HTTP RTT in milliseconds.
- */
- public abstract int getHttpRttMs();
-
- /**
- * Returns the transport RTT estimate (in milliseconds) computed by the
- * network quality estimator. Set to
- * {@link RttThroughputValues.INVALID_RTT_THROUGHPUT} if a valid value is
- * unavailable. This must be called after
- * {@link #enableNetworkQualityEstimator}, and will throw an
- * exception otherwise.
- * @hide as it's a prototype.
- * @return Estimate of the transport RTT in milliseconds.
- */
- public abstract int getTransportRttMs();
-
- /**
- * Returns the downstream throughput estimate (in kilobits per second)
- * computed by the network quality estimator. Set to
- * {@link RttThroughputValues.INVALID_RTT_THROUGHPUT} if a valid value is
- * unavailable. This must be called after
- * {@link #enableNetworkQualityEstimator}, and will
- * throw an exception otherwise.
- * @hide as it's a prototype.
- * @return Estimate of the downstream throughput in kilobits per second.
- */
- public abstract int getDownstreamThroughputKbps();
-
- /**
* Configures the network quality estimator for testing. This must be called
* before round trip time and throughput listeners are added, and after the
* network quality estimator has been enabled.
« no previous file with comments | « components/cronet/android/BUILD.gn ('k') | components/cronet/android/api/src/org/chromium/net/JavaCronetEngine.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698