2017-01-24 15:09:23 +00:00
|
|
|
package applicationcache
|
|
|
|
|
|
|
|
// AUTOGENERATED. DO NOT EDIT.
|
|
|
|
|
|
|
|
import (
|
2017-01-26 07:28:34 +00:00
|
|
|
cdp "github.com/knq/chromedp/cdp"
|
2017-01-24 15:09:23 +00:00
|
|
|
)
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventApplicationCacheStatusUpdated [no description].
|
2017-01-24 15:09:23 +00:00
|
|
|
type EventApplicationCacheStatusUpdated struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
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.
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventNetworkStateUpdated [no description].
|
2017-01-24 15:09:23 +00:00
|
|
|
type EventNetworkStateUpdated struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
IsNowOnline bool `json:"isNowOnline"`
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventTypes all event types in the domain.
|
|
|
|
var EventTypes = []cdp.MethodType{
|
|
|
|
cdp.EventApplicationCacheApplicationCacheStatusUpdated,
|
|
|
|
cdp.EventApplicationCacheNetworkStateUpdated,
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|