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:
parent
1549d393b9
commit
0075048206
Notes:
github-actions[bot]
2024-11-26 10:01:50 +00:00
Author: https://github.com/ADKaster
Commit: 0075048206
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2582
10 changed files with 1 additions and 96 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibCore/SessionManagement.h>
|
||||
#include <LibIPC/Connection.h>
|
||||
|
||||
namespace IPC {
|
||||
|
|
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue