/* * Copyright (c) 2023, Andrew Kaster * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "Types.h" #include #include #include #include #include #include #include #include #include ErrorOr> launch_web_content_process( WebView::ViewImplementation& view, ReadonlySpan candidate_web_content_paths, Ladybird::WebContentOptions const&, IPC::File image_decoder_socket, Optional request_server_socket = {}); ErrorOr> launch_image_decoder_process(ReadonlySpan candidate_image_decoder_paths); ErrorOr> launch_web_worker_process(ReadonlySpan candidate_web_worker_paths, RefPtr); ErrorOr> launch_request_server_process(ReadonlySpan candidate_request_server_paths, StringView serenity_resource_root, Vector const& certificates); ErrorOr connect_new_request_server_client(Protocol::RequestClient&); ErrorOr connect_new_image_decoder_client(ImageDecoderClient::Client&);