| Index: remoting/protocol/third_party_client_authenticator.h
|
| diff --git a/remoting/protocol/third_party_client_authenticator.h b/remoting/protocol/third_party_client_authenticator.h
|
| index 823aad4321a54ed633fec385ee05c47eb816beda..7ebc04f4afbf813c30eccfd8906f52af367605d7 100644
|
| --- a/remoting/protocol/third_party_client_authenticator.h
|
| +++ b/remoting/protocol/third_party_client_authenticator.h
|
| @@ -55,9 +55,11 @@ class ThirdPartyClientAuthenticator : public ThirdPartyAuthenticatorBase {
|
| const TokenFetchedCallback& token_fetched_callback) = 0;
|
| };
|
|
|
| - // Creates a third-party client authenticator for the host with the given
|
| - // |host_public_key|. |token_fetcher| is used to get the authentication token.
|
| - explicit ThirdPartyClientAuthenticator(
|
| + // Creates a third-party client authenticator.
|
| + // |create_base_authenticator_callback| is used to create the base
|
| + // authenticator. |token_fetcher| is used to get the authentication token.
|
| + ThirdPartyClientAuthenticator(
|
| + const CreateBaseAuthenticatorCallback& create_base_authenticator_callback,
|
| scoped_ptr<TokenFetcher> token_fetcher);
|
| ~ThirdPartyClientAuthenticator() override;
|
|
|
| @@ -72,8 +74,9 @@ class ThirdPartyClientAuthenticator : public ThirdPartyAuthenticatorBase {
|
| const std::string& third_party_token,
|
| const std::string& shared_secret);
|
|
|
| - std::string token_;
|
| + CreateBaseAuthenticatorCallback create_base_authenticator_callback_;
|
| scoped_ptr<TokenFetcher> token_fetcher_;
|
| + std::string token_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ThirdPartyClientAuthenticator);
|
| };
|
|
|