chromedp/cdp/applicationcache/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

26 lines
805 B
Go

package applicationcache
// AUTOGENERATED. DO NOT EDIT.
import (
cdp "github.com/knq/chromedp/cdp"
)
// EventApplicationCacheStatusUpdated [no description].
type EventApplicationCacheStatusUpdated struct {
FrameID cdp.FrameID `json:"frameId"` // Identifier of the frame containing document whose application cache updated status.
ManifestURL string `json:"manifestURL"` // Manifest URL.
Status int64 `json:"status"` // Updated application cache status.
}
// EventNetworkStateUpdated [no description].
type EventNetworkStateUpdated struct {
IsNowOnline bool `json:"isNowOnline"`
}
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventApplicationCacheApplicationCacheStatusUpdated,
cdp.EventApplicationCacheNetworkStateUpdated,
}