chromium/third_party/blink/renderer/core/fetch/fetch_response_data.cc

// Copyright 2014 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/fetch/fetch_response_data.h"

#include "base/numerics/safe_conversions.h"
#include "storage/common/quota/padding_key.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/blink/public/mojom/fetch/fetch_api_response.mojom-blink.h"
#include "third_party/blink/renderer/core/fetch/fetch_header_list.h"
#include "third_party/blink/renderer/core/typed_arrays/dom_array_buffer.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/loader/cors/cors.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_utils.h"
#include "third_party/blink/renderer/platform/network/http_names.h"
#include "third_party/blink/renderer/platform/network/http_parsers.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"

Type;
ResponseSource;

namespace blink {

namespace {

Vector<String> HeaderSetToVector(const HTTPHeaderSet& headers) {}

}  // namespace

FetchResponseData* FetchResponseData::Create() {}

FetchResponseData* FetchResponseData::CreateNetworkErrorResponse() {}

FetchResponseData* FetchResponseData::CreateWithBuffer(
    BodyStreamBuffer* buffer) {}

FetchResponseData* FetchResponseData::CreateBasicFilteredResponse() const {}

FetchResponseData* FetchResponseData::CreateCorsFilteredResponse(
    const HTTPHeaderSet& exposed_headers) const {}

FetchResponseData* FetchResponseData::CreateOpaqueFilteredResponse() const {}

FetchResponseData* FetchResponseData::CreateOpaqueRedirectFilteredResponse()
    const {}

const KURL* FetchResponseData::Url() const {}

uint16_t FetchResponseData::InternalStatus() const {}

FetchHeaderList* FetchResponseData::InternalHeaderList() const {}

String FetchResponseData::MimeType() const {}

BodyStreamBuffer* FetchResponseData::InternalBuffer() const {}

String FetchResponseData::InternalMIMEType() const {}

bool FetchResponseData::RequestIncludeCredentials() const {}

void FetchResponseData::SetURLList(const Vector<KURL>& url_list) {}

const Vector<KURL>& FetchResponseData::InternalURLList() const {}

FetchResponseData* FetchResponseData::Clone(ScriptState* script_state,
                                            ExceptionState& exception_state) {}

mojom::blink::FetchAPIResponsePtr FetchResponseData::PopulateFetchAPIResponse(
    const KURL& request_url) {}

void FetchResponseData::InitFromResourceResponse(
    ExecutionContext* context,
    network::mojom::FetchResponseType response_type,
    const Vector<KURL>& request_url_list,
    const AtomicString& request_method,
    network::mojom::CredentialsMode request_credentials,
    const ResourceResponse& response) {}

FetchResponseData::FetchResponseData(Type type,
                                     network::mojom::FetchResponseSource source,
                                     uint16_t status,
                                     AtomicString status_message)
    :{}

void FetchResponseData::SetAuthChallengeInfo(
    const std::optional<net::AuthChallengeInfo>& auth_challenge_info) {}

void FetchResponseData::SetRequestIncludeCredentials(
    bool request_include_credentials) {}

void FetchResponseData::ReplaceBodyStreamBuffer(BodyStreamBuffer* buffer) {}

void FetchResponseData::Trace(Visitor* visitor) const {}

}  // namespace blink