mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
InspectorServer: Remove unnecessary greet() message
This commit is contained in:
parent
78b57fcea3
commit
03df8882df
Notes:
sideshowbarker
2024-07-18 17:31:00 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/03df8882dff
4 changed files with 0 additions and 9 deletions
|
@ -20,7 +20,6 @@ class InspectorServerClient final
|
|||
public:
|
||||
virtual void handshake() override
|
||||
{
|
||||
greet();
|
||||
}
|
||||
|
||||
virtual ~InspectorServerClient() override = default;
|
||||
|
|
|
@ -27,10 +27,6 @@ void ClientConnection::die()
|
|||
s_connections.remove(client_id());
|
||||
}
|
||||
|
||||
void ClientConnection::greet()
|
||||
{
|
||||
}
|
||||
|
||||
Messages::InspectorServer::GetAllObjectsResponse ClientConnection::get_all_objects(pid_t pid)
|
||||
{
|
||||
auto process = InspectableProcess::from_pid(pid);
|
||||
|
|
|
@ -24,7 +24,6 @@ public:
|
|||
virtual void die() override;
|
||||
|
||||
private:
|
||||
virtual void greet() override;
|
||||
virtual Messages::InspectorServer::GetAllObjectsResponse get_all_objects(pid_t) override;
|
||||
virtual Messages::InspectorServer::SetInspectedObjectResponse set_inspected_object(pid_t, u64 object_id) override;
|
||||
virtual Messages::InspectorServer::SetObjectPropertyResponse set_object_property(pid_t, u64 object_id, String const& name, String const& value) override;
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
endpoint InspectorServer
|
||||
{
|
||||
greet() => ()
|
||||
|
||||
get_all_objects(i32 pid) => (String json)
|
||||
set_inspected_object(i32 pid, u64 object_id) => (bool success)
|
||||
set_object_property(i32 pid, u64 object_id, String name, String value) => (bool success)
|
||||
identify(i32 pid) => (String json)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue