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"
)
// 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-12-18 00:23:14 +00:00
// EventCacheStorageListUpdated a cache has been added/deleted.
type EventCacheStorageListUpdated struct {
2017-09-30 01:27:51 +00:00
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-12-18 00:23:14 +00:00
// EventIndexedDBListUpdated the origin's IndexedDB database list has been
// modified.
type EventIndexedDBListUpdated struct {
Origin string `json:"origin"` // Origin to update.
}
2017-08-20 23:56:21 +00:00
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventStorageCacheStorageContentUpdated,
2017-12-18 00:23:14 +00:00
cdp.EventStorageCacheStorageListUpdated,
2017-09-30 01:27:51 +00:00
cdp.EventStorageIndexedDBContentUpdated,
2017-12-18 00:23:14 +00:00
cdp.EventStorageIndexedDBListUpdated,
2017-08-20 23:56:21 +00:00
}