2019-05-16 18:03:31 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
2019-05-16 18:03:31 +02:00
|
|
|
|
public class ClearStorageDataOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Should follow window.location.origin’s representation scheme://host:port.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Origin { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// The types of storages to clear. Can contain: cookies, filesystem, indexdb,
|
|
|
|
|
|
/// localstorage, shadercache, websql, serviceworkers, cachestorage.
|
|
|
|
|
|
/// If not specified, all storage types are cleared.
|
2019-05-16 18:03:31 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string[] Storages { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// The types of quotas to clear. Can contain: temporary. If not specified,
|
|
|
|
|
|
/// all quotas are cleared. The <c>quotas</c> option is deprecated;
|
|
|
|
|
|
/// "temporary" is the only remaining supported quota type.
|
2019-05-16 18:03:31 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string[] Quotas { get; set; }
|
|
|
|
|
|
}
|
2025-11-15 08:05:31 +01:00
|
|
|
|
}
|