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

Unified Diff: components/cronet/android/cronet_url_request_context_adapter.h

Issue 2188553002: Delete old NetworkQualityEstimator Cronet API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metrics-executor
Patch Set: rebase again. ugh. 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/cronet_url_request_context_adapter.h
diff --git a/components/cronet/android/cronet_url_request_context_adapter.h b/components/cronet/android/cronet_url_request_context_adapter.h
index 95ee713a06f1510bcf3b73837f2d1dfc743ca1bc..42626a3f66a82d608a51f285273bdb435aaf35a4 100644
--- a/components/cronet/android/cronet_url_request_context_adapter.h
+++ b/components/cronet/android/cronet_url_request_context_adapter.h
@@ -98,12 +98,6 @@ class CronetURLRequestContextAdapter
// Called on main Java thread to initialize URLRequestContext.
void InitRequestContextOnMainThread();
- // Enables the network quality estimator.
- // TODO(tbansal): http://crbug.com/618034 Remove this API.
- void EnableNetworkQualityEstimator(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jcaller);
-
// Configures the network quality estimator to observe localhost requests, and
// to consider smaller responses when observing throughput for testing. This
// should be called after the network quality estimator has been enabled.
@@ -145,10 +139,6 @@ class CronetURLRequestContextAdapter
// Gets the file thread. Create one if there is none.
base::Thread* GetFileThread();
- // Instantiate and configure the network quality estimator.
- // TODO(tbansal): http://crbug.com/618034 Remove this API.
- void EnableNetworkQualityEstimatorOnNetworkThread();
-
// Configures the network quality estimator to observe requests to localhost,
// as well as to use smaller responses when estimating throughput. This
// should only be used for testing.

Powered by Google App Engine
This is Rietveld 408576698