[go: nahoru, domu]

Pass JavaRef to Java methods in cronet.

Update code in cronet to use JavaRef when calling Java methods via JNI,
instead of passing bare jobject. Various function parameter types are
converted from jobject to JavaRef to enable calls to obj() higher up the
call chain to be removed.

BUG=506850

Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Change-Id: Id58e5b96c08df22f81f1a205cff877523ff2dad0
Reviewed-on: https://chromium-review.googlesource.com/591617
Reviewed-by: Paul Jensen <pauljensen@chromium.org>
Commit-Queue: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490785}
7 files changed