2019-05-16 18:03:31 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class ClearStorageDataOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Should follow window.location.origin’s representation scheme://host:port.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Origin { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The types of storages to clear, can contain: appcache, cookies, filesystem,
|
|
|
|
|
|
/// indexdb, localstorage, shadercache, websql, serviceworkers, cachestorage.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string[] Storages { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The types of quotas to clear, can contain: temporary, persistent, syncable.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string[] Quotas { get; set; }
|
|
|
|
|
|
}
|
2025-11-15 08:05:31 +01:00
|
|
|
|
}
|