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

Unified Diff: net/android/cert_verify_result_android.cc

Issue 2301553002: Pass JavaRef to Java methods in net. (Closed)
Patch Set: Created 4 years, 4 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
« no previous file with comments | « net/android/cert_verify_result_android.h ('k') | net/android/keystore.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/cert_verify_result_android.cc
diff --git a/net/android/cert_verify_result_android.cc b/net/android/cert_verify_result_android.cc
index 327a1e01faa471d7da203385f890cf4359c3a3c6..925e71bed427f9efc5a47385e159d2e0a3bbf789 100644
--- a/net/android/cert_verify_result_android.cc
+++ b/net/android/cert_verify_result_android.cc
@@ -10,12 +10,13 @@
using base::android::AttachCurrentThread;
using base::android::JavaArrayOfByteArrayToStringVector;
+using base::android::JavaRef;
using base::android::ScopedJavaLocalRef;
namespace net {
namespace android {
-void ExtractCertVerifyResult(jobject result,
+void ExtractCertVerifyResult(const JavaRef<jobject>& result,
CertVerifyStatusAndroid* status,
bool* is_issued_by_known_root,
std::vector<std::string>* verified_chain) {
« no previous file with comments | « net/android/cert_verify_result_android.h ('k') | net/android/keystore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698