// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef GOOGLE_APIS_GAIA_GAIA_ACCESS_TOKEN_FETCHER_H_ #define GOOGLE_APIS_GAIA_GAIA_ACCESS_TOKEN_FETCHER_H_ #include <memory> #include <string> #include "base/component_export.h" #include "base/memory/ref_counted.h" #include "google_apis/gaia/oauth2_access_token_fetcher_impl.h" class OAuth2AccessTokenConsumer; namespace network { class SharedURLLoaderFactory; } // An implementation of OAuth2AccessTokenFetcherImpl for retrieving OAuth2 // tokens from Google's authorization server. See "Refreshing an access token" // for more Google specific info: // https://developers.google.com/identity/protocols/oauth2/web-server?csw=1#obtainingaccesstokens class COMPONENT_EXPORT(GOOGLE_APIS) GaiaAccessTokenFetcher : public OAuth2AccessTokenFetcherImpl { … }; #endif // GOOGLE_APIS_GAIA_GAIA_ACCESS_TOKEN_FETCHER_H_