#include "net/proxy_resolution/mock_pac_file_fetcher.h"
#include <string>
#include <utility>
#include "base/check.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "net/base/net_errors.h"
namespace net {
MockPacFileFetcher::MockPacFileFetcher() = default;
MockPacFileFetcher::~MockPacFileFetcher() = default;
int MockPacFileFetcher::Fetch(
const GURL& url,
std::u16string* text,
CompletionOnceCallback callback,
const NetworkTrafficAnnotationTag traffic_annotation) { … }
void MockPacFileFetcher::NotifyFetchCompletion(int result,
const std::string& ascii_text) { … }
void MockPacFileFetcher::Cancel() { … }
void MockPacFileFetcher::OnShutdown() { … }
URLRequestContext* MockPacFileFetcher::GetRequestContext() const { … }
const GURL& MockPacFileFetcher::pending_request_url() const { … }
bool MockPacFileFetcher::has_pending_request() const { … }
void MockPacFileFetcher::WaitUntilFetch() { … }
}