chromedp/cdp/serviceworker/events.go
2017-01-24 22:09:23 +07:00

47 lines
883 B
Go

package serviceworker
// AUTOGENERATED. DO NOT EDIT.
import (
. "github.com/knq/chromedp/cdp"
)
var (
_ BackendNode
_ BackendNodeID
_ ComputedProperty
_ ErrorType
_ Frame
_ FrameID
_ LoaderID
_ Message
_ MessageError
_ MethodType
_ Node
_ NodeID
_ NodeType
_ PseudoType
_ RGBA
_ ShadowRootType
_ Timestamp
)
type EventWorkerRegistrationUpdated struct {
Registrations []*ServiceWorkerRegistration `json:"registrations,omitempty"`
}
type EventWorkerVersionUpdated struct {
Versions []*ServiceWorkerVersion `json:"versions,omitempty"`
}
type EventWorkerErrorReported struct {
ErrorMessage *ServiceWorkerErrorMessage `json:"errorMessage,omitempty"`
}
// EventTypes is all event types in the domain.
var EventTypes = []MethodType{
EventServiceWorkerWorkerRegistrationUpdated,
EventServiceWorkerWorkerVersionUpdated,
EventServiceWorkerWorkerErrorReported,
}