1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

LibFileSystemAccessClient: Rename try_save_file =>

`try_save_file_deprecated`

This precedes the addition of a new api using `Core::Stream`
This commit is contained in:
Lucas CHOLLET 2022-12-07 23:02:03 +01:00 committed by Linus Groh
parent c71fc0683f
commit 9ae97c8cb1
Notes: sideshowbarker 2024-07-17 12:02:22 +09:00
12 changed files with 16 additions and 16 deletions

View file

@ -93,7 +93,7 @@ DeprecatedResult Client::try_open_file(GUI::Window* parent_window, DeprecatedStr
return handle_promise(id);
}
DeprecatedResult Client::try_save_file(GUI::Window* parent_window, DeprecatedString const& name, DeprecatedString const ext, Core::OpenMode requested_access)
DeprecatedResult Client::try_save_file_deprecated(GUI::Window* parent_window, DeprecatedString const& name, DeprecatedString const ext, Core::OpenMode requested_access)
{
auto const id = get_new_id();
m_promises.set(id, PromiseAndWindow { Core::Promise<DeprecatedResult>::construct(), parent_window });