Source File
events.go
Belonging Package
github.com/chromedp/cdproto/storage
package storage// Code generated by cdproto-gen. DO NOT EDIT.import ()// EventCacheStorageContentUpdated a cache's contents have been modified.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-cacheStorageContentUpdatedtype EventCacheStorageContentUpdated struct {Origin string `json:"origin"` // Origin to update.StorageKey string `json:"storageKey"` // Storage key to update.BucketID string `json:"bucketId"` // Storage bucket to update.CacheName string `json:"cacheName"` // Name of cache in origin.}// EventCacheStorageListUpdated a cache has been added/deleted.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-cacheStorageListUpdatedtype EventCacheStorageListUpdated struct {Origin string `json:"origin"` // Origin to update.StorageKey string `json:"storageKey"` // Storage key to update.BucketID string `json:"bucketId"` // Storage bucket to update.}// EventIndexedDBContentUpdated the origin's IndexedDB object store has been// modified.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-indexedDBContentUpdatedtype EventIndexedDBContentUpdated struct {Origin string `json:"origin"` // Origin to update.StorageKey string `json:"storageKey"` // Storage key to update.BucketID string `json:"bucketId"` // Storage bucket to update.DatabaseName string `json:"databaseName"` // Database to update.ObjectStoreName string `json:"objectStoreName"` // ObjectStore to update.}// EventIndexedDBListUpdated the origin's IndexedDB database list has been// modified.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-indexedDBListUpdatedtype EventIndexedDBListUpdated struct {Origin string `json:"origin"` // Origin to update.StorageKey string `json:"storageKey"` // Storage key to update.BucketID string `json:"bucketId"` // Storage bucket to update.}// EventInterestGroupAccessed one of the interest groups was accessed by the// associated page.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-interestGroupAccessedtype EventInterestGroupAccessed struct {AccessTime *cdp.TimeSinceEpoch `json:"accessTime"`Type InterestGroupAccessType `json:"type"`OwnerOrigin string `json:"ownerOrigin"`Name string `json:"name"`}// EventSharedStorageAccessed shared storage was accessed by the associated// page. The following parameters are included in all events.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-sharedStorageAccessedtype EventSharedStorageAccessed struct {AccessTime *cdp.TimeSinceEpoch `json:"accessTime"` // Time of the access.Type SharedStorageAccessType `json:"type"` // Enum value indicating the Shared Storage API method invoked.MainFrameID cdp.FrameID `json:"mainFrameId"` // DevTools Frame Token for the primary frame tree's root.OwnerOrigin string `json:"ownerOrigin"` // Serialized origin for the context that invoked the Shared Storage API.Params *SharedStorageAccessParams `json:"params"` // The sub-parameters warapped by params are all optional and their presence/absence depends on type.}// EventStorageBucketCreatedOrUpdated [no description].//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-storageBucketCreatedOrUpdatedtype EventStorageBucketCreatedOrUpdated struct {BucketInfo *BucketInfo `json:"bucketInfo"`}// EventStorageBucketDeleted [no description].//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-storageBucketDeletedtype EventStorageBucketDeleted struct {BucketID string `json:"bucketId"`}// EventAttributionReportingSourceRegistered tODO(crbug.com/1458532): Add// other Attribution Reporting events, e.g. trigger registration.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-attributionReportingSourceRegisteredtype EventAttributionReportingSourceRegistered struct {Registration *AttributionReportingSourceRegistration `json:"registration"`Result AttributionReportingSourceRegistrationResult `json:"result"`}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |