#include "content/browser/service_worker/service_worker_main_resource_handle.h"
#include <utility>
#include "base/functional/bind.h"
#include "content/browser/renderer_host/policy_container_host.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/global_routing_id.h"
#include "services/network/public/cpp/cross_origin_embedder_policy.h"
namespace content {
ServiceWorkerMainResourceHandle::ServiceWorkerMainResourceHandle(
scoped_refptr<ServiceWorkerContextWrapper> context_wrapper,
ServiceWorkerAccessedCallback on_service_worker_accessed,
base::WeakPtr<ServiceWorkerClient> parent_service_worker_client)
: … { … }
ServiceWorkerMainResourceHandle::~ServiceWorkerMainResourceHandle() = default;
void ServiceWorkerMainResourceHandle::set_service_worker_client(
ScopedServiceWorkerClient scoped_service_worker_client) { … }
base::WeakPtr<ServiceWorkerClient>
ServiceWorkerMainResourceHandle::service_worker_client() { … }
}