#include "content/browser/worker_host/test_shared_worker_service_impl.h"
#include <utility>
#include <vector>
#include "base/task/single_thread_task_runner.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
namespace content {
TestSharedWorkerServiceImpl::TestSharedWorkerServiceImpl(
StoragePartitionImpl* storage_partition,
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context)
: … { … }
TestSharedWorkerServiceImpl::~TestSharedWorkerServiceImpl() = default;
void TestSharedWorkerServiceImpl::TerminateAllWorkers(
base::OnceClosure callback) { … }
void TestSharedWorkerServiceImpl::SetWorkerTerminationCallback(
base::OnceClosure callback) { … }
void TestSharedWorkerServiceImpl::DestroyHost(SharedWorkerHost* host) { … }
void TestSharedWorkerServiceImpl::OnRemoteSharedWorkerConnectionLost(
mojo::RemoteSetElementId id) { … }
}