#include "components/ip_protection/common/ip_protection_token_direct_fetcher.h"
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include "base/check.h"
#include "base/sequence_checker.h"
#include "components/ip_protection/common/ip_protection_config_http.h"
#include "components/ip_protection/common/ip_protection_token_fetcher.h"
#include "net/third_party/quiche/src/quiche/blind_sign_auth/blind_sign_auth.h"
#include "net/third_party/quiche/src/quiche/blind_sign_auth/blind_sign_auth_interface.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
namespace ip_protection {
IpProtectionTokenDirectFetcher::IpProtectionTokenDirectFetcher(
std::unique_ptr<network::PendingSharedURLLoaderFactory>
pending_url_loader_factory,
std::unique_ptr<quiche::BlindSignAuthInterface>
blind_sign_auth_for_testing) { … }
IpProtectionTokenDirectFetcher::~IpProtectionTokenDirectFetcher() = default;
void IpProtectionTokenDirectFetcher::FetchBlindSignedToken(
std::optional<std::string> access_token,
uint32_t batch_size,
quiche::ProxyLayer proxy_layer,
FetchBlindSignedTokenCallback callback) { … }
}