#include "content/browser/devtools/dedicated_worker_devtools_agent_host.h"
#include "content/browser/devtools/protocol/io_handler.h"
#include "content/browser/devtools/protocol/network_handler.h"
#include "content/browser/devtools/protocol/target_auto_attacher.h"
#include "content/browser/devtools/protocol/target_handler.h"
#include "content/browser/devtools/worker_devtools_manager.h"
#include "content/browser/storage_partition_impl.h"
#include "content/browser/worker_host/dedicated_worker_host.h"
namespace content {
DedicatedWorkerDevToolsAgentHost* DedicatedWorkerDevToolsAgentHost::GetFor(
const DedicatedWorkerHost* host) { … }
DedicatedWorkerDevToolsAgentHost::DedicatedWorkerDevToolsAgentHost(
int process_id,
const GURL& url,
const std::string& name,
const base::UnguessableToken& devtools_worker_token,
const std::string& parent_id,
base::OnceCallback<void(DevToolsAgentHostImpl*)> destroyed_callback)
: … { … }
DedicatedWorkerDevToolsAgentHost::~DedicatedWorkerDevToolsAgentHost() = default;
std::string DedicatedWorkerDevToolsAgentHost::GetType() { … }
DedicatedWorkerHost*
DedicatedWorkerDevToolsAgentHost::GetDedicatedWorkerHost() { … }
bool DedicatedWorkerDevToolsAgentHost::AttachSession(DevToolsSession* session,
bool acquire_wake_lock) { … }
protocol::TargetAutoAttacher*
DedicatedWorkerDevToolsAgentHost::auto_attacher() { … }
std::optional<network::CrossOriginEmbedderPolicy>
DedicatedWorkerDevToolsAgentHost::cross_origin_embedder_policy(
const std::string&) { … }
}