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/authenticator.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/authenticator.h')
-rw-r--r-- | remoting/protocol/authenticator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/protocol/authenticator.h b/remoting/protocol/authenticator.h index 53e0d26..43cf646 100644 --- a/remoting/protocol/authenticator.h +++ b/remoting/protocol/authenticator.h @@ -19,6 +19,10 @@ namespace protocol { class ChannelAuthenticator; +typedef base::Callback<void(const std::string& secret)> SecretFetchedCallback; +typedef base::Callback<void( + const SecretFetchedCallback& secret_fetched_callback)> FetchSecretCallback; + // Authenticator is an abstract interface for authentication protocol // implementations. Different implementations of this interface may be // used on each side of the connection depending of type of the auth |