chromium/net/test/url_request/url_request_hanging_read_job.cc

// Copyright 2016 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/test/url_request/url_request_hanging_read_job.h"

#include <memory>
#include <string>

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/strings/stringprintf.h"
#include "base/task/single_thread_task_runner.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_util.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_filter.h"

namespace net {
namespace {

const char kMockHostname[] =;

GURL GetMockUrl(const std::string& scheme, const std::string& hostname) {}

class MockJobInterceptor : public URLRequestInterceptor {};

}  // namespace

URLRequestHangingReadJob::URLRequestHangingReadJob(URLRequest* request)
    :{}

URLRequestHangingReadJob::~URLRequestHangingReadJob() = default;

void URLRequestHangingReadJob::Start() {}

int URLRequestHangingReadJob::ReadRawData(IOBuffer* buf, int buf_size) {}

// Public virtual version.
void URLRequestHangingReadJob::GetResponseInfo(HttpResponseInfo* info) {}

// Private const version.
void URLRequestHangingReadJob::GetResponseInfoConst(
    HttpResponseInfo* info) const {}

void URLRequestHangingReadJob::StartAsync() {}

// static
void URLRequestHangingReadJob::AddUrlHandler() {}

// static
GURL URLRequestHangingReadJob::GetMockHttpUrl() {}

// static
GURL URLRequestHangingReadJob::GetMockHttpsUrl() {}

}  // namespace net