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

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: Updated comments Created 4 years, 5 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 17b5b7dbcb56453e67707b5ad9101cc8846b1c55..6dbca4f6d6666a1dfeb80720e08cc49a7bb83c2f 100644
--- a/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
+++ b/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
@@ -899,6 +899,14 @@ public abstract class CronetEngine {
public abstract void setRequestFinishedListenerExecutor(Executor executor);
/**
+ * Returns the effective connection type computed by network quality
+ * estimator. The return value is an enum specified in
+ * NetworkQualityEstimator::EffectiveConnectionType in
+ * //net/nqe/network_quality_estimator.h.
pauljensen 2016/07/18 13:42:17 I think there are a few issues here: 1. It's not c
tbansal1 2016/08/01 20:58:09 Done.
+ */
+ public abstract int getEffectiveConnectionType();
+
+ /**
* Enables the network quality estimator, which collects and reports
* measurements of round trip time (RTT) and downstream throughput at
* various layers of the network stack. After enabling the estimator,
« 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