#include "content/browser/devtools/shared_worker_devtools_agent_host.h"
#include <memory>
#include <utility>
#include "content/browser/devtools/devtools_renderer_channel.h"
#include "content/browser/devtools/devtools_session.h"
#include "content/browser/devtools/protocol/fetch_handler.h"
#include "content/browser/devtools/protocol/inspector_handler.h"
#include "content/browser/devtools/protocol/io_handler.h"
#include "content/browser/devtools/protocol/network_handler.h"
#include "content/browser/devtools/protocol/protocol.h"
#include "content/browser/devtools/protocol/schema_handler.h"
#include "content/browser/devtools/protocol/target_handler.h"
#include "content/browser/devtools/shared_worker_devtools_manager.h"
#include "content/browser/worker_host/shared_worker_host.h"
#include "content/browser/worker_host/shared_worker_service_impl.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
#include "net/cookies/site_for_cookies.h"
#include "third_party/blink/public/mojom/devtools/devtools_agent.mojom.h"
namespace content {
SharedWorkerDevToolsAgentHost* SharedWorkerDevToolsAgentHost::GetFor(
SharedWorkerHost* worker_host) { … }
SharedWorkerDevToolsAgentHost::SharedWorkerDevToolsAgentHost(
SharedWorkerHost* worker_host,
const base::UnguessableToken& devtools_worker_token)
: … { … }
SharedWorkerDevToolsAgentHost::~SharedWorkerDevToolsAgentHost() { … }
BrowserContext* SharedWorkerDevToolsAgentHost::GetBrowserContext() { … }
std::string SharedWorkerDevToolsAgentHost::GetType() { … }
std::string SharedWorkerDevToolsAgentHost::GetTitle() { … }
GURL SharedWorkerDevToolsAgentHost::GetURL() { … }
blink::StorageKey SharedWorkerDevToolsAgentHost::GetStorageKey() const { … }
bool SharedWorkerDevToolsAgentHost::Activate() { … }
void SharedWorkerDevToolsAgentHost::Reload() { … }
bool SharedWorkerDevToolsAgentHost::Close() { … }
bool SharedWorkerDevToolsAgentHost::AttachSession(DevToolsSession* session,
bool acquire_wake_lock) { … }
void SharedWorkerDevToolsAgentHost::DetachSession(DevToolsSession* session) { … }
bool SharedWorkerDevToolsAgentHost::Matches(SharedWorkerHost* worker_host) { … }
void SharedWorkerDevToolsAgentHost::WorkerReadyForInspection(
mojo::PendingRemote<blink::mojom::DevToolsAgent> agent_remote,
mojo::PendingReceiver<blink::mojom::DevToolsAgentHost>
agent_host_receiver) { … }
void SharedWorkerDevToolsAgentHost::WorkerRestarted(
SharedWorkerHost* worker_host) { … }
void SharedWorkerDevToolsAgentHost::WorkerDestroyed() { … }
DevToolsAgentHostImpl::NetworkLoaderFactoryParamsAndInfo
SharedWorkerDevToolsAgentHost::CreateNetworkFactoryParamsForDevTools() { … }
RenderProcessHost* SharedWorkerDevToolsAgentHost::GetProcessHost() { … }
protocol::TargetAutoAttacher* SharedWorkerDevToolsAgentHost::auto_attacher() { … }
}