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

Unified Diff: net/android/cert_verify_result_android.h

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 | « android_webview/native/aw_contents_client_bridge.cc ('k') | net/android/cert_verify_result_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/cert_verify_result_android.h
diff --git a/net/android/cert_verify_result_android.h b/net/android/cert_verify_result_android.h
index d07475850bbbabdd02bd122d20610bbbc10a3759..96c61e4486488b88573027784b167bf2bc773234 100644
--- a/net/android/cert_verify_result_android.h
+++ b/net/android/cert_verify_result_android.h
@@ -10,6 +10,8 @@
#include <string>
#include <vector>
+#include "base/android/scoped_java_ref.h"
+
namespace net {
namespace android {
@@ -39,7 +41,7 @@ enum CertVerifyStatusAndroid {
};
// Extract parameters out of an AndroidCertVerifyResult object.
-void ExtractCertVerifyResult(jobject result,
+void ExtractCertVerifyResult(const base::android::JavaRef<jobject>& result,
CertVerifyStatusAndroid* status,
bool* is_issued_by_known_root,
std::vector<std::string>* verified_chain);
« no previous file with comments | « android_webview/native/aw_contents_client_bridge.cc ('k') | net/android/cert_verify_result_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698