| Index: net/ssl/ssl_platform_key_android.h
|
| diff --git a/net/ssl/test_ssl_private_key.h b/net/ssl/ssl_platform_key_android.h
|
| similarity index 54%
|
| copy from net/ssl/test_ssl_private_key.h
|
| copy to net/ssl/ssl_platform_key_android.h
|
| index f9ae906d30ad43ef54b17c35ed09bdad45592e00..5dbaa9b266123c8c5b0c57125dda9caefa81f321 100644
|
| --- a/net/ssl/test_ssl_private_key.h
|
| +++ b/net/ssl/ssl_platform_key_android.h
|
| @@ -2,13 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef NET_SSL_TEST_SSL_PLATFORM_KEY_H_
|
| -#define NET_SSL_TEST_SSL_PLATFORM_KEY_H_
|
| +#ifndef NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
|
| +#define NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
|
|
|
| -#include <openssl/evp.h>
|
| +#include <jni.h>
|
|
|
| #include "base/memory/ref_counted.h"
|
| -#include "crypto/scoped_openssl_types.h"
|
| #include "net/base/net_export.h"
|
|
|
| namespace net {
|
| @@ -16,10 +15,9 @@ namespace net {
|
| class SSLPrivateKey;
|
|
|
| // Returns a new SSLPrivateKey which uses |key| for signing operations or
|
| -// nullptr on error.
|
| -NET_EXPORT scoped_refptr<SSLPrivateKey> WrapOpenSSLPrivateKey(
|
| - crypto::ScopedEVP_PKEY key);
|
| +// nullptr on error. |key| must be a java.security.PrivateKey object.
|
| +NET_EXPORT scoped_refptr<SSLPrivateKey> WrapJavaPrivateKey(jobject key);
|
|
|
| } // namespace net
|
|
|
| -#endif // NET_SSL_TEST_SSL_PLATFORM_KEY_H_
|
| +#endif // NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
|
|
|