#include "services/network/test/trust_token_test_server_handler_registration.h"
#include <memory>
#include <optional>
#include <string_view>
#include "base/base64.h"
#include "base/check.h"
#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/test/bind.h"
#include "net/http/http_request_headers.h"
#include "net/test/embedded_test_server/http_request.h"
#include "net/test/embedded_test_server/http_response.h"
#include "services/network/test/trust_token_request_handler.h"
#include "services/network/trust_tokens/suitable_trust_token_origin.h"
namespace network::test {
namespace {
const char kIssuanceRelativePath[] = …;
const char kRedemptionRelativePath[] = …;
const char kSignedRequestVerificationRelativePath[] = …;
std::unique_ptr<net::test_server::HttpResponse>
MakeTrustTokenFailureResponse() { … }
std::unique_ptr<net::test_server::HttpResponse> MakeTrustTokenResponse(
std::string_view contents) { … }
}
void RegisterTrustTokenTestHandlers(net::EmbeddedTestServer* test_server,
TrustTokenRequestHandler* handler) { … }
}