chromedp/cdp/domstorage/events.go
Kenneth Shaw 7fbfef7cf1 Adding synthesized "HAR" domain to protocol generation
* Added "HAR" domain
* Fixed issue with omitempty on domain types
2017-07-02 18:44:34 +07:00

42 lines
1.1 KiB
Go

package domstorage
// AUTOGENERATED. DO NOT EDIT.
import (
cdp "github.com/knq/chromedp/cdp"
)
// EventDomStorageItemsCleared [no description].
type EventDomStorageItemsCleared struct {
StorageID *StorageID `json:"storageId"`
}
// EventDomStorageItemRemoved [no description].
type EventDomStorageItemRemoved struct {
StorageID *StorageID `json:"storageId"`
Key string `json:"key"`
}
// EventDomStorageItemAdded [no description].
type EventDomStorageItemAdded struct {
StorageID *StorageID `json:"storageId"`
Key string `json:"key"`
NewValue string `json:"newValue"`
}
// EventDomStorageItemUpdated [no description].
type EventDomStorageItemUpdated struct {
StorageID *StorageID `json:"storageId"`
Key string `json:"key"`
OldValue string `json:"oldValue"`
NewValue string `json:"newValue"`
}
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventDOMStorageDomStorageItemsCleared,
cdp.EventDOMStorageDomStorageItemRemoved,
cdp.EventDOMStorageDomStorageItemAdded,
cdp.EventDOMStorageDomStorageItemUpdated,
}