| Index: net/ssl/ssl_platform_key_android.h
|
| diff --git a/net/ssl/ssl_platform_key_android.h b/net/ssl/ssl_platform_key_android.h
|
| index bc73a7b402677265649c17e82cd877bba386d037..cdfb108f18700ac59fe4b8c9bd18ef5b1b65613c 100644
|
| --- a/net/ssl/ssl_platform_key_android.h
|
| +++ b/net/ssl/ssl_platform_key_android.h
|
| @@ -5,17 +5,19 @@
|
| #ifndef NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
|
| #define NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
|
|
|
| +#include <jni.h>
|
| +
|
| #include "base/memory/ref_counted.h"
|
| -#include "crypto/scoped_openssl_types.h"
|
| #include "net/base/net_export.h"
|
|
|
| namespace net {
|
|
|
| class SSLPrivateKey;
|
|
|
| -// Wraps a ScopedEVP_PKEY into an SSLPrivateKey.
|
| -NET_EXPORT scoped_refptr<SSLPrivateKey> WrapOpenSSLPrivateKey(
|
| - crypto::ScopedEVP_PKEY key);
|
| +// Returns a new SSLPrivateKey that uses the underlying java object |key| for
|
| +// signing operations or nullptr on an error. |key| must be a
|
| +// java.security.PrivateKey object.
|
| +NET_EXPORT scoped_refptr<SSLPrivateKey> WrapJavaPrivateKey(jobject key);
|
|
|
| } // namespace net
|
|
|
|
|