LaunchServer: Remove unnecessary greet() message

This commit is contained in:
Andreas Kling 2021-05-23 09:20:10 +02:00
parent de07dab184
commit e7fc46879e
4 changed files with 0 additions and 7 deletions

View file

@ -40,7 +40,6 @@ class LaunchServerConnection : public IPC::ServerConnection<LaunchClientEndpoint
public:
virtual void handshake() override
{
greet();
}
private:

View file

@ -28,10 +28,6 @@ void ClientConnection::die()
s_connections.remove(client_id());
}
void ClientConnection::greet()
{
}
Messages::LaunchServer::OpenUrlResponse ClientConnection::open_url(URL const& url, String const& handler_name)
{
if (!m_allowlist.is_empty()) {

View file

@ -22,7 +22,6 @@ public:
private:
explicit ClientConnection(NonnullRefPtr<Core::LocalSocket>, int client_id);
virtual void greet() override;
virtual Messages::LaunchServer::OpenUrlResponse open_url(URL const&, String const&) override;
virtual Messages::LaunchServer::GetHandlersForUrlResponse get_handlers_for_url(URL const&) override;
virtual Messages::LaunchServer::GetHandlersWithDetailsForUrlResponse get_handlers_with_details_for_url(URL const&) override;

View file

@ -1,6 +1,5 @@
endpoint LaunchServer
{
greet() => ()
open_url(URL url, String handler_name) => (bool response)
get_handlers_for_url(URL url) => (Vector<String> handlers)
get_handlers_with_details_for_url(URL url) => (Vector<String> handlers_details)