chromium/components/endpoint_fetcher/mock_endpoint_fetcher.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}