#include "content/browser/devtools/shared_worker_devtools_manager.h"
#include "base/containers/contains.h"
#include "base/ranges/algorithm.h"
#include "content/browser/devtools/shared_worker_devtools_agent_host.h"
#include "content/browser/worker_host/shared_worker_host.h"
#include "content/public/browser/browser_thread.h"
namespace content {
SharedWorkerDevToolsManager* SharedWorkerDevToolsManager::GetInstance() { … }
void SharedWorkerDevToolsManager::AddAllAgentHosts(
SharedWorkerDevToolsAgentHost::List* result) { … }
void SharedWorkerDevToolsManager::WorkerCreated(
SharedWorkerHost* worker_host,
bool* pause_on_start,
base::UnguessableToken* devtools_worker_token) { … }
void SharedWorkerDevToolsManager::WorkerReadyForInspection(
SharedWorkerHost* worker_host,
mojo::PendingRemote<blink::mojom::DevToolsAgent> agent_remote,
mojo::PendingReceiver<blink::mojom::DevToolsAgentHost>
agent_host_receiver) { … }
void SharedWorkerDevToolsManager::WorkerDestroyed(
SharedWorkerHost* worker_host) { … }
void SharedWorkerDevToolsManager::AgentHostDestroyed(
SharedWorkerDevToolsAgentHost* agent_host) { … }
SharedWorkerDevToolsAgentHost* SharedWorkerDevToolsManager::GetDevToolsHost(
SharedWorkerHost* host) { … }
SharedWorkerDevToolsManager::SharedWorkerDevToolsManager() = default;
SharedWorkerDevToolsManager::~SharedWorkerDevToolsManager() = default;
}