Files
ladybird/Libraries/LibDevTools/Actors/NetworkParentActor.h
Andreas Kling cf010885d5 LibDevTools: Add Firefox DevTools network monitoring support
Hook ResourceLoader to emit network request lifecycle events through
IPC to the UI process, where FrameActor creates NetworkEventActor
instances that serialize requests using Firefox's Remote Debug Protocol.

The Network panel now shows requests with method, URL, status, MIME
type, size, and timing information. Several features remain stubbed
(POST data, response content, cause detection) marked with FIXMEs.
2026-01-15 20:10:19 +01:00

27 lines
561 B
C++

/*
* Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibDevTools/Actor.h>
namespace DevTools {
class DEVTOOLS_API NetworkParentActor final : public Actor {
public:
static constexpr auto base_name = "networkParent"sv;
static NonnullRefPtr<NetworkParentActor> create(DevToolsServer&, String name);
private:
NetworkParentActor(DevToolsServer&, String name);
virtual ~NetworkParentActor() override;
virtual void handle_message(Message const&) override;
};
}