1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

LibCore: Remove SessionManagement utilities

We don't need these, they are only relevant for SerenityOS system
builds of LibCore.
This commit is contained in:
Andrew Kaster 2024-11-21 13:18:35 -07:00 committed by Andreas Kling
parent 1549d393b9
commit 0075048206
Notes: github-actions[bot] 2024-11-26 10:01:50 +00:00
10 changed files with 1 additions and 96 deletions

View file

@ -6,7 +6,6 @@
#pragma once
#include <LibCore/SessionManagement.h>
#include <LibIPC/Connection.h>
namespace IPC {

View file

@ -16,13 +16,6 @@ namespace IPC {
template<typename ConnectionFromClientType>
class MultiServer {
public:
static ErrorOr<NonnullOwnPtr<MultiServer>> try_create(Optional<ByteString> socket_path = {})
{
auto server = TRY(Core::LocalServer::try_create());
TRY(server->take_over_from_system_server(socket_path.value_or({})));
return adopt_nonnull_own_or_enomem(new (nothrow) MultiServer(move(server)));
}
static ErrorOr<NonnullOwnPtr<MultiServer>> try_create(NonnullRefPtr<Core::LocalServer> server)
{
return adopt_nonnull_own_or_enomem(new (nothrow) MultiServer(move(server)));