Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AttributionReportingFilterDataEntry(val key: String, val values: List<String>)
Link copied to clipboard
@Serializable
data class AttributionReportingSourceRegistration(val time: TimeSinceEpoch, val expiry: Int? = null, val eventReportWindow: Int? = null, val aggregatableReportWindow: Int? = null, val type: AttributionReportingSourceType, val sourceOrigin: String, val reportingOrigin: String, val destinationSites: List<String>, val eventId: UnsignedInt64AsBase10, val priority: SignedInt64AsBase10, val filterData: List<AttributionReportingFilterDataEntry>, val aggregationKeys: List<AttributionReportingAggregationKeysEntry>, val debugKey: UnsignedInt64AsBase10? = null)
Link copied to clipboard
@Serializable
data class ClearCookiesRequest(val browserContextId: BrowserContextID? = null)

Request object containing input parameters for the StorageDomain.clearCookies command.

Link copied to clipboard
@Serializable
object ClearCookiesResponse

A dummy response object for the StorageDomain.clearCookies command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ClearDataForOriginRequest(val origin: String, val storageTypes: String)

Request object containing input parameters for the StorageDomain.clearDataForOrigin command.

Link copied to clipboard
@Serializable
object ClearDataForOriginResponse

A dummy response object for the StorageDomain.clearDataForOrigin command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ClearDataForStorageKeyRequest(val storageKey: String, val storageTypes: String)

Request object containing input parameters for the StorageDomain.clearDataForStorageKey command.

Link copied to clipboard
@Serializable
object ClearDataForStorageKeyResponse

A dummy response object for the StorageDomain.clearDataForStorageKey command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ClearSharedStorageEntriesRequest(val ownerOrigin: String)

Request object containing input parameters for the StorageDomain.clearSharedStorageEntries command.

Link copied to clipboard

A dummy response object for the StorageDomain.clearSharedStorageEntries command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ClearTrustTokensRequest(val issuerOrigin: String)

Request object containing input parameters for the StorageDomain.clearTrustTokens command.

Link copied to clipboard
@Serializable
data class ClearTrustTokensResponse(val didDeleteTokens: Boolean)

Response type for the StorageDomain.clearTrustTokens command.

Link copied to clipboard
@Serializable
data class DeleteSharedStorageEntryRequest(val ownerOrigin: String, val key: String)

Request object containing input parameters for the StorageDomain.deleteSharedStorageEntry command.

Link copied to clipboard

A dummy response object for the StorageDomain.deleteSharedStorageEntry command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class DeleteStorageBucketRequest(val bucket: StorageBucket)

Request object containing input parameters for the StorageDomain.deleteStorageBucket command.

Link copied to clipboard
@Serializable
object DeleteStorageBucketResponse

A dummy response object for the StorageDomain.deleteStorageBucket command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class GetCookiesRequest(val browserContextId: BrowserContextID? = null)

Request object containing input parameters for the StorageDomain.getCookies command.

Link copied to clipboard
@Serializable
data class GetCookiesResponse(val cookies: List<Cookie>)

Response type for the StorageDomain.getCookies command.

Link copied to clipboard
@Serializable
data class GetInterestGroupDetailsRequest(val ownerOrigin: String, val name: String)

Request object containing input parameters for the StorageDomain.getInterestGroupDetails command.

Link copied to clipboard
@Serializable
data class GetInterestGroupDetailsResponse(val details: InterestGroupDetails)

Response type for the StorageDomain.getInterestGroupDetails command.

Link copied to clipboard
@Serializable
data class GetSharedStorageEntriesRequest(val ownerOrigin: String)

Request object containing input parameters for the StorageDomain.getSharedStorageEntries command.

Link copied to clipboard
@Serializable
data class GetSharedStorageEntriesResponse(val entries: List<SharedStorageEntry>)

Response type for the StorageDomain.getSharedStorageEntries command.

Link copied to clipboard
@Serializable
data class GetSharedStorageMetadataRequest(val ownerOrigin: String)

Request object containing input parameters for the StorageDomain.getSharedStorageMetadata command.

Link copied to clipboard
@Serializable
data class GetSharedStorageMetadataResponse(val metadata: SharedStorageMetadata)

Response type for the StorageDomain.getSharedStorageMetadata command.

