#include "services/network/trust_tokens/operation_timing_request_helper_wrapper.h"
#include "net/http/http_request_headers.h"
namespace network {
OperationTimingRequestHelperWrapper::OperationTimingRequestHelperWrapper(
std::unique_ptr<TrustTokenOperationMetricsRecorder> metrics_recorder,
std::unique_ptr<TrustTokenRequestHelper> helper)
: … { … }
OperationTimingRequestHelperWrapper::~OperationTimingRequestHelperWrapper() =
default;
void OperationTimingRequestHelperWrapper::Begin(
const GURL& url,
base::OnceCallback<void(std::optional<net::HttpRequestHeaders>,
mojom::TrustTokenOperationStatus)> done) { … }
void OperationTimingRequestHelperWrapper::Finalize(
net::HttpResponseHeaders& response_headers,
base::OnceCallback<void(mojom::TrustTokenOperationStatus)> done) { … }
void OperationTimingRequestHelperWrapper::FinishBegin(
base::OnceCallback<void(std::optional<net::HttpRequestHeaders>,
mojom::TrustTokenOperationStatus)> done,
std::optional<net::HttpRequestHeaders> request_headers,
mojom::TrustTokenOperationStatus status) { … }
void OperationTimingRequestHelperWrapper::FinishFinalize(
base::OnceCallback<void(mojom::TrustTokenOperationStatus)> done,
mojom::TrustTokenOperationStatus status) { … }
mojom::TrustTokenOperationResultPtr
OperationTimingRequestHelperWrapper::CollectOperationResultWithStatus(
mojom::TrustTokenOperationStatus status) { … }
}