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

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

Issue 2406273002: [Cronet] Test the libcronet that's shipped, not libcronet_test (Closed)
Patch Set: fix perf test 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/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 eb442c4caa1cc818a36c70fe32ba752960614c19..6fd03ecc8a27bb816a22cac1f9695ce20eb20e7d 100644
--- a/components/cronet/android/cronet_url_request_adapter.h
+++ b/components/cronet/android/cronet_url_request_adapter.h
@@ -122,7 +122,9 @@ class CronetURLRequestAdapter : public net::URLRequest::Delegate {
void OnResponseStarted(net::URLRequest* request, int net_error) override;
void OnReadCompleted(net::URLRequest* request, int bytes_read) override;
- net::URLRequest* GetURLRequestForTesting();
+ jlong GetUrlRequestForTesting(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& jcaller);
private:
void StartOnNetworkThread();

Powered by Google App Engine
This is Rietveld 408576698