#include <string>
#include <vector>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "components/endpoint_fetcher/endpoint_fetcher.h"
#include "components/endpoint_fetcher/mock_endpoint_fetcher.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
MockEndpointFetcher::MockEndpointFetcher()
: … { … }
MockEndpointFetcher::~MockEndpointFetcher() = default;
void MockEndpointFetcher::SetFetchResponse(
std::string response_string,
int http_status_code,
std::optional<FetchErrorType> error_type) { … }