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..d5ebc53c6eaa4f0451f244ced4138125c786b75e 100644 |
--- a/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h |
+++ b/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h |
@@ -5,10 +5,13 @@ |
#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ACCESS_TOKEN_FETCHER_H |
#define COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ACCESS_TOKEN_FETCHER_H |
+#include "base/callback.h" |
Ilya Sherman
2014/12/11 02:53:21
nit: Please include callback_forward.h instead.
Tim Song
2014/12/12 20:48:44
Done.
|
+ |
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() {} |