diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-22 09:00:23 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-22 09:00:23 +0000 |
commit | 6434bfe41768fc8d86f77c6772721a60e356a01f (patch) | |
tree | e214bfb5547f84109633d879655d04c559a47033 /remoting/protocol/negotiating_authenticator_base.h | |
parent | 62efa785ae40cd8058db085d0d57dfe31dd3e49f (diff) | |
download | chromium_src-6434bfe41768fc8d86f77c6772721a60e356a01f.zip chromium_src-6434bfe41768fc8d86f77c6772721a60e356a01f.tar.gz chromium_src-6434bfe41768fc8d86f77c6772721a60e356a01f.tar.bz2 |
PairingAuthenticator implementation and plumbing.
This CL introduces the pairing authenticator classes, adds support for them
to the negotiating authenticator classes and some minimal plumbing.
BUG=156182
Review URL: https://chromiumcodereview.appspot.com/14793021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/negotiating_authenticator_base.h')
-rw-r--r-- | remoting/protocol/negotiating_authenticator_base.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/protocol/negotiating_authenticator_base.h b/remoting/protocol/negotiating_authenticator_base.h index 97209c5..1f80967 100644 --- a/remoting/protocol/negotiating_authenticator_base.h +++ b/remoting/protocol/negotiating_authenticator_base.h @@ -71,7 +71,11 @@ class NegotiatingAuthenticatorBase : public Authenticator { // Calls |current_authenticator_| to process |message|, passing the supplied // |resume_callback|. void ProcessMessageInternal(const buzz::XmlElement* message, - const base::Closure& resume_callback); + const base::Closure& resume_callback); + + const AuthenticationMethod& current_method_for_testing() const { + return current_method_; + } protected: static const buzz::StaticQName kMethodAttributeQName; |