Index: net/ssl/ssl_platform_key_android.h |
diff --git a/net/ssl/ssl_platform_key_test.h b/net/ssl/ssl_platform_key_android.h |
similarity index 61% |
copy from net/ssl/ssl_platform_key_test.h |
copy to net/ssl/ssl_platform_key_android.h |
index 8dca06965225f2182cd3ab3d859b26cfa70ad1ec..bc73a7b402677265649c17e82cd877bba386d037 100644 |
--- a/net/ssl/ssl_platform_key_test.h |
+++ b/net/ssl/ssl_platform_key_android.h |
@@ -2,11 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef NET_SSL_SSL_PLATFORM_KEY_TEST_H_ |
-#define NET_SSL_SSL_PLATFORM_KEY_TEST_H_ |
- |
-#include <openssl/digest.h> |
-#include <openssl/evp.h> |
+#ifndef NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_ |
+#define NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_ |
#include "base/memory/ref_counted.h" |
#include "crypto/scoped_openssl_types.h" |
@@ -16,11 +13,10 @@ namespace net { |
class SSLPrivateKey; |
-// Returns a new SSLPrivateKey which uses |key| for signing operations or |
-// nullptr on error. |
+// Wraps a ScopedEVP_PKEY into an SSLPrivateKey. |
NET_EXPORT scoped_refptr<SSLPrivateKey> WrapOpenSSLPrivateKey( |
crypto::ScopedEVP_PKEY key); |
} // namespace net |
-#endif // NET_SSL_SSL_PLATFORM_KEY_TEST_H_ |
+#endif // NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_ |