chromium/net/proxy_resolution/mock_pac_file_fetcher.cc

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

#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;

// PacFileFetcher implementation.
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() {}

}  // namespace net