Package io.webfolder.cdp.command
Interface Storage
public interface Storage
-
Method Summary
Modifier and Type Method Description voidclearDataForOrigin(java.lang.String origin, java.lang.String storageTypes)Clears storage for origin.GetUsageAndQuotaResultgetUsageAndQuota(java.lang.String origin)Returns usage and quota in bytes.voidtrackCacheStorageForOrigin(java.lang.String origin)Registers origin to be notified when an update occurs to its cache storage list.voidtrackIndexedDBForOrigin(java.lang.String origin)Registers origin to be notified when an update occurs to its IndexedDB.voiduntrackCacheStorageForOrigin(java.lang.String origin)Unregisters origin from receiving notifications for cache storage.voiduntrackIndexedDBForOrigin(java.lang.String origin)Unregisters origin from receiving notifications for IndexedDB.
-
Method Details
-
clearDataForOrigin
void clearDataForOrigin(java.lang.String origin, java.lang.String storageTypes)Clears storage for origin.- Parameters:
origin- Security origin.storageTypes- Comma separated origin names.
-
getUsageAndQuota
Returns usage and quota in bytes.- Parameters:
origin- Security origin.- Returns:
- GetUsageAndQuotaResult
-
trackCacheStorageForOrigin
void trackCacheStorageForOrigin(java.lang.String origin)Registers origin to be notified when an update occurs to its cache storage list.- Parameters:
origin- Security origin.
-
trackIndexedDBForOrigin
void trackIndexedDBForOrigin(java.lang.String origin)Registers origin to be notified when an update occurs to its IndexedDB.- Parameters:
origin- Security origin.
-
untrackCacheStorageForOrigin
void untrackCacheStorageForOrigin(java.lang.String origin)Unregisters origin from receiving notifications for cache storage.- Parameters:
origin- Security origin.
-
untrackIndexedDBForOrigin
void untrackIndexedDBForOrigin(java.lang.String origin)Unregisters origin from receiving notifications for IndexedDB.- Parameters:
origin- Security origin.
-