#include "content/browser/devtools/shared_storage_worklet_devtools_manager.h"
#include "base/containers/contains.h"
#include "base/ranges/algorithm.h"
#include "content/browser/devtools/shared_storage_worklet_devtools_agent_host.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/shared_storage/shared_storage_worklet_host.h"
#include "content/public/browser/browser_thread.h"
namespace content {
SharedStorageWorkletDevToolsManager*
SharedStorageWorkletDevToolsManager::GetInstance() { … }
void SharedStorageWorkletDevToolsManager::AddAllAgentHosts(
std::vector<scoped_refptr<DevToolsAgentHost>>* result) { … }
void SharedStorageWorkletDevToolsManager::WorkletCreated(
SharedStorageWorkletHost& worklet_host,
const base::UnguessableToken& devtools_worklet_token,
bool& wait_for_debugger) { … }
void SharedStorageWorkletDevToolsManager::WorkletReadyForInspection(
SharedStorageWorkletHost& worklet_host,
mojo::PendingRemote<blink::mojom::DevToolsAgent> agent_remote,
mojo::PendingReceiver<blink::mojom::DevToolsAgentHost>
agent_host_receiver) { … }
void SharedStorageWorkletDevToolsManager::WorkletDestroyed(
SharedStorageWorkletHost& worklet_host) { … }
void SharedStorageWorkletDevToolsManager::AddObserver(Observer* observer) { … }
void SharedStorageWorkletDevToolsManager::RemoveObserver(Observer* observer) { … }
void SharedStorageWorkletDevToolsManager::GetAllForFrame(
RenderFrameHostImpl* frame,
DevToolsAgentHost::List* out) { … }
SharedStorageWorkletDevToolsManager::SharedStorageWorkletDevToolsManager() =
default;
SharedStorageWorkletDevToolsManager::~SharedStorageWorkletDevToolsManager() =
default;
}