mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 07:33:20 +00:00
LibDatabase+LibWebView: Extract our SQLite wrapper to its own library
It currently lives in LibWebView as it was only used for cookies and local storage, both of which are managed in the UI process. Let's move it to its own library now to allow other processes to use it, without having to depend on LibWebView (and therefore LibWeb).
This commit is contained in:
parent
e433dee543
commit
187d02c45d
Notes:
github-actions[bot]
2025-10-14 11:42:04 +00:00
Author: https://github.com/trflynn89
Commit: 187d02c45d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6435
13 changed files with 68 additions and 45 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <AK/Swift.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
#include <LibCore/Forward.h>
|
||||
#include <LibDatabase/Forward.h>
|
||||
#include <LibDevTools/DevToolsDelegate.h>
|
||||
#include <LibDevTools/Forward.h>
|
||||
#include <LibImageDecoderClient/Client.h>
|
||||
|
@ -181,7 +182,7 @@ private:
|
|||
RefPtr<WebContentClient> m_spare_web_content_process;
|
||||
bool m_has_queued_task_to_launch_spare_web_content_process { false };
|
||||
|
||||
RefPtr<Database> m_database;
|
||||
RefPtr<Database::Database> m_database;
|
||||
OwnPtr<CookieJar> m_cookie_jar;
|
||||
OwnPtr<StorageJar> m_storage_jar;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue