Index: components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h |
diff --git a/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h b/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h |
index 17c19bd0ea77c4666e20314812f3629b1b5b4d1d..5bf5783aef3c6e53a24a09b7b656df00fafb195e 100644 |
--- a/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h |
+++ b/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h |
@@ -5,9 +5,10 @@ |
#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H |
#define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_IMPL_H |
+#include <memory> |
+ |
#include "base/callback.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h" |
#include "google_apis/gaia/oauth2_token_service.h" |
@@ -45,7 +46,7 @@ class CryptAuthAccessTokenFetcherImpl : public CryptAuthAccessTokenFetcher, |
bool fetch_started_; |
// Stores the request from |token_service_| to mint the token. |
- scoped_ptr<OAuth2TokenService::Request> token_request_; |
+ std::unique_ptr<OAuth2TokenService::Request> token_request_; |
// Callback to invoke when the token fetch succeeds or fails. |
AccessTokenCallback callback_; |