Index: remoting/host/pam_authorization_factory_posix.cc |
diff --git a/remoting/host/pam_authorization_factory_posix.cc b/remoting/host/pam_authorization_factory_posix.cc |
index 6e964e68ed290b32a582798efea36c862f18406b..7de2141fe2d50ab1cee1db275c3ad7b844e75e6e 100644 |
--- a/remoting/host/pam_authorization_factory_posix.cc |
+++ b/remoting/host/pam_authorization_factory_posix.cc |
@@ -29,6 +29,7 @@ class PamAuthorizer : public protocol::Authenticator { |
void ProcessMessage(const buzz::XmlElement* message, |
const base::Closure& resume_callback) override; |
scoped_ptr<buzz::XmlElement> GetNextMessage() override; |
+ const std::string& GetAuthKey() const override; |
scoped_ptr<protocol::ChannelAuthenticator> CreateChannelAuthenticator() |
const override; |
@@ -95,6 +96,10 @@ scoped_ptr<buzz::XmlElement> PamAuthorizer::GetNextMessage() { |
return result.Pass(); |
} |
+const std::string& PamAuthorizer::GetAuthKey() const { |
+ return underlying_->GetAuthKey(); |
+} |
+ |
scoped_ptr<protocol::ChannelAuthenticator> |
PamAuthorizer::CreateChannelAuthenticator() const { |
return underlying_->CreateChannelAuthenticator(); |