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

Unified Diff: remoting/protocol/authenticator_test_base.h

Issue 12326090: Third Party authentication protocol. (Closed) Base URL: http://git.chromium.org/chromium/src.git@host_key_pair
Patch Set: Split authenticator into base, client, host 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 64d1c485b5b3396d829691d9b3c1658606431adf..9ec284fd4ce3709ae1173b4a3fe62fe00b95f305 100644
--- a/remoting/protocol/authenticator_test_base.h
+++ b/remoting/protocol/authenticator_test_base.h
@@ -40,6 +40,8 @@ class AuthenticatorTestBase : public testing::Test {
MOCK_METHOD1(OnDone, void(net::Error error));
};
+ static void ContinueAuthExchangeWith(Authenticator* sender,
+ Authenticator* receiver);
virtual void SetUp() OVERRIDE;
void RunAuthExchange();
void RunChannelAuth(bool expected_fail);
@@ -52,6 +54,7 @@ class AuthenticatorTestBase : public testing::Test {
MessageLoop message_loop_;
scoped_refptr<RsaKeyPair> key_pair_;
+ std::string host_public_key_;
std::string host_cert_;
scoped_ptr<Authenticator> host_;
scoped_ptr<Authenticator> client_;
@@ -64,6 +67,7 @@ class AuthenticatorTestBase : public testing::Test {
scoped_ptr<net::StreamSocket> client_socket_;
scoped_ptr<net::StreamSocket> host_socket_;
+ private:
DISALLOW_COPY_AND_ASSIGN(AuthenticatorTestBase);
};

Powered by Google App Engine
This is Rietveld 408576698