ladybird/Libraries/LibWeb/Loader/GeneratedPagesLoader.h
2025-08-23 16:04:36 -06:00

24 lines
614 B
C++

/*
* Copyright (c) 2023, Bastiaan van der Plaat <bastiaan.v.d.plaat@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/Export.h>
#include <LibWeb/Fetch/Infrastructure/HTTP/Responses.h>
#include <LibWeb/Loader/Resource.h>
namespace Web {
WEB_API void set_browser_process_command_line(StringView command_line);
WEB_API void set_browser_process_executable_path(StringView executable_path);
ErrorOr<String> load_error_page(URL::URL const&, StringView error_message);
ErrorOr<String> load_file_directory_page(URL::URL const&);
ErrorOr<String> load_about_version_page();
}