mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:57:47 +00:00
LaunchServer: Remove unnecessary greet() message
This commit is contained in:
parent
de07dab184
commit
e7fc46879e
4 changed files with 0 additions and 7 deletions
|
@ -40,7 +40,6 @@ class LaunchServerConnection : public IPC::ServerConnection<LaunchClientEndpoint
|
||||||
public:
|
public:
|
||||||
virtual void handshake() override
|
virtual void handshake() override
|
||||||
{
|
{
|
||||||
greet();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -28,10 +28,6 @@ void ClientConnection::die()
|
||||||
s_connections.remove(client_id());
|
s_connections.remove(client_id());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClientConnection::greet()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
Messages::LaunchServer::OpenUrlResponse ClientConnection::open_url(URL const& url, String const& handler_name)
|
Messages::LaunchServer::OpenUrlResponse ClientConnection::open_url(URL const& url, String const& handler_name)
|
||||||
{
|
{
|
||||||
if (!m_allowlist.is_empty()) {
|
if (!m_allowlist.is_empty()) {
|
||||||
|
|
|
@ -22,7 +22,6 @@ public:
|
||||||
private:
|
private:
|
||||||
explicit ClientConnection(NonnullRefPtr<Core::LocalSocket>, int client_id);
|
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::OpenUrlResponse open_url(URL const&, String const&) override;
|
||||||
virtual Messages::LaunchServer::GetHandlersForUrlResponse get_handlers_for_url(URL 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;
|
virtual Messages::LaunchServer::GetHandlersWithDetailsForUrlResponse get_handlers_with_details_for_url(URL const&) override;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
endpoint LaunchServer
|
endpoint LaunchServer
|
||||||
{
|
{
|
||||||
greet() => ()
|
|
||||||
open_url(URL url, String handler_name) => (bool response)
|
open_url(URL url, String handler_name) => (bool response)
|
||||||
get_handlers_for_url(URL url) => (Vector<String> handlers)
|
get_handlers_for_url(URL url) => (Vector<String> handlers)
|
||||||
get_handlers_with_details_for_url(URL url) => (Vector<String> handlers_details)
|
get_handlers_with_details_for_url(URL url) => (Vector<String> handlers_details)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue