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

Unified Diff: net/android/keystore_openssl.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 | « net/android/keystore.cc ('k') | net/android/keystore_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/keystore_openssl.h
diff --git a/net/android/keystore_openssl.h b/net/android/keystore_openssl.h
index 72f3994c1f0e4d76a321e09ce8cc65812456472e..e2d21bc43c74ff5305dd10ac5f8d5c3e0f2f2f50 100644
--- a/net/android/keystore_openssl.h
+++ b/net/android/keystore_openssl.h
@@ -8,6 +8,7 @@
#include <jni.h>
#include <openssl/evp.h>
+#include "base/android/scoped_java_ref.h"
#include "crypto/scoped_openssl_types.h"
#include "net/base/net_export.h"
@@ -41,7 +42,7 @@ namespace android {
// during the OpenSSL handshake. Anything else will result in undefined
// behaviour.
NET_EXPORT crypto::ScopedEVP_PKEY GetOpenSSLPrivateKeyWrapper(
- jobject private_key);
+ const base::android::JavaRef<jobject>& private_key);
} // namespace android
} // namespace net
« no previous file with comments | « net/android/keystore.cc ('k') | net/android/keystore_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698