Index: remoting/protocol/authenticator_test_base.h |
diff --git a/remoting/protocol/authenticator_test_base.h b/remoting/protocol/authenticator_test_base.h |
index b8671376bcd83628ecf8eb3285e44effab995e13..b54039307912c982e3c65cd25844cce748288458 100644 |
--- a/remoting/protocol/authenticator_test_base.h |
+++ b/remoting/protocol/authenticator_test_base.h |
@@ -38,7 +38,11 @@ class AuthenticatorTestBase : public testing::Test { |
}; |
virtual void SetUp() OVERRIDE; |
+ // Starts the auth exchange, the first message is from client to host. |
void RunAuthExchange(); |
+ // Continues an interrupted authentication exchange (starting with a message |
+ // from host to client if skip_client_to_host is true). |
+ void ContinueAuthExchange(bool skip_client_to_host); |
void RunChannelAuth(bool expected_fail); |
void OnHostConnected(net::Error error, |
@@ -49,6 +53,7 @@ class AuthenticatorTestBase : public testing::Test { |
MessageLoop message_loop_; |
scoped_ptr<KeyPair> key_pair_; |
+ std::string host_public_key_; |
std::string host_cert_; |
scoped_ptr<Authenticator> host_; |
scoped_ptr<Authenticator> client_; |
@@ -61,6 +66,7 @@ class AuthenticatorTestBase : public testing::Test { |
scoped_ptr<net::StreamSocket> client_socket_; |
scoped_ptr<net::StreamSocket> host_socket_; |
+ private: |
DISALLOW_COPY_AND_ASSIGN(AuthenticatorTestBase); |
}; |