SitePreferencesDataClearer

Bulk teardown of stored site preferences, consumed by the fire button and single-tab burn. Callers pass raw hosts/domains; the implementation derives the site key (eTLD+1, or the raw host when there is no registrable domain) internally.

Functions

Link copied to clipboard
abstract suspend fun clear(domains: Set<String>)

Remove all preferences for domains — used by single-tab burn.

Link copied to clipboard
abstract suspend fun clearAllButFireproofed(fireproofedDomains: Set<String>)

Remove every preference except those for fireproofedDomains — used by the fire button.