mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 10:18:51 +00:00
LibWebView+ImageDecoder+RequestServer+WebContent: Add init_transport
This commit is contained in:
parent
652af318db
commit
3e46cb9067
Notes:
github-actions[bot]
2025-02-13 11:46:18 +00:00
Author: https://github.com/stasoid
Commit: 3e46cb9067
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3179
Reviewed-by: https://github.com/ADKaster ✅
14 changed files with 52 additions and 0 deletions
|
@ -279,6 +279,15 @@ void ConnectionFromClient::die()
|
|||
Core::EventLoop::current().quit(0);
|
||||
}
|
||||
|
||||
Messages::RequestServer::InitTransportResponse ConnectionFromClient::init_transport([[maybe_unused]] int peer_pid)
|
||||
{
|
||||
#ifdef AK_OS_WINDOWS
|
||||
m_transport.set_peer_pid(peer_pid);
|
||||
return Core::System::getpid();
|
||||
#endif
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
Messages::RequestServer::ConnectNewClientResponse ConnectionFromClient::connect_new_client()
|
||||
{
|
||||
static_assert(IsSame<IPC::Transport, IPC::TransportSocket>, "Need to handle other IPC transports here");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue