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

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

Issue 937513003: Add Data Saver support to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit Created 5 years, 7 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_adapter.h
diff --git a/components/cronet/android/cronet_url_request_adapter.h b/components/cronet/android/cronet_url_request_adapter.h
index 301c0b57b1017946251d68376362405d24648afd..4075e57437d0a79241ceca3ccef585ec57f02f0a 100644
--- a/components/cronet/android/cronet_url_request_adapter.h
+++ b/components/cronet/android/cronet_url_request_adapter.h
@@ -104,6 +104,11 @@ class CronetURLRequestAdapter : public net::URLRequest::Delegate {
JNIEnv* env,
jobject jcaller) const;
+ // Returns the host and port of the proxy server, if one was used.
+ base::android::ScopedJavaLocalRef<jstring> GetProxyServer(
+ JNIEnv* env,
+ jobject jcaller) const;
+
// Returns true if response is coming from the cache.
jboolean GetWasCached(JNIEnv* env, jobject jcaller) const;
« no previous file with comments | « components/cronet/android/cronet_library_loader.cc ('k') | components/cronet/android/cronet_url_request_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698