#include "content/browser/worker_host/dedicated_worker_service_impl.h"
#include "base/not_fatal_until.h"
#include "base/observer_list.h"
#include "content/browser/worker_host/dedicated_worker_host.h"
#include "content/public/browser/browser_thread.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "url/origin.h"
namespace content {
DedicatedWorkerServiceImpl::DedicatedWorkerServiceImpl() = default;
DedicatedWorkerServiceImpl::~DedicatedWorkerServiceImpl() = default;
void DedicatedWorkerServiceImpl::AddObserver(Observer* observer) { … }
void DedicatedWorkerServiceImpl::RemoveObserver(Observer* observer) { … }
void DedicatedWorkerServiceImpl::EnumerateDedicatedWorkers(Observer* observer) { … }
void DedicatedWorkerServiceImpl::NotifyWorkerCreated(
DedicatedWorkerHost* host) { … }
void DedicatedWorkerServiceImpl::NotifyBeforeWorkerDestroyed(
const blink::DedicatedWorkerToken& dedicated_worker_token,
DedicatedWorkerCreator creator) { … }
void DedicatedWorkerServiceImpl::NotifyWorkerFinalResponseURLDetermined(
const blink::DedicatedWorkerToken& dedicated_worker_token,
const GURL& url) { … }
bool DedicatedWorkerServiceImpl::HasToken(
const blink::DedicatedWorkerToken& worker_token) const { … }
DedicatedWorkerHost*
DedicatedWorkerServiceImpl::GetDedicatedWorkerHostFromToken(
const blink::DedicatedWorkerToken& dedicated_worker_token) const { … }
}