2023-09-21 12:32:31 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2023, Bastiaan van der Plaat <bastiaan.v.d.plaat@gmail.com>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2025-07-19 23:35:33 -03:00
|
|
|
#include <LibWeb/Export.h>
|
2023-09-21 12:32:31 -03:00
|
|
|
#include <LibWeb/Fetch/Infrastructure/HTTP/Responses.h>
|
2023-09-21 12:55:14 -03:00
|
|
|
#include <LibWeb/Loader/Resource.h>
|
2023-09-21 12:32:31 -03:00
|
|
|
|
|
|
|
|
namespace Web {
|
|
|
|
|
|
2025-07-19 23:35:33 -03:00
|
|
|
WEB_API void set_browser_process_command_line(StringView command_line);
|
|
|
|
|
WEB_API void set_browser_process_executable_path(StringView executable_path);
|
2024-01-16 14:55:40 -03:00
|
|
|
|
2024-06-18 10:26:12 -03:00
|
|
|
ErrorOr<String> load_error_page(URL::URL const&, StringView error_message);
|
2023-09-21 12:55:14 -03:00
|
|
|
|
2024-03-18 00:22:27 -03:00
|
|
|
ErrorOr<String> load_file_directory_page(URL::URL const&);
|
2023-09-21 12:32:31 -03:00
|
|
|
|
2024-01-12 15:41:26 -03:00
|
|
|
ErrorOr<String> load_about_version_page();
|
|
|
|
|
|
2023-09-21 12:32:31 -03:00
|
|
|
}
|