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 c89c71fbed954b470437e6e8ca2650b0218e764f..70b13fa5ee63d8fdb37fc316366f002bd0cdc0d4 100644 |
--- a/remoting/host/pam_authorization_factory_posix.cc |
+++ b/remoting/host/pam_authorization_factory_posix.cc |
@@ -24,6 +24,7 @@ class PamAuthorizer : public protocol::Authenticator { |
// protocol::Authenticator interface. |
virtual State state() const OVERRIDE; |
+ virtual bool started() const OVERRIDE; |
virtual RejectionReason rejection_reason() const OVERRIDE; |
virtual void ProcessMessage(const buzz::XmlElement* message, |
const base::Closure& resume_callback) OVERRIDE; |
@@ -62,6 +63,11 @@ protocol::Authenticator::State PamAuthorizer::state() const { |
} |
} |
+bool PamAuthorizer::started() const { |
+ CHECK(underlying_); |
Sergey Ulanov
2014/03/26 01:49:16
don't need this. scoped_ptr::operator->() DCHECK t
kelvinp
2014/03/27 03:23:21
Done.
|
+ return underlying_->started(); |
+} |
+ |
protocol::Authenticator::RejectionReason |
PamAuthorizer::rejection_reason() const { |
if (local_login_status_ == DISALLOWED) { |