1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:07:35 +00:00

Browser: Store cookies in a LibSQL database :^)

Currently, cookies are ephemeral and only survive for the lifetime of
Browser instance. This will make Browser instead store cookies in a SQL
database for persisted access.
This commit is contained in:
Timothy Flynn 2022-10-27 12:56:22 -04:00 committed by Andreas Kling
parent bf060adcf9
commit fef255ee22
6 changed files with 513 additions and 121 deletions

View file

@ -16,6 +16,7 @@ set(SOURCES
ConsoleWidget.cpp
CookieJar.cpp
CookiesModel.cpp
Database.cpp
DownloadWidget.cpp
ElementSizePreviewWidget.cpp
History.cpp
@ -36,5 +37,5 @@ set(GENERATED_SOURCES
)
serenity_app(Browser ICON app-browser)
target_link_libraries(Browser PRIVATE LibCore LibWebView LibWeb LibProtocol LibGUI LibDesktop LibConfig LibGfx LibIPC LibJS LibLocale LibMain LibSyntax)
target_link_libraries(Browser PRIVATE LibCore LibWebView LibWeb LibProtocol LibGUI LibDesktop LibConfig LibGfx LibIPC LibJS LibLocale LibMain LibSyntax LibSQL)
link_with_locale_data(Browser)