Index: components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h |
diff --git a/components/proximity_auth/cryptauth/cryptauth_account_token_fetcher.h b/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h |
similarity index 72% |
rename from components/proximity_auth/cryptauth/cryptauth_account_token_fetcher.h |
rename to components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h |
index 49ce4b0781d6ed7218a734fddc26162d62fc55de..af798ae159d8fedd8462a4abc8e05e4d6774ac32 100644 |
--- a/components/proximity_auth/cryptauth/cryptauth_account_token_fetcher.h |
+++ b/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ACCOUNT_TOKEN_FETCHER_IMPL_H |
-#define COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ACCOUNT_TOKEN_FETCHER_IMPL_H |
+#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H |
+#define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H |
#include "base/callback.h" |
#include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h" |
@@ -13,13 +13,13 @@ namespace proximity_auth { |
// Implementation of CryptAuthAccessTokenFetcher fetching an access token for a |
// given account using the provided OAuth2TokenService. |
-class CryptAuthAccountTokenFetcher : public CryptAuthAccessTokenFetcher, |
- public OAuth2TokenService::Consumer { |
+class CryptAuthAccessTokenFetcherImpl : public CryptAuthAccessTokenFetcher, |
+ public OAuth2TokenService::Consumer { |
public: |
// |token_service| is not owned, and must outlive this object. |
- CryptAuthAccountTokenFetcher(OAuth2TokenService* token_service, |
- const std::string& account_id); |
- ~CryptAuthAccountTokenFetcher() override; |
+ CryptAuthAccessTokenFetcherImpl(OAuth2TokenService* token_service, |
+ const std::string& account_id); |
+ ~CryptAuthAccessTokenFetcherImpl() override; |
// CryptAuthAccessTokenFetcher: |
void FetchAccessToken(const AccessTokenCallback& callback) override; |
@@ -48,9 +48,9 @@ class CryptAuthAccountTokenFetcher : public CryptAuthAccessTokenFetcher, |
// Callback to invoke when the token fetch succeeds or fails. |
AccessTokenCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(CryptAuthAccountTokenFetcher); |
+ DISALLOW_COPY_AND_ASSIGN(CryptAuthAccessTokenFetcherImpl); |
}; |
} // namespace proximity_auth |
-#endif // COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ACCESS_TOKEN_FETCHER_IMPL_H |
+#endif // COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H |