chromium/third_party/blink/renderer/core/testing/sim/sim_request.cc

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

#include "third_party/blink/renderer/core/testing/sim/sim_request.h"

#include "third_party/blink/renderer/core/testing/sim/sim_network.h"
#include "third_party/blink/renderer/platform/loader/fetch/url_loader/url_loader_client.h"
#include "third_party/blink/renderer/platform/loader/static_data_navigation_body_loader.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "third_party/blink/renderer/platform/wtf/text/string_utf8_adaptor.h"

namespace blink {

SimRequestBase::SimRequestBase(KURL url,
                               String mime_type,
                               bool start_immediately,
                               Params params)
    :{}

SimRequestBase::~SimRequestBase() {}

void SimRequestBase::DidReceiveResponse(URLLoaderClient* client,
                                        const WebURLResponse& response) {}

void SimRequestBase::DidFail(const WebURLError& error) {}

void SimRequestBase::UsedForNavigation(
    StaticDataNavigationBodyLoader* navigation_body_loader) {}

void SimRequestBase::StartInternal() {}

void SimRequestBase::Write(const String& data) {}

void SimRequestBase::Write(const Vector<char>& data) {}

void SimRequestBase::WriteInternal(base::span<const char> data) {}

void SimRequestBase::Finish(bool body_loader_finished) {}

void SimRequestBase::Complete(const String& data) {}

void SimRequestBase::Complete(const Vector<char>& data) {}

void SimRequestBase::Reset() {}

void SimRequestBase::ServePending() {}

SimRequest::SimRequest(KURL url, String mime_type, Params params)
    :{}

SimRequest::SimRequest(String url, String mime_type, Params params)
    :{}

SimRequest::~SimRequest() = default;

SimSubresourceRequest::SimSubresourceRequest(KURL url,
                                             String mime_type,
                                             Params params)
    :{}

SimSubresourceRequest::SimSubresourceRequest(String url,
                                             String mime_type,
                                             Params params)
    :{}

SimSubresourceRequest::~SimSubresourceRequest() = default;

void SimSubresourceRequest::Start() {}

}  // namespace blink