chromedp/cdp/storage/events.go

41 lines
1.3 KiB
Go
Raw Normal View History

2017-08-20 23:56:21 +00:00
package storage
// Code generated by chromedp-gen. DO NOT EDIT.
import (
cdp "github.com/knq/chromedp/cdp"
)
// EventCacheStorageListUpdated a cache has been added/deleted.
type EventCacheStorageListUpdated struct {
Origin string `json:"origin"` // Origin to update.
}
// EventCacheStorageContentUpdated a cache's contents have been modified.
type EventCacheStorageContentUpdated struct {
Origin string `json:"origin"` // Origin to update.
CacheName string `json:"cacheName"` // Name of cache in origin.
}
2017-09-30 01:27:51 +00:00
// EventIndexedDBListUpdated the origin's IndexedDB database list has been
// modified.
type EventIndexedDBListUpdated struct {
Origin string `json:"origin"` // Origin to update.
}
// EventIndexedDBContentUpdated the origin's IndexedDB object store has been
// modified.
type EventIndexedDBContentUpdated struct {
Origin string `json:"origin"` // Origin to update.
DatabaseName string `json:"databaseName"` // Database to update.
ObjectStoreName string `json:"objectStoreName"` // ObjectStore to update.
}
2017-08-20 23:56:21 +00:00
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventStorageCacheStorageListUpdated,
cdp.EventStorageCacheStorageContentUpdated,
2017-09-30 01:27:51 +00:00
cdp.EventStorageIndexedDBListUpdated,
cdp.EventStorageIndexedDBContentUpdated,
2017-08-20 23:56:21 +00:00
}