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

Unified Diff: remoting/host/pam_authorization_factory_posix.cc

Issue 1277093006: Enable QUIC support in chromoting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_adapters
Patch Set: Created 5 years, 4 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
« no previous file with comments | « remoting/host/host_status_logger.cc ('k') | remoting/protocol/authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « remoting/host/host_status_logger.cc ('k') | remoting/protocol/authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698