mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibDevTools: Move message data into a structure
This is to prepare for an upcoming change where we will need to track replies to messages by ID. We will be able to add parameters to this structure without having to edit every single actor subclass header file.
This commit is contained in:
Notes:
github-actions[bot]
2025-03-13 20:57:59 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/24a5e4e7d57 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3920
@@ -18,12 +18,12 @@ public:
|
||||
static NonnullRefPtr<ThreadConfigurationActor> create(DevToolsServer&, String name);
|
||||
virtual ~ThreadConfigurationActor() override;
|
||||
|
||||
virtual void handle_message(StringView type, JsonObject const&) override;
|
||||
|
||||
JsonObject serialize_configuration() const;
|
||||
|
||||
private:
|
||||
ThreadConfigurationActor(DevToolsServer&, String name);
|
||||
|
||||
virtual void handle_message(Message const&) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user