chromium/content/renderer/service_worker/service_worker_network_provider_for_frame.cc

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

#include "content/renderer/service_worker/service_worker_network_provider_for_frame.h"

#include <utility>

#include "base/feature_list.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "content/public/common/content_features.h"
#include "content/public/common/origin_util.h"
#include "content/public/renderer/render_frame_observer.h"
#include "content/renderer/render_frame_impl.h"
#include "content/renderer/render_thread_impl.h"
#include "content/renderer/service_worker/service_worker_provider_context.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_fetch_handler_bypass_option.mojom-shared.h"
#include "third_party/blink/public/web/web_local_frame.h"

namespace content {

class ServiceWorkerNetworkProviderForFrame::NewDocumentObserver
    : public RenderFrameObserver {};

// static
std::unique_ptr<ServiceWorkerNetworkProviderForFrame>
ServiceWorkerNetworkProviderForFrame::Create(
    RenderFrameImpl* frame,
    blink::mojom::ServiceWorkerContainerInfoForClientPtr container_info,
    blink::mojom::ControllerServiceWorkerInfoPtr controller_info,
    scoped_refptr<network::SharedURLLoaderFactory> fallback_loader_factory) {}

// static
std::unique_ptr<ServiceWorkerNetworkProviderForFrame>
ServiceWorkerNetworkProviderForFrame::CreateInvalidInstance() {}

ServiceWorkerNetworkProviderForFrame::ServiceWorkerNetworkProviderForFrame(
    RenderFrameImpl* frame) {}

ServiceWorkerNetworkProviderForFrame::~ServiceWorkerNetworkProviderForFrame() {}

void ServiceWorkerNetworkProviderForFrame::WillSendRequest(
    blink::WebURLRequest& request) {}

scoped_refptr<network::SharedURLLoaderFactory>
ServiceWorkerNetworkProviderForFrame::GetSubresourceLoaderFactory(
    const network::ResourceRequest& network_request,
    bool is_from_origin_dirty_style_sheet) {}

blink::mojom::ControllerServiceWorkerMode
ServiceWorkerNetworkProviderForFrame::GetControllerServiceWorkerMode() {}

blink::mojom::ServiceWorkerFetchHandlerType
ServiceWorkerNetworkProviderForFrame::GetFetchHandlerType() {}

blink::mojom::ServiceWorkerFetchHandlerBypassOption
ServiceWorkerNetworkProviderForFrame::GetFetchHandlerBypassOption() {}

int64_t ServiceWorkerNetworkProviderForFrame::ControllerServiceWorkerID() {}

void ServiceWorkerNetworkProviderForFrame::DispatchNetworkQuiet() {}

void ServiceWorkerNetworkProviderForFrame::NotifyExecutionReady() {}

}  // namespace content