Index: remoting/protocol/negotiating_authenticator_base.cc |
diff --git a/remoting/protocol/negotiating_authenticator_base.cc b/remoting/protocol/negotiating_authenticator_base.cc |
index c04046d2d889b5b0ca0cd6834476e544a6707749..c9d4b2acb81940157bc2525c464769afd8c5f2fd 100644 |
--- a/remoting/protocol/negotiating_authenticator_base.cc |
+++ b/remoting/protocol/negotiating_authenticator_base.cc |
@@ -103,6 +103,11 @@ void NegotiatingAuthenticatorBase::AddMethod( |
methods_.push_back(method); |
} |
+const std::string& NegotiatingAuthenticatorBase::GetAuthKey() const { |
+ DCHECK_EQ(state(), ACCEPTED); |
+ return current_authenticator_->GetAuthKey(); |
+} |
+ |
scoped_ptr<ChannelAuthenticator> |
NegotiatingAuthenticatorBase::CreateChannelAuthenticator() const { |
DCHECK_EQ(state(), ACCEPTED); |