| Index: components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h
|
| diff --git a/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h b/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h
|
| index 04dbe2f5e43f0c9b3c18b8cd44ebd3570c97a9d6..6287dfeabd21e7800072a735e72b2cf831eaa1d0 100644
|
| --- a/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h
|
| +++ b/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h
|
| @@ -5,10 +5,15 @@
|
| #ifndef COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ACCESS_TOKEN_FETCHER_H
|
| #define COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ACCESS_TOKEN_FETCHER_H
|
|
|
| +#include <string>
|
| +
|
| +#include "base/callback_forward.h"
|
| +
|
| namespace proximity_auth {
|
|
|
| // Simple interface for fetching the OAuth2 access token that authorizes
|
| -// CryptAuth API calls.
|
| +// CryptAuth API calls. Do not reuse this after calling FetchAccessToken();
|
| +// instead, create a new instance.
|
| class CryptAuthAccessTokenFetcher {
|
| public:
|
| virtual ~CryptAuthAccessTokenFetcher() {}
|
|
|