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

Unified Diff: remoting/host/pam_authorization_factory_posix.cc

Issue 12326090: Third Party authentication protocol. (Closed) Base URL: http://git.chromium.org/chromium/src.git@host_key_pair
Patch Set: Add the missing new files 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/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 6d1bf588f701aa7fa6adf281560db12083972c9e..5468aab64f479be9b5091feb30a676d9e3cc27d9 100644
--- a/remoting/host/pam_authorization_factory_posix.cc
+++ b/remoting/host/pam_authorization_factory_posix.cc
@@ -26,6 +26,8 @@ class PamAuthorizer : public protocol::Authenticator {
virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE;
virtual scoped_ptr<protocol::ChannelAuthenticator>
CreateChannelAuthenticator() const OVERRIDE;
+ virtual void PerformExternalAction(
+ const base::Closure& resume_callback) OVERRIDE;
private:
void MaybeCheckLocalLogin();
@@ -82,6 +84,12 @@ PamAuthorizer::CreateChannelAuthenticator() const {
return underlying_->CreateChannelAuthenticator();
}
+void PamAuthorizer::PerformExternalAction(
+ const base::Closure& resume_callback) {
+ underlying_->PerformExternalAction(resume_callback);
+}
+
+
void PamAuthorizer::MaybeCheckLocalLogin() {
if (local_login_status_ == NOT_CHECKED && state() == ACCEPTED) {
local_login_status_ = IsLocalLoginAllowed() ? ALLOWED : DISALLOWED;

Powered by Google App Engine
This is Rietveld 408576698