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 |