Link copied to clipboard
@Serializable
data class GetStorageKeyForFrameRequest(val frameId: FrameId)

Request object containing input parameters for the StorageDomain.getStorageKeyForFrame command.

Link copied to clipboard
@Serializable
data class GetStorageKeyForFrameResponse(val storageKey: SerializedStorageKey)

Response type for the StorageDomain.getStorageKeyForFrame command.

Link copied to clipboard
@Serializable
data class GetTrustTokensResponse(val tokens: List<TrustTokens>)

Response type for the StorageDomain.getTrustTokens command.

Link copied to clipboard
@Serializable
data class GetUsageAndQuotaRequest(val origin: String)

Request object containing input parameters for the StorageDomain.getUsageAndQuota command.

Link copied to clipboard
@Serializable
data class GetUsageAndQuotaResponse(val usage: Double, val quota: Double, val overrideActive: Boolean, val usageBreakdown: List<UsageForType>)

Response type for the StorageDomain.getUsageAndQuota command.

Link copied to clipboard

Enum of interest group access types.

Link copied to clipboard
@Serializable
data class InterestGroupAd(val renderUrl: String, val metadata: String? = null)

Ad advertising element inside an interest group.

Link copied to clipboard
@Serializable
data class InterestGroupDetails(val ownerOrigin: String, val name: String, val expirationTime: TimeSinceEpoch, val joiningOrigin: String, val biddingUrl: String? = null, val biddingWasmHelperUrl: String? = null, val updateUrl: String? = null, val trustedBiddingSignalsUrl: String? = null, val trustedBiddingSignalsKeys: List<String>, val userBiddingSignals: String? = null, val ads: List<InterestGroupAd>, val adComponents: List<InterestGroupAd>)

The full details of an interest group.

Link copied to clipboard
@Serializable
data class OverrideQuotaForOriginRequest(val origin: String, val quotaSize: Double? = null)

Request object containing input parameters for the StorageDomain.overrideQuotaForOrigin command.

Link copied to clipboard
@Serializable
object OverrideQuotaForOriginResponse

A dummy response object for the StorageDomain.overrideQuotaForOrigin command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ResetSharedStorageBudgetRequest(val ownerOrigin: String)

Request object containing input parameters for the StorageDomain.resetSharedStorageBudget command.

Link copied to clipboard

A dummy response object for the StorageDomain.resetSharedStorageBudget command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class RunBounceTrackingMitigationsResponse(val deletedSites: List<String>)

Response type for the StorageDomain.runBounceTrackingMitigations command.

Link copied to clipboard
@Serializable
data class SetAttributionReportingLocalTestingModeRequest(val enabled: Boolean)

Request object containing input parameters for the StorageDomain.setAttributionReportingLocalTestingMode command.

A dummy response object for the StorageDomain.setAttributionReportingLocalTestingMode command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetAttributionReportingTrackingRequest(val enable: Boolean)

Request object containing input parameters for the StorageDomain.setAttributionReportingTracking command.

Link copied to clipboard

A dummy response object for the StorageDomain.setAttributionReportingTracking command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetCookiesRequest(val cookies: List<CookieParam>, val browserContextId: BrowserContextID? = null)

Request object containing input parameters for the StorageDomain.setCookies command.

Link copied to clipboard
@Serializable
object SetCookiesResponse

A dummy response object for the StorageDomain.setCookies command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetInterestGroupTrackingRequest(val enable: Boolean)

Request object containing input parameters for the StorageDomain.setInterestGroupTracking command.

Link copied to clipboard

A dummy response object for the StorageDomain.setInterestGroupTracking command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetSharedStorageEntryRequest(val ownerOrigin: String, val key: String, val value: String, val ignoreIfPresent: Boolean? = null)

Request object containing input parameters for the StorageDomain.setSharedStorageEntry command.

Link copied to clipboard
@Serializable
object SetSharedStorageEntryResponse

A dummy response object for the StorageDomain.setSharedStorageEntry command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetSharedStorageTrackingRequest(val enable: Boolean)

Request object containing input parameters for the StorageDomain.setSharedStorageTracking command.

Link copied to clipboard

A dummy response object for the StorageDomain.setSharedStorageTracking command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetStorageBucketTrackingRequest(val storageKey: String, val enable: Boolean)

Request object containing input parameters for the StorageDomain.setStorageBucketTracking command.

Link copied to clipboard

A dummy response object for the StorageDomain.setStorageBucketTracking command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SharedStorageAccessParams(val scriptSourceUrl: String? = null, val operationName: String? = null, val serializedData: String? = null, val urlsWithMetadata: List<SharedStorageUrlWithMetadata>? = null, val key: String? = null, val value: String? = null, val ignoreIfPresent: Boolean? = null)

Bundles the parameters for shared storage access events whose presence/absence can vary according to SharedStorageAccessType.

Link copied to clipboard

Enum of shared storage access types.

Link copied to clipboard
@Serializable
data class SharedStorageEntry(val key: String, val value: String)

Struct for a single key-value pair in an origin's shared storage.

Link copied to clipboard
@Serializable
data class SharedStorageMetadata(val creationTime: TimeSinceEpoch, val length: Int, val remainingBudget: Double)

Details for an origin's shared storage.

Link copied to clipboard
@Serializable
data class SharedStorageReportingMetadata(val eventType: String, val reportingUrl: String)

Pair of reporting metadata details for a candidate URL for selectURL().

Link copied to clipboard
@Serializable
data class SharedStorageUrlWithMetadata(val url: String, val reportingMetadata: List<SharedStorageReportingMetadata>)

Bundles a candidate URL with its reporting metadata.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class StorageBucket(val storageKey: SerializedStorageKey, val name: String? = null)
Link copied to clipboard
@Serializable
data class StorageBucketInfo(val bucket: StorageBucket, val id: String, val expiration: TimeSinceEpoch, val quota: Double, val persistent: Boolean, val durability: StorageBucketsDurability)
Link copied to clipboard
Link copied to clipboard
@Serializable
enum StorageType : Enum<StorageType>

Enum of possible storage types.

Link copied to clipboard
@Serializable
data class TrackCacheStorageForOriginRequest(val origin: String)

Request object containing input parameters for the StorageDomain.trackCacheStorageForOrigin command.

Link copied to clipboard

A dummy response object for the StorageDomain.trackCacheStorageForOrigin command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class TrackCacheStorageForStorageKeyRequest(val storageKey: String)

Request object containing input parameters for the StorageDomain.trackCacheStorageForStorageKey command.

Link copied to clipboard

A dummy response object for the StorageDomain.trackCacheStorageForStorageKey command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class TrackIndexedDBForOriginRequest(val origin: String)

Request object containing input parameters for the StorageDomain.trackIndexedDBForOrigin command.

Link copied to clipboard

A dummy response object for the StorageDomain.trackIndexedDBForOrigin command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class TrackIndexedDBForStorageKeyRequest(val storageKey: String)

Request object containing input parameters for the StorageDomain.trackIndexedDBForStorageKey command.

Link copied to clipboard

A dummy response object for the StorageDomain.trackIndexedDBForStorageKey command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class TrustTokens(val issuerOrigin: String, val count: Double)

Pair of issuer origin and number of available (signed, but not used) Trust Tokens from that issuer.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class UntrackCacheStorageForOriginRequest(val origin: String)

Request object containing input parameters for the StorageDomain.untrackCacheStorageForOrigin command.

Link copied to clipboard

A dummy response object for the StorageDomain.untrackCacheStorageForOrigin command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class UntrackCacheStorageForStorageKeyRequest(val storageKey: String)

Request object containing input parameters for the StorageDomain.untrackCacheStorageForStorageKey command.

Link copied to clipboard

A dummy response object for the StorageDomain.untrackCacheStorageForStorageKey command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class UntrackIndexedDBForOriginRequest(val origin: String)

Request object containing input parameters for the StorageDomain.untrackIndexedDBForOrigin command.

Link copied to clipboard

A dummy response object for the StorageDomain.untrackIndexedDBForOrigin command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class UntrackIndexedDBForStorageKeyRequest(val storageKey: String)

Request object containing input parameters for the StorageDomain.untrackIndexedDBForStorageKey command.

Link copied to clipboard

A dummy response object for the StorageDomain.untrackIndexedDBForStorageKey command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class UsageForType(val storageType: StorageType, val usage: Double)

Usage for a storage type.