@UiThread
public static interface WebExtension.BrowsingDataDelegate
Modifier and Type | Interface and Description |
---|---|
static class |
WebExtension.BrowsingDataDelegate.Settings
This class represents the current default settings for the "Clear Data"
functionality in the browser.
|
static class |
WebExtension.BrowsingDataDelegate.Type
Types of data that a browser "Clear Data" UI might have access to.
|
Modifier and Type | Method and Description |
---|---|
default GeckoResult<Void> |
onClearDownloads(long sinceUnixTimestamp)
Clear downloads created after the given timestamp.
|
default GeckoResult<Void> |
onClearFormData(long sinceUnixTimestamp)
Clear form data created after the given timestamp.
|
default GeckoResult<Void> |
onClearHistory(long sinceUnixTimestamp)
Clear history saved after the given timestamp.
|
default GeckoResult<Void> |
onClearPasswords(long sinceUnixTimestamp)
Clear passwords saved after the given timestamp.
|
default GeckoResult<WebExtension.BrowsingDataDelegate.Settings> |
onGetSettings()
Gets current settings for the browser's "Clear Data" UI.
|
@Nullable default GeckoResult<WebExtension.BrowsingDataDelegate.Settings> onGetSettings()
GeckoResult
that resolves to an instance of WebExtension.BrowsingDataDelegate.Settings
that
represents the current state for the browser's "Clear Data" UI.WebExtension.BrowsingDataDelegate.Settings
@Nullable default GeckoResult<Void> onClearFormData(long sinceUnixTimestamp)
sinceUnixTimestamp
- timestamp in seconds since the UNIX Epoch.GeckoResult
that resolves when data has been cleared.@Nullable default GeckoResult<Void> onClearPasswords(long sinceUnixTimestamp)
sinceUnixTimestamp
- timestamp in seconds since the UNIX Epoch.GeckoResult
that resolves when data has been cleared.@Nullable default GeckoResult<Void> onClearHistory(long sinceUnixTimestamp)
sinceUnixTimestamp
- timestamp in seconds since the UNIX Epoch.GeckoResult
that resolves when data has been cleared.@Nullable default GeckoResult<Void> onClearDownloads(long sinceUnixTimestamp)
sinceUnixTimestamp
- timestamp in seconds since the UNIX Epoch.GeckoResult
that resolves when data has been cleared.