summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/negotiating_authenticator_base.h
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 09:00:23 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 09:00:23 +0000
commit6434bfe41768fc8d86f77c6772721a60e356a01f (patch)
treee214bfb5547f84109633d879655d04c559a47033 /remoting/protocol/negotiating_authenticator_base.h
parent62efa785ae40cd8058db085d0d57dfe31dd3e49f (diff)
downloadchromium_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.h6
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;