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

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

Issue 2146563002: Expose effective connection type to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments (added periods) Created 4 years, 4 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 b7013e2fe355c8fee6fe7761e52e58faad213c16..7a01c4487d99e8560b3a061ffa347afa258a88c8 100644
--- a/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
+++ b/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
@@ -958,6 +958,13 @@ public abstract class CronetEngine {
public abstract byte[] getGlobalMetricsDeltas();
/**
+ * Returns the effective connection type computed by the network quality
+ * estimator.
+ * @hide as it's a prototype.
+ */
+ public abstract int getEffectiveConnectionType();
+
+ /**
* 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/EffectiveConnectionType.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698