chromium/third_party/blink/renderer/core/loader/web_bundle/web_bundle_loader.cc

// Copyright 2021 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/loader/web_bundle/web_bundle_loader.h"

#include "base/unguessable_token.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/loader/threadable_loader.h"
#include "third_party/blink/renderer/core/loader/threadable_loader_client.h"
#include "third_party/blink/renderer/platform/loader/cors/cors.h"
#include "third_party/blink/renderer/platform/loader/fetch/bytes_consumer.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_fetcher.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_request.h"
#include "third_party/blink/renderer/platform/loader/fetch/subresource_web_bundle.h"

namespace blink {

WebBundleLoader::WebBundleLoader(
    SubresourceWebBundle& subresource_web_bundle,
    Document& document,
    const KURL& url,
    network::mojom::CredentialsMode credentials_mode)
    :{}

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

void WebBundleLoader::DidStartLoadingResponseBody(BytesConsumer& consumer) {}

void WebBundleLoader::DidFail(uint64_t, const ResourceError&) {}

void WebBundleLoader::DidFailRedirectCheck(uint64_t) {}

void WebBundleLoader::Clone(
    mojo::PendingReceiver<network::mojom::blink::WebBundleHandle> receiver) {}

void WebBundleLoader::OnWebBundleError(
    network::mojom::blink::WebBundleErrorType type,
    const String& message) {}

void WebBundleLoader::OnWebBundleLoadFinished(bool success) {}

void WebBundleLoader::ClearReceivers() {}

void WebBundleLoader::DidFailInternal() {}

}  // namespace blink