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

Unified Diff: remoting/protocol/authenticator_test_base.h

Issue 12316083: Move HostKeyPair into protocol::KeyPair. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add missing files, move TestKeyPair. Created 7 years, 10 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
Index: remoting/protocol/authenticator_test_base.h
diff --git a/remoting/protocol/authenticator_test_base.h b/remoting/protocol/authenticator_test_base.h
index fc4856c5ca5f8b0ccbc85a40e5c7867116cb3987..b8671376bcd83628ecf8eb3285e44effab995e13 100644
--- a/remoting/protocol/authenticator_test_base.h
+++ b/remoting/protocol/authenticator_test_base.h
@@ -12,10 +12,6 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace crypto {
-class RSAPrivateKey;
-} // namespace crypto
-
namespace net {
class StreamSocket;
} // namespace net
@@ -26,6 +22,7 @@ namespace protocol {
class Authenticator;
class ChannelAuthenticator;
class FakeSocket;
+class KeyPair;
class AuthenticatorTestBase : public testing::Test {
public:
@@ -51,7 +48,7 @@ class AuthenticatorTestBase : public testing::Test {
MessageLoop message_loop_;
- scoped_ptr<crypto::RSAPrivateKey> private_key_;
+ scoped_ptr<KeyPair> key_pair_;
std::string host_cert_;
scoped_ptr<Authenticator> host_;
scoped_ptr<Authenticator> client_;

Powered by Google App Engine
This is Rietveld 408576698