LibWebView: Add a settings section to manage browsing data caches

This adds a section to allow users to clear the HTTP disk cache and
cookies / local storage / session storage. There are a few options to
limit this action to a specific time range (e.g. "last hour"). The
user is informed how much disk space is being used currently, and how
much will be removed given the selected time range.

The idea is that in the future, we can add more settings here to auto-
delete data on exit, disable caching altogether, etc.
This commit is contained in:
Timothy Flynn 2025-11-02 18:44:17 -05:00 committed by Tim Flynn
parent 48aa16d74b
commit c34119cb29
Notes: github-actions[bot] 2025-11-12 14:08:01 +00:00
7 changed files with 307 additions and 0 deletions

View file

@ -36,6 +36,8 @@ private:
void remove_site_setting_filter(JsonValue const&);
void remove_all_site_setting_filters(JsonValue const&);
void estimate_browsing_data_sizes(JsonValue const&);
void clear_browsing_data(JsonValue const&);
void set_global_privacy_control(JsonValue const&);
void set_dns_settings(JsonValue const&);