#include "content/browser/devtools/auction_worklet_devtools_agent_host.h"
#include "base/functional/bind.h"
#include "base/memory/scoped_refptr.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "content/browser/devtools/render_frame_devtools_agent_host.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/public/browser/child_process_host.h"
namespace content {
namespace {
RenderFrameHostImpl* ContainingLocalRoot(RenderFrameHostImpl* frame) { … }
}
bool AuctionWorkletDevToolsAgentHost::IsRelevantTo(
RenderFrameHostImpl* frame,
DebuggableAuctionWorklet* candidate) { … }
std::string AuctionWorkletDevToolsAgentHost::GetType() { … }
std::string AuctionWorkletDevToolsAgentHost::GetTitle() { … }
GURL AuctionWorkletDevToolsAgentHost::GetURL() { … }
bool AuctionWorkletDevToolsAgentHost::Activate() { … }
void AuctionWorkletDevToolsAgentHost::Reload() { … }
bool AuctionWorkletDevToolsAgentHost::Close() { … }
std::string AuctionWorkletDevToolsAgentHost::GetParentId() { … }
BrowserContext* AuctionWorkletDevToolsAgentHost::GetBrowserContext() { … }
bool AuctionWorkletDevToolsAgentHost::AttachSession(DevToolsSession* session,
bool acquire_wake_lock) { … }
scoped_refptr<AuctionWorkletDevToolsAgentHost>
AuctionWorkletDevToolsAgentHost::Create(DebuggableAuctionWorklet* worklet) { … }
AuctionWorkletDevToolsAgentHost::AuctionWorkletDevToolsAgentHost(
DebuggableAuctionWorklet* worklet)
: … { … }
AuctionWorkletDevToolsAgentHost::~AuctionWorkletDevToolsAgentHost() = default;
void AuctionWorkletDevToolsAgentHost::WorkletDestroyed() { … }
AuctionWorkletDevToolsAgentHostManager&
AuctionWorkletDevToolsAgentHostManager::GetInstance() { … }
AuctionWorkletDevToolsAgentHostManager::
AuctionWorkletDevToolsAgentHostManager() { … }
AuctionWorkletDevToolsAgentHostManager::
~AuctionWorkletDevToolsAgentHostManager() { … }
void AuctionWorkletDevToolsAgentHostManager::GetAll(
DevToolsAgentHost::List* out) { … }
void AuctionWorkletDevToolsAgentHostManager::GetAllForFrame(
RenderFrameHostImpl* frame,
DevToolsAgentHost::List* out) { … }
scoped_refptr<AuctionWorkletDevToolsAgentHost>
AuctionWorkletDevToolsAgentHostManager::GetOrCreateFor(
DebuggableAuctionWorklet* worklet) { … }
void AuctionWorkletDevToolsAgentHostManager::AuctionWorkletCreated(
DebuggableAuctionWorklet* worklet,
bool& should_pause_on_start) { … }
void AuctionWorkletDevToolsAgentHostManager::AuctionWorkletDestroyed(
DebuggableAuctionWorklet* worklet) { … }
}