1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Updated TCefClearDataStorageTypes values
Some checks failed
Make / build (ubuntu-latest) (push) Has been cancelled

Improved documentation for TCefClearDataStorageTypes
Improved documentation for TChromiumCore.ClearDataForOrigin
This commit is contained in:
Salvador Díaz Fau
2025-09-26 17:06:39 +02:00
parent 4a33371558
commit 774e1d8c58
6 changed files with 36 additions and 7 deletions

View File

@@ -1136,6 +1136,10 @@ type
/// <summary>
/// This procedure calls the Storage.clearDataForOrigin DevTools method to clear the storage data for a given origin.
/// </summary>
/// <remarks>
/// <para><see href="https://chromedevtools.github.io/devtools-protocol/tot/Storage/#method-clearDataForOrigin">See the documentation for the Storage.clearDataForOrigin DevTools method.</see></para>
/// <para><see href="https://chromedevtools.github.io/devtools-protocol/tot/Storage/#type-StorageType">See the documentation for the Storage.StorageType type.</see></para>
/// </remarks>
procedure ClearDataForOrigin(const aOrigin : ustring; aStorageTypes : TCefClearDataStorageTypes = cdstAll);
/// <summary>
/// This procedure calls the Network.clearBrowserCache DevTools method to clear the cache data.
@@ -6534,7 +6538,6 @@ begin
TempParams.SetString('origin', aOrigin);
case aStorageTypes of
cdstAppCache : TempParams.SetString('storageTypes', 'appcache');
cdstCookies : TempParams.SetString('storageTypes', 'cookies');
cdstFileSystems : TempParams.SetString('storageTypes', 'file_systems');
cdstIndexeddb : TempParams.SetString('storageTypes', 'indexeddb');
@@ -6543,6 +6546,10 @@ begin
cdstWebsql : TempParams.SetString('storageTypes', 'websql');
cdstServiceWorkers : TempParams.SetString('storageTypes', 'service_workers');
cdstCacheStorage : TempParams.SetString('storageTypes', 'cache_storage');
cdstInterestGroups : TempParams.SetString('storageTypes', 'interest_groups');
cdstSharedStorage : TempParams.SetString('storageTypes', 'shared_storage');
cdstStorageBuckets : TempParams.SetString('storageTypes', 'storage_buckets');
cdstOther : TempParams.SetString('storageTypes', 'other');
else TempParams.SetString('storageTypes', 'all');
end;