From 8e31ff06e23b565feb2daa538f31a38eff334177 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Mon, 27 Nov 2023 06:21:03 +0700 Subject: [PATCH] Updating to 121.0.6150.1_12.1.222 definitions --- browser/types.go | 3 +- cdproto.go | 4 +- css/css.go | 8 +- css/easyjson.go | 336 ++++++++---- css/types.go | 17 +- emulation/emulation.go | 4 +- fedcm/easyjson.go | 19 +- fedcm/fedcm.go | 39 +- fedcm/types.go | 45 +- network/easyjson.go | 1036 ++++++++++++++++++++----------------- network/types.go | 9 +- page/easyjson.go | 7 + page/page.go | 40 +- page/types.go | 3 + preload/easyjson.go | 269 +++++++--- preload/events.go | 9 +- preload/types.go | 10 + serviceworker/easyjson.go | 7 + serviceworker/types.go | 1 + storage/easyjson.go | 289 ++++++++--- storage/types.go | 10 +- 21 files changed, 1387 insertions(+), 778 deletions(-) diff --git a/browser/types.go b/browser/types.go index 597ba5d..85b6da7 100644 --- a/browser/types.go +++ b/browser/types.go @@ -251,8 +251,7 @@ func (t *PermissionSetting) UnmarshalJSON(buf []byte) error { } // PermissionDescriptor definition of PermissionDescriptor defined in the -// Permissions API: -// https://w3c.github.io/permissions/#dictdef-permissiondescriptor. +// Permissions API: https://w3c.github.io/permissions/#dom-permissiondescriptor. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Browser#type-PermissionDescriptor type PermissionDescriptor struct { diff --git a/cdproto.go b/cdproto.go index 71deab4..ba5ea53 100644 --- a/cdproto.go +++ b/cdproto.go @@ -353,7 +353,7 @@ const ( CommandFedCmEnable = fedcm.CommandEnable CommandFedCmDisable = fedcm.CommandDisable CommandFedCmSelectAccount = fedcm.CommandSelectAccount - CommandFedCmConfirmIdpLogin = fedcm.CommandConfirmIdpLogin + CommandFedCmClickDialogButton = fedcm.CommandClickDialogButton CommandFedCmDismissDialog = fedcm.CommandDismissDialog CommandFedCmResetCooldown = fedcm.CommandResetCooldown EventFedCmDialogShown = "FedCm.dialogShown" @@ -1642,7 +1642,7 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandFedCmSelectAccount: return emptyVal, nil - case CommandFedCmConfirmIdpLogin: + case CommandFedCmClickDialogButton: return emptyVal, nil case CommandFedCmDismissDialog: diff --git a/css/css.go b/css/css.go index d2e6442..b407147 100644 --- a/css/css.go +++ b/css/css.go @@ -371,6 +371,7 @@ type GetMatchedStylesForNodeReturns struct { CSSPositionFallbackRules []*PositionFallbackRule `json:"cssPositionFallbackRules,omitempty"` // A list of CSS position fallbacks matching this node. CSSPropertyRules []*PropertyRule `json:"cssPropertyRules,omitempty"` // A list of CSS at-property rules matching this node. CSSPropertyRegistrations []*PropertyRegistration `json:"cssPropertyRegistrations,omitempty"` // A list of CSS property registrations matching this node. + CSSFontPaletteValuesRule *FontPaletteValuesRule `json:"cssFontPaletteValuesRule,omitempty"` // A font-palette-values rule matching this node. ParentLayoutNodeID cdp.NodeID `json:"parentLayoutNodeId,omitempty"` // Id of the first parent element that does not have display: contents. } @@ -388,16 +389,17 @@ type GetMatchedStylesForNodeReturns struct { // cssPositionFallbackRules - A list of CSS position fallbacks matching this node. // cssPropertyRules - A list of CSS at-property rules matching this node. // cssPropertyRegistrations - A list of CSS property registrations matching this node. +// cssFontPaletteValuesRule - A font-palette-values rule matching this node. // parentLayoutNodeID - Id of the first parent element that does not have display: contents. -func (p *GetMatchedStylesForNodeParams) Do(ctx context.Context) (inlineStyle *Style, attributesStyle *Style, matchedCSSRules []*RuleMatch, pseudoElements []*PseudoElementMatches, inherited []*InheritedStyleEntry, inheritedPseudoElements []*InheritedPseudoElementMatches, cssKeyframesRules []*KeyframesRule, cssPositionFallbackRules []*PositionFallbackRule, cssPropertyRules []*PropertyRule, cssPropertyRegistrations []*PropertyRegistration, parentLayoutNodeID cdp.NodeID, err error) { +func (p *GetMatchedStylesForNodeParams) Do(ctx context.Context) (inlineStyle *Style, attributesStyle *Style, matchedCSSRules []*RuleMatch, pseudoElements []*PseudoElementMatches, inherited []*InheritedStyleEntry, inheritedPseudoElements []*InheritedPseudoElementMatches, cssKeyframesRules []*KeyframesRule, cssPositionFallbackRules []*PositionFallbackRule, cssPropertyRules []*PropertyRule, cssPropertyRegistrations []*PropertyRegistration, cssFontPaletteValuesRule *FontPaletteValuesRule, parentLayoutNodeID cdp.NodeID, err error) { // execute var res GetMatchedStylesForNodeReturns err = cdp.Execute(ctx, CommandGetMatchedStylesForNode, p, &res) if err != nil { - return nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 0, err + return nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 0, err } - return res.InlineStyle, res.AttributesStyle, res.MatchedCSSRules, res.PseudoElements, res.Inherited, res.InheritedPseudoElements, res.CSSKeyframesRules, res.CSSPositionFallbackRules, res.CSSPropertyRules, res.CSSPropertyRegistrations, res.ParentLayoutNodeID, nil + return res.InlineStyle, res.AttributesStyle, res.MatchedCSSRules, res.PseudoElements, res.Inherited, res.InheritedPseudoElements, res.CSSKeyframesRules, res.CSSPositionFallbackRules, res.CSSPropertyRules, res.CSSPropertyRegistrations, res.CSSFontPaletteValuesRule, res.ParentLayoutNodeID, nil } // GetMediaQueriesParams returns all media queries parsed by the rendering diff --git a/css/easyjson.go b/css/easyjson.go index 40dd796..952cb37 100644 --- a/css/easyjson.go +++ b/css/easyjson.go @@ -4877,6 +4877,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(in *jlexer.Lexer, out * switch key { case "familyName": out.FamilyName = string(in.String()) + case "postScriptName": + out.PostScriptName = string(in.String()) case "isCustomFont": out.IsCustomFont = bool(in.Bool()) case "glyphCount": @@ -4900,6 +4902,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(out *jwriter.Writer, in out.RawString(prefix[1:]) out.String(string(in.FamilyName)) } + { + const prefix string = ",\"postScriptName\":" + out.RawString(prefix) + out.String(string(in.PostScriptName)) + } { const prefix string = ",\"isCustomFont\":" out.RawString(prefix) @@ -6766,6 +6773,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss63(in *jlexer.Lexer, out * } in.Delim(']') } + case "cssFontPaletteValuesRule": + if in.IsNull() { + in.Skip() + out.CSSFontPaletteValuesRule = nil + } else { + if out.CSSFontPaletteValuesRule == nil { + out.CSSFontPaletteValuesRule = new(FontPaletteValuesRule) + } + (*out.CSSFontPaletteValuesRule).UnmarshalEasyJSON(in) + } case "parentLayoutNodeId": (out.ParentLayoutNodeID).UnmarshalEasyJSON(in) default: @@ -6982,6 +6999,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss63(out *jwriter.Writer, in out.RawByte(']') } } + if in.CSSFontPaletteValuesRule != nil { + const prefix string = ",\"cssFontPaletteValuesRule\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.CSSFontPaletteValuesRule).MarshalEasyJSON(out) + } if in.ParentLayoutNodeID != 0 { const prefix string = ",\"parentLayoutNodeId\":" if first { @@ -7947,7 +7974,124 @@ func (v *FontVariationAxis) UnmarshalJSON(data []byte) error { func (v *FontVariationAxis) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss74(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(in *jlexer.Lexer, out *FontFace) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(in *jlexer.Lexer, out *FontPaletteValuesRule) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "styleSheetId": + out.StyleSheetID = StyleSheetID(in.String()) + case "origin": + (out.Origin).UnmarshalEasyJSON(in) + case "fontPaletteName": + if in.IsNull() { + in.Skip() + out.FontPaletteName = nil + } else { + if out.FontPaletteName == nil { + out.FontPaletteName = new(Value) + } + (*out.FontPaletteName).UnmarshalEasyJSON(in) + } + case "style": + if in.IsNull() { + in.Skip() + out.Style = nil + } else { + if out.Style == nil { + out.Style = new(Style) + } + (*out.Style).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(out *jwriter.Writer, in FontPaletteValuesRule) { + out.RawByte('{') + first := true + _ = first + if in.StyleSheetID != "" { + const prefix string = ",\"styleSheetId\":" + first = false + out.RawString(prefix[1:]) + out.String(string(in.StyleSheetID)) + } + { + const prefix string = ",\"origin\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (in.Origin).MarshalEasyJSON(out) + } + { + const prefix string = ",\"fontPaletteName\":" + out.RawString(prefix) + if in.FontPaletteName == nil { + out.RawString("null") + } else { + (*in.FontPaletteName).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"style\":" + out.RawString(prefix) + if in.Style == nil { + out.RawString("null") + } else { + (*in.Style).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v FontPaletteValuesRule) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v FontPaletteValuesRule) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *FontPaletteValuesRule) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *FontPaletteValuesRule) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(in *jlexer.Lexer, out *FontFace) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8025,7 +8169,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(out *jwriter.Writer, in FontFace) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(out *jwriter.Writer, in FontFace) { out.RawByte('{') first := true _ = first @@ -8098,27 +8242,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v FontFace) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FontFace) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FontFace) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FontFace) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(in *jlexer.Lexer, out *EventStyleSheetRemoved) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(in *jlexer.Lexer, out *EventStyleSheetRemoved) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8149,7 +8293,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(out *jwriter.Writer, in EventStyleSheetRemoved) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(out *jwriter.Writer, in EventStyleSheetRemoved) { out.RawByte('{') first := true _ = first @@ -8164,27 +8308,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventStyleSheetRemoved) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventStyleSheetRemoved) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventStyleSheetRemoved) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventStyleSheetRemoved) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(in *jlexer.Lexer, out *EventStyleSheetChanged) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(in *jlexer.Lexer, out *EventStyleSheetChanged) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8215,7 +8359,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(out *jwriter.Writer, in EventStyleSheetChanged) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(out *jwriter.Writer, in EventStyleSheetChanged) { out.RawByte('{') first := true _ = first @@ -8230,27 +8374,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventStyleSheetChanged) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventStyleSheetChanged) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventStyleSheetChanged) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventStyleSheetChanged) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(in *jlexer.Lexer, out *EventStyleSheetAdded) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(in *jlexer.Lexer, out *EventStyleSheetAdded) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8289,7 +8433,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(out *jwriter.Writer, in EventStyleSheetAdded) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(out *jwriter.Writer, in EventStyleSheetAdded) { out.RawByte('{') first := true _ = first @@ -8308,27 +8452,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventStyleSheetAdded) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventStyleSheetAdded) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventStyleSheetAdded) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventStyleSheetAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(in *jlexer.Lexer, out *EventMediaQueryResultChanged) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(in *jlexer.Lexer, out *EventMediaQueryResultChanged) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8357,7 +8501,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(out *jwriter.Writer, in EventMediaQueryResultChanged) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(out *jwriter.Writer, in EventMediaQueryResultChanged) { out.RawByte('{') first := true _ = first @@ -8367,27 +8511,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventMediaQueryResultChanged) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventMediaQueryResultChanged) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventMediaQueryResultChanged) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventMediaQueryResultChanged) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(in *jlexer.Lexer, out *EventFontsUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(in *jlexer.Lexer, out *EventFontsUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8426,7 +8570,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(out *jwriter.Writer, in EventFontsUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(out *jwriter.Writer, in EventFontsUpdated) { out.RawByte('{') first := true _ = first @@ -8442,27 +8586,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFontsUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFontsUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFontsUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFontsUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8491,7 +8635,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -8501,27 +8645,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8550,7 +8694,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -8560,27 +8704,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(in *jlexer.Lexer, out *CreateStyleSheetReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(in *jlexer.Lexer, out *CreateStyleSheetReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8611,7 +8755,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(out *jwriter.Writer, in CreateStyleSheetReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(out *jwriter.Writer, in CreateStyleSheetReturns) { out.RawByte('{') first := true _ = first @@ -8627,27 +8771,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CreateStyleSheetReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateStyleSheetReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateStyleSheetReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateStyleSheetReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(in *jlexer.Lexer, out *CreateStyleSheetParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(in *jlexer.Lexer, out *CreateStyleSheetParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8678,7 +8822,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(out *jwriter.Writer, in CreateStyleSheetParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(out *jwriter.Writer, in CreateStyleSheetParams) { out.RawByte('{') first := true _ = first @@ -8693,27 +8837,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CreateStyleSheetParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateStyleSheetParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateStyleSheetParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateStyleSheetParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(in *jlexer.Lexer, out *ContainerQuery) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(in *jlexer.Lexer, out *ContainerQuery) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8762,7 +8906,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(out *jwriter.Writer, in ContainerQuery) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(out *jwriter.Writer, in ContainerQuery) { out.RawByte('{') first := true _ = first @@ -8802,27 +8946,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ContainerQuery) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ContainerQuery) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ContainerQuery) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ContainerQuery) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(in *jlexer.Lexer, out *ComputedStyleProperty) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(in *jlexer.Lexer, out *ComputedStyleProperty) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8855,7 +8999,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(out *jwriter.Writer, in ComputedStyleProperty) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(out *jwriter.Writer, in ComputedStyleProperty) { out.RawByte('{') first := true _ = first @@ -8875,27 +9019,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ComputedStyleProperty) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ComputedStyleProperty) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ComputedStyleProperty) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ComputedStyleProperty) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(in *jlexer.Lexer, out *CollectClassNamesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(in *jlexer.Lexer, out *CollectClassNamesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8947,7 +9091,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(out *jwriter.Writer, in CollectClassNamesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(out *jwriter.Writer, in CollectClassNamesReturns) { out.RawByte('{') first := true _ = first @@ -8972,27 +9116,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CollectClassNamesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CollectClassNamesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CollectClassNamesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CollectClassNamesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(in *jlexer.Lexer, out *CollectClassNamesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(in *jlexer.Lexer, out *CollectClassNamesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9023,7 +9167,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(out *jwriter.Writer, in CollectClassNamesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(out *jwriter.Writer, in CollectClassNamesParams) { out.RawByte('{') first := true _ = first @@ -9038,27 +9182,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CollectClassNamesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CollectClassNamesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CollectClassNamesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CollectClassNamesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(in *jlexer.Lexer, out *AddRuleReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(in *jlexer.Lexer, out *AddRuleReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9097,7 +9241,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(out *jwriter.Writer, in AddRuleReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(out *jwriter.Writer, in AddRuleReturns) { out.RawByte('{') first := true _ = first @@ -9113,27 +9257,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AddRuleReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddRuleReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddRuleReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddRuleReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(in *jlexer.Lexer, out *AddRuleParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss91(in *jlexer.Lexer, out *AddRuleParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9176,7 +9320,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(out *jwriter.Writer, in AddRuleParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss91(out *jwriter.Writer, in AddRuleParams) { out.RawByte('{') first := true _ = first @@ -9205,23 +9349,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AddRuleParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss91(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddRuleParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss91(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddRuleParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss91(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddRuleParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss91(l, v) } diff --git a/css/types.go b/css/types.go index d4e9efa..fa55142 100644 --- a/css/types.go +++ b/css/types.go @@ -385,9 +385,10 @@ type LayerData struct { // // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-PlatformFontUsage type PlatformFontUsage struct { - FamilyName string `json:"familyName"` // Font's family name reported by platform. - IsCustomFont bool `json:"isCustomFont"` // Indicates if the font was downloaded or resolved locally. - GlyphCount float64 `json:"glyphCount"` // Amount of glyphs that were rendered with this font. + FamilyName string `json:"familyName"` // Font's family name reported by platform. + PostScriptName string `json:"postScriptName"` // Font's PostScript name reported by platform. + IsCustomFont bool `json:"isCustomFont"` // Indicates if the font was downloaded or resolved locally. + GlyphCount float64 `json:"glyphCount"` // Amount of glyphs that were rendered with this font. } // FontVariationAxis information about font variation axes for variable @@ -456,6 +457,16 @@ type PropertyRegistration struct { Syntax string `json:"syntax"` } +// FontPaletteValuesRule CSS font-palette-values rule representation. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSFontPaletteValuesRule +type FontPaletteValuesRule struct { + StyleSheetID StyleSheetID `json:"styleSheetId,omitempty"` // The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. + Origin StyleSheetOrigin `json:"origin"` // Parent stylesheet's origin. + FontPaletteName *Value `json:"fontPaletteName"` // Associated font palette name. + Style *Style `json:"style"` // Associated style declaration. +} + // PropertyRule CSS property at-rule representation. // // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSPropertyRule diff --git a/emulation/emulation.go b/emulation/emulation.go index 5ca4e8e..43cd98c 100644 --- a/emulation/emulation.go +++ b/emulation/emulation.go @@ -883,7 +883,7 @@ func (p *SetHardwareConcurrencyOverrideParams) Do(ctx context.Context) (err erro // string. type SetUserAgentOverrideParams struct { UserAgent string `json:"userAgent"` // User agent to use. - AcceptLanguage string `json:"acceptLanguage,omitempty"` // Browser langugage to emulate. + AcceptLanguage string `json:"acceptLanguage,omitempty"` // Browser language to emulate. Platform string `json:"platform,omitempty"` // The platform navigator.platform should return. UserAgentMetadata *UserAgentMetadata `json:"userAgentMetadata,omitempty"` // To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData } @@ -901,7 +901,7 @@ func SetUserAgentOverride(userAgent string) *SetUserAgentOverrideParams { } } -// WithAcceptLanguage browser langugage to emulate. +// WithAcceptLanguage browser language to emulate. func (p SetUserAgentOverrideParams) WithAcceptLanguage(acceptLanguage string) *SetUserAgentOverrideParams { p.AcceptLanguage = acceptLanguage return &p diff --git a/fedcm/easyjson.go b/fedcm/easyjson.go index 2bf03cb..5be7c9c 100644 --- a/fedcm/easyjson.go +++ b/fedcm/easyjson.go @@ -486,7 +486,7 @@ func (v *DisableParams) UnmarshalJSON(data []byte) error { func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm5(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(in *jlexer.Lexer, out *ConfirmIdpLoginParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(in *jlexer.Lexer, out *ClickDialogButtonParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -507,6 +507,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(in *jlexer.Lexer, out switch key { case "dialogId": out.DialogID = string(in.String()) + case "dialogButton": + (out.DialogButton).UnmarshalEasyJSON(in) default: in.SkipRecursive() } @@ -517,7 +519,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm6(out *jwriter.Writer, in ConfirmIdpLoginParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm6(out *jwriter.Writer, in ClickDialogButtonParams) { out.RawByte('{') first := true _ = first @@ -526,30 +528,35 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm6(out *jwriter.Writer, i out.RawString(prefix[1:]) out.String(string(in.DialogID)) } + { + const prefix string = ",\"dialogButton\":" + out.RawString(prefix) + (in.DialogButton).MarshalEasyJSON(out) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v ConfirmIdpLoginParams) MarshalJSON() ([]byte, error) { +func (v ClickDialogButtonParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v ConfirmIdpLoginParams) MarshalEasyJSON(w *jwriter.Writer) { +func (v ClickDialogButtonParams) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *ConfirmIdpLoginParams) UnmarshalJSON(data []byte) error { +func (v *ClickDialogButtonParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *ConfirmIdpLoginParams) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *ClickDialogButtonParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(l, v) } func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm7(in *jlexer.Lexer, out *Account) { diff --git a/fedcm/fedcm.go b/fedcm/fedcm.go index fdd9e1f..4c8c366 100644 --- a/fedcm/fedcm.go +++ b/fedcm/fedcm.go @@ -82,29 +82,30 @@ func (p *SelectAccountParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandSelectAccount, p, nil) } -// ConfirmIdpLoginParams only valid if the dialog type is ConfirmIdpLogin. -// Acts as if the user had clicked the continue button. -type ConfirmIdpLoginParams struct { - DialogID string `json:"dialogId"` +// ClickDialogButtonParams [no description]. +type ClickDialogButtonParams struct { + DialogID string `json:"dialogId"` + DialogButton DialogButton `json:"dialogButton"` } -// ConfirmIdpLogin only valid if the dialog type is ConfirmIdpLogin. Acts as -// if the user had clicked the continue button. +// ClickDialogButton [no description]. // -// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#method-confirmIdpLogin +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#method-clickDialogButton // // parameters: // // dialogID -func ConfirmIdpLogin(dialogID string) *ConfirmIdpLoginParams { - return &ConfirmIdpLoginParams{ - DialogID: dialogID, +// dialogButton +func ClickDialogButton(dialogID string, dialogButton DialogButton) *ClickDialogButtonParams { + return &ClickDialogButtonParams{ + DialogID: dialogID, + DialogButton: dialogButton, } } -// Do executes FedCm.confirmIdpLogin against the provided context. -func (p *ConfirmIdpLoginParams) Do(ctx context.Context) (err error) { - return cdp.Execute(ctx, CommandConfirmIdpLogin, p, nil) +// Do executes FedCm.clickDialogButton against the provided context. +func (p *ClickDialogButtonParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandClickDialogButton, p, nil) } // DismissDialogParams [no description]. @@ -156,10 +157,10 @@ func (p *ResetCooldownParams) Do(ctx context.Context) (err error) { // Command names. const ( - CommandEnable = "FedCm.enable" - CommandDisable = "FedCm.disable" - CommandSelectAccount = "FedCm.selectAccount" - CommandConfirmIdpLogin = "FedCm.confirmIdpLogin" - CommandDismissDialog = "FedCm.dismissDialog" - CommandResetCooldown = "FedCm.resetCooldown" + CommandEnable = "FedCm.enable" + CommandDisable = "FedCm.disable" + CommandSelectAccount = "FedCm.selectAccount" + CommandClickDialogButton = "FedCm.clickDialogButton" + CommandDismissDialog = "FedCm.dismissDialog" + CommandResetCooldown = "FedCm.resetCooldown" ) diff --git a/fedcm/types.go b/fedcm/types.go index d0251a1..a5ed1f2 100644 --- a/fedcm/types.go +++ b/fedcm/types.go @@ -56,8 +56,7 @@ func (t *LoginState) UnmarshalJSON(buf []byte) error { return easyjson.Unmarshal(buf, t) } -// DialogType whether the dialog shown is an account chooser or an auto -// re-authentication dialog. +// DialogType the types of FedCM dialogs. // // See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#type-DialogType type DialogType string @@ -105,6 +104,48 @@ func (t *DialogType) UnmarshalJSON(buf []byte) error { return easyjson.Unmarshal(buf, t) } +// DialogButton the buttons on the FedCM dialog. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#type-DialogButton +type DialogButton string + +// String returns the DialogButton as string value. +func (t DialogButton) String() string { + return string(t) +} + +// DialogButton values. +const ( + DialogButtonConfirmIdpLoginContinue DialogButton = "ConfirmIdpLoginContinue" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t DialogButton) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t DialogButton) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *DialogButton) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch DialogButton(v) { + case DialogButtonConfirmIdpLoginContinue: + *t = DialogButtonConfirmIdpLoginContinue + + default: + in.AddError(fmt.Errorf("unknown DialogButton value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *DialogButton) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + // Account corresponds to IdentityRequestAccount. // // See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#type-Account diff --git a/network/easyjson.go b/network/easyjson.go index 9f2a5a3..b1295c4 100644 --- a/network/easyjson.go +++ b/network/easyjson.go @@ -2101,7 +2101,73 @@ func (v *SetAcceptedEncodingsParams) UnmarshalJSON(data []byte) error { func (v *SetAcceptedEncodingsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork18(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork19(in *jlexer.Lexer, out *SecurityIsolationStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork19(in *jlexer.Lexer, out *ServiceWorkerRouterInfo) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "ruleIdMatched": + out.RuleIDMatched = int64(in.Int64()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork19(out *jwriter.Writer, in ServiceWorkerRouterInfo) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"ruleIdMatched\":" + out.RawString(prefix[1:]) + out.Int64(int64(in.RuleIDMatched)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v ServiceWorkerRouterInfo) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork19(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v ServiceWorkerRouterInfo) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork19(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *ServiceWorkerRouterInfo) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork19(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *ServiceWorkerRouterInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork19(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(in *jlexer.Lexer, out *SecurityIsolationStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2181,7 +2247,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork19(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork19(out *jwriter.Writer, in SecurityIsolationStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(out *jwriter.Writer, in SecurityIsolationStatus) { out.RawByte('{') first := true _ = first @@ -2230,27 +2296,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork19(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SecurityIsolationStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SecurityIsolationStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork19(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SecurityIsolationStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SecurityIsolationStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork19(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(in *jlexer.Lexer, out *SecurityDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork21(in *jlexer.Lexer, out *SecurityDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2375,7 +2441,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(out *jwriter.Writer, in SecurityDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork21(out *jwriter.Writer, in SecurityDetails) { out.RawByte('{') first := true _ = first @@ -2494,27 +2560,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SecurityDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SecurityDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SecurityDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SecurityDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork21(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork21(in *jlexer.Lexer, out *SearchInResponseBodyReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork22(in *jlexer.Lexer, out *SearchInResponseBodyReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2574,7 +2640,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork21(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork21(out *jwriter.Writer, in SearchInResponseBodyReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork22(out *jwriter.Writer, in SearchInResponseBodyReturns) { out.RawByte('{') first := true _ = first @@ -2603,27 +2669,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork21(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SearchInResponseBodyReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInResponseBodyReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork21(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInResponseBodyReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInResponseBodyReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork21(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork22(in *jlexer.Lexer, out *SearchInResponseBodyParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(in *jlexer.Lexer, out *SearchInResponseBodyParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2660,7 +2726,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork22(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork22(out *jwriter.Writer, in SearchInResponseBodyParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(out *jwriter.Writer, in SearchInResponseBodyParams) { out.RawByte('{') first := true _ = first @@ -2690,27 +2756,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork22(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SearchInResponseBodyParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInResponseBodyParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInResponseBodyParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInResponseBodyParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(in *jlexer.Lexer, out *Response) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork24(in *jlexer.Lexer, out *Response) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2799,6 +2865,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(in *jlexer.Lexer, o out.FromServiceWorker = bool(in.Bool()) case "fromPrefetchCache": out.FromPrefetchCache = bool(in.Bool()) + case "serviceWorkerRouterInfo": + if in.IsNull() { + in.Skip() + out.ServiceWorkerRouterInfo = nil + } else { + if out.ServiceWorkerRouterInfo == nil { + out.ServiceWorkerRouterInfo = new(ServiceWorkerRouterInfo) + } + (*out.ServiceWorkerRouterInfo).UnmarshalEasyJSON(in) + } case "encodedDataLength": out.EncodedDataLength = float64(in.Float64()) case "timing": @@ -2851,7 +2927,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(out *jwriter.Writer, in Response) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork24(out *jwriter.Writer, in Response) { out.RawByte('{') first := true _ = first @@ -2962,6 +3038,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(out *jwriter.Writer out.RawString(prefix) out.Bool(bool(in.FromPrefetchCache)) } + if in.ServiceWorkerRouterInfo != nil { + const prefix string = ",\"serviceWorkerRouterInfo\":" + out.RawString(prefix) + (*in.ServiceWorkerRouterInfo).MarshalEasyJSON(out) + } { const prefix string = ",\"encodedDataLength\":" out.RawString(prefix) @@ -3013,27 +3094,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v Response) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Response) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Response) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Response) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork24(in *jlexer.Lexer, out *ResourceTiming) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork25(in *jlexer.Lexer, out *ResourceTiming) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3100,7 +3181,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork24(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork24(out *jwriter.Writer, in ResourceTiming) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork25(out *jwriter.Writer, in ResourceTiming) { out.RawByte('{') first := true _ = first @@ -3205,27 +3286,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork24(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ResourceTiming) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ResourceTiming) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ResourceTiming) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ResourceTiming) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork25(in *jlexer.Lexer, out *RequestPattern) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(in *jlexer.Lexer, out *RequestPattern) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3260,7 +3341,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork25(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork25(out *jwriter.Writer, in RequestPattern) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(out *jwriter.Writer, in RequestPattern) { out.RawByte('{') first := true _ = first @@ -3296,27 +3377,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork25(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v RequestPattern) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RequestPattern) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RequestPattern) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RequestPattern) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(in *jlexer.Lexer, out *Request) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork27(in *jlexer.Lexer, out *Request) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3428,7 +3509,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(out *jwriter.Writer, in Request) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork27(out *jwriter.Writer, in Request) { out.RawByte('{') first := true _ = first @@ -3538,27 +3619,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v Request) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Request) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Request) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Request) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork27(in *jlexer.Lexer, out *ReportingAPIReport) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork28(in *jlexer.Lexer, out *ReportingAPIReport) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3613,7 +3694,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork27(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork27(out *jwriter.Writer, in ReportingAPIReport) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork28(out *jwriter.Writer, in ReportingAPIReport) { out.RawByte('{') first := true _ = first @@ -3672,27 +3753,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork27(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ReportingAPIReport) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ReportingAPIReport) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ReportingAPIReport) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ReportingAPIReport) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork28(in *jlexer.Lexer, out *ReportingAPIEndpoint) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork29(in *jlexer.Lexer, out *ReportingAPIEndpoint) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3725,7 +3806,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork28(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork28(out *jwriter.Writer, in ReportingAPIEndpoint) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork29(out *jwriter.Writer, in ReportingAPIEndpoint) { out.RawByte('{') first := true _ = first @@ -3745,27 +3826,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork28(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ReportingAPIEndpoint) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ReportingAPIEndpoint) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ReportingAPIEndpoint) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ReportingAPIEndpoint) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork29(in *jlexer.Lexer, out *ReplayXHRParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork30(in *jlexer.Lexer, out *ReplayXHRParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3796,7 +3877,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork29(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork29(out *jwriter.Writer, in ReplayXHRParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork30(out *jwriter.Writer, in ReplayXHRParams) { out.RawByte('{') first := true _ = first @@ -3811,27 +3892,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork29(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ReplayXHRParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ReplayXHRParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ReplayXHRParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ReplayXHRParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork30(in *jlexer.Lexer, out *PostDataEntry) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork31(in *jlexer.Lexer, out *PostDataEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3862,7 +3943,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork30(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork30(out *jwriter.Writer, in PostDataEntry) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork31(out *jwriter.Writer, in PostDataEntry) { out.RawByte('{') first := true _ = first @@ -3878,27 +3959,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork30(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v PostDataEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork30(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PostDataEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork30(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PostDataEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork30(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PostDataEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork30(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork31(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork31(in *jlexer.Lexer, out *LoadNetworkResourceReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork32(in *jlexer.Lexer, out *LoadNetworkResourceReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3937,7 +4018,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork31(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork31(out *jwriter.Writer, in LoadNetworkResourceReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork32(out *jwriter.Writer, in LoadNetworkResourceReturns) { out.RawByte('{') first := true _ = first @@ -3953,27 +4034,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork31(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v LoadNetworkResourceReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork31(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LoadNetworkResourceReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork31(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LoadNetworkResourceReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork31(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LoadNetworkResourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork31(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork32(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork32(in *jlexer.Lexer, out *LoadNetworkResourceParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork33(in *jlexer.Lexer, out *LoadNetworkResourceParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4016,7 +4097,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork32(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork32(out *jwriter.Writer, in LoadNetworkResourceParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork33(out *jwriter.Writer, in LoadNetworkResourceParams) { out.RawByte('{') first := true _ = first @@ -4051,27 +4132,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork32(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v LoadNetworkResourceParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork32(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork33(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LoadNetworkResourceParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork32(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LoadNetworkResourceParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork32(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork33(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LoadNetworkResourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork32(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork33(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork33(in *jlexer.Lexer, out *LoadNetworkResourcePageResult) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork34(in *jlexer.Lexer, out *LoadNetworkResourcePageResult) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4136,7 +4217,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork33(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork33(out *jwriter.Writer, in LoadNetworkResourcePageResult) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork34(out *jwriter.Writer, in LoadNetworkResourcePageResult) { out.RawByte('{') first := true _ = first @@ -4196,27 +4277,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork33(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v LoadNetworkResourcePageResult) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork33(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork34(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LoadNetworkResourcePageResult) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork33(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LoadNetworkResourcePageResult) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork33(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork34(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LoadNetworkResourcePageResult) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork33(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork34(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork34(in *jlexer.Lexer, out *LoadNetworkResourceOptions) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork35(in *jlexer.Lexer, out *LoadNetworkResourceOptions) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4249,7 +4330,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork34(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork34(out *jwriter.Writer, in LoadNetworkResourceOptions) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork35(out *jwriter.Writer, in LoadNetworkResourceOptions) { out.RawByte('{') first := true _ = first @@ -4269,27 +4350,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork34(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v LoadNetworkResourceOptions) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork34(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork35(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LoadNetworkResourceOptions) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork34(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LoadNetworkResourceOptions) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork34(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork35(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LoadNetworkResourceOptions) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork34(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork35(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork35(in *jlexer.Lexer, out *Initiator) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork36(in *jlexer.Lexer, out *Initiator) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4338,7 +4419,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork35(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork35(out *jwriter.Writer, in Initiator) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork36(out *jwriter.Writer, in Initiator) { out.RawByte('{') first := true _ = first @@ -4378,27 +4459,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork35(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v Initiator) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork35(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork36(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Initiator) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork35(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Initiator) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork35(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork36(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Initiator) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork35(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork36(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork36(in *jlexer.Lexer, out *GetSecurityIsolationStatusReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork37(in *jlexer.Lexer, out *GetSecurityIsolationStatusReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4437,7 +4518,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork36(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork36(out *jwriter.Writer, in GetSecurityIsolationStatusReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork37(out *jwriter.Writer, in GetSecurityIsolationStatusReturns) { out.RawByte('{') first := true _ = first @@ -4453,27 +4534,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork36(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetSecurityIsolationStatusReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork36(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork37(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetSecurityIsolationStatusReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork36(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetSecurityIsolationStatusReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork36(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork37(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetSecurityIsolationStatusReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork36(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork37(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork37(in *jlexer.Lexer, out *GetSecurityIsolationStatusParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork38(in *jlexer.Lexer, out *GetSecurityIsolationStatusParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4504,7 +4585,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork37(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork37(out *jwriter.Writer, in GetSecurityIsolationStatusParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork38(out *jwriter.Writer, in GetSecurityIsolationStatusParams) { out.RawByte('{') first := true _ = first @@ -4520,27 +4601,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork37(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetSecurityIsolationStatusParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork37(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork38(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetSecurityIsolationStatusParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork37(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetSecurityIsolationStatusParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork37(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork38(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetSecurityIsolationStatusParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork37(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork38(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork38(in *jlexer.Lexer, out *GetResponseBodyReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork39(in *jlexer.Lexer, out *GetResponseBodyReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4573,7 +4654,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork38(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork38(out *jwriter.Writer, in GetResponseBodyReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork39(out *jwriter.Writer, in GetResponseBodyReturns) { out.RawByte('{') first := true _ = first @@ -4599,27 +4680,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork38(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetResponseBodyReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork38(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork39(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResponseBodyReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork38(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork39(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResponseBodyReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork38(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork39(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResponseBodyReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork38(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork39(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork39(in *jlexer.Lexer, out *GetResponseBodyParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork40(in *jlexer.Lexer, out *GetResponseBodyParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4650,7 +4731,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork39(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork39(out *jwriter.Writer, in GetResponseBodyParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork40(out *jwriter.Writer, in GetResponseBodyParams) { out.RawByte('{') first := true _ = first @@ -4665,27 +4746,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork39(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetResponseBodyParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork39(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork40(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResponseBodyParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork39(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResponseBodyParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork39(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork40(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResponseBodyParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork39(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork40(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork40(in *jlexer.Lexer, out *GetResponseBodyForInterceptionReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork41(in *jlexer.Lexer, out *GetResponseBodyForInterceptionReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4718,7 +4799,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork40(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork40(out *jwriter.Writer, in GetResponseBodyForInterceptionReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork41(out *jwriter.Writer, in GetResponseBodyForInterceptionReturns) { out.RawByte('{') first := true _ = first @@ -4744,27 +4825,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork40(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetResponseBodyForInterceptionReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork40(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork41(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResponseBodyForInterceptionReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork40(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResponseBodyForInterceptionReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork40(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork41(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResponseBodyForInterceptionReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork40(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork41(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork41(in *jlexer.Lexer, out *GetResponseBodyForInterceptionParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork42(in *jlexer.Lexer, out *GetResponseBodyForInterceptionParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4795,7 +4876,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork41(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork41(out *jwriter.Writer, in GetResponseBodyForInterceptionParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork42(out *jwriter.Writer, in GetResponseBodyForInterceptionParams) { out.RawByte('{') first := true _ = first @@ -4810,27 +4891,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork41(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetResponseBodyForInterceptionParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork41(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork42(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResponseBodyForInterceptionParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork41(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork42(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResponseBodyForInterceptionParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork41(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork42(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResponseBodyForInterceptionParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork41(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork42(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork42(in *jlexer.Lexer, out *GetRequestPostDataReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork43(in *jlexer.Lexer, out *GetRequestPostDataReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4861,7 +4942,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork42(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork42(out *jwriter.Writer, in GetRequestPostDataReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork43(out *jwriter.Writer, in GetRequestPostDataReturns) { out.RawByte('{') first := true _ = first @@ -4877,27 +4958,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork42(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetRequestPostDataReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork42(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork43(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetRequestPostDataReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork42(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork43(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetRequestPostDataReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork42(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork43(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetRequestPostDataReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork42(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork43(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork43(in *jlexer.Lexer, out *GetRequestPostDataParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork44(in *jlexer.Lexer, out *GetRequestPostDataParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4928,7 +5009,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork43(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork43(out *jwriter.Writer, in GetRequestPostDataParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork44(out *jwriter.Writer, in GetRequestPostDataParams) { out.RawByte('{') first := true _ = first @@ -4943,27 +5024,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork43(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetRequestPostDataParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork43(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork44(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetRequestPostDataParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork43(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork44(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetRequestPostDataParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork43(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork44(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetRequestPostDataParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork43(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork44(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork44(in *jlexer.Lexer, out *GetCookiesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork45(in *jlexer.Lexer, out *GetCookiesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5023,7 +5104,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork44(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork44(out *jwriter.Writer, in GetCookiesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork45(out *jwriter.Writer, in GetCookiesReturns) { out.RawByte('{') first := true _ = first @@ -5052,27 +5133,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork44(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetCookiesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork44(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork45(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetCookiesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork44(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork45(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetCookiesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork44(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork45(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetCookiesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork44(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork45(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork45(in *jlexer.Lexer, out *GetCookiesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork46(in *jlexer.Lexer, out *GetCookiesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5124,7 +5205,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork45(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork45(out *jwriter.Writer, in GetCookiesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46(out *jwriter.Writer, in GetCookiesParams) { out.RawByte('{') first := true _ = first @@ -5149,27 +5230,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork45(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetCookiesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork45(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetCookiesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork45(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetCookiesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork45(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork46(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork45(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork46(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork46(in *jlexer.Lexer, out *GetCertificateReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork47(in *jlexer.Lexer, out *GetCertificateReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5221,7 +5302,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork46(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46(out *jwriter.Writer, in GetCertificateReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork47(out *jwriter.Writer, in GetCertificateReturns) { out.RawByte('{') first := true _ = first @@ -5246,27 +5327,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetCertificateReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork47(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetCertificateReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork47(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetCertificateReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork46(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork47(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetCertificateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork46(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork47(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork47(in *jlexer.Lexer, out *GetCertificateParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork48(in *jlexer.Lexer, out *GetCertificateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5297,7 +5378,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork47(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork47(out *jwriter.Writer, in GetCertificateParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork48(out *jwriter.Writer, in GetCertificateParams) { out.RawByte('{') first := true _ = first @@ -5312,27 +5393,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork47(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetCertificateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork47(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork48(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetCertificateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork47(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork48(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetCertificateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork47(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork48(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetCertificateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork47(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork48(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork48(in *jlexer.Lexer, out *EventWebTransportCreated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork49(in *jlexer.Lexer, out *EventWebTransportCreated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5385,7 +5466,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork48(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork48(out *jwriter.Writer, in EventWebTransportCreated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork49(out *jwriter.Writer, in EventWebTransportCreated) { out.RawByte('{') first := true _ = first @@ -5419,27 +5500,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork48(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebTransportCreated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork48(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork49(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebTransportCreated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork48(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork49(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebTransportCreated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork48(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork49(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebTransportCreated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork48(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork49(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork49(in *jlexer.Lexer, out *EventWebTransportConnectionEstablished) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork50(in *jlexer.Lexer, out *EventWebTransportConnectionEstablished) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5480,7 +5561,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork49(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork49(out *jwriter.Writer, in EventWebTransportConnectionEstablished) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork50(out *jwriter.Writer, in EventWebTransportConnectionEstablished) { out.RawByte('{') first := true _ = first @@ -5504,27 +5585,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork49(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebTransportConnectionEstablished) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork49(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork50(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebTransportConnectionEstablished) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork49(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork50(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebTransportConnectionEstablished) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork49(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork50(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebTransportConnectionEstablished) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork49(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork50(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork50(in *jlexer.Lexer, out *EventWebTransportClosed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork51(in *jlexer.Lexer, out *EventWebTransportClosed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5565,7 +5646,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork50(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork50(out *jwriter.Writer, in EventWebTransportClosed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork51(out *jwriter.Writer, in EventWebTransportClosed) { out.RawByte('{') first := true _ = first @@ -5589,27 +5670,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork50(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebTransportClosed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork50(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork51(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebTransportClosed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork50(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork51(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebTransportClosed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork50(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork51(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebTransportClosed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork50(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork51(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork51(in *jlexer.Lexer, out *EventWebSocketWillSendHandshakeRequest) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork52(in *jlexer.Lexer, out *EventWebSocketWillSendHandshakeRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5670,7 +5751,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork51(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork51(out *jwriter.Writer, in EventWebSocketWillSendHandshakeRequest) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork52(out *jwriter.Writer, in EventWebSocketWillSendHandshakeRequest) { out.RawByte('{') first := true _ = first @@ -5712,27 +5793,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork51(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebSocketWillSendHandshakeRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork51(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork52(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebSocketWillSendHandshakeRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork51(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork52(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebSocketWillSendHandshakeRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork51(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork52(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebSocketWillSendHandshakeRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork51(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork52(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork52(in *jlexer.Lexer, out *EventWebSocketHandshakeResponseReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork53(in *jlexer.Lexer, out *EventWebSocketHandshakeResponseReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5783,7 +5864,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork52(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork52(out *jwriter.Writer, in EventWebSocketHandshakeResponseReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork53(out *jwriter.Writer, in EventWebSocketHandshakeResponseReceived) { out.RawByte('{') first := true _ = first @@ -5816,27 +5897,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork52(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebSocketHandshakeResponseReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork52(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork53(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebSocketHandshakeResponseReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork52(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork53(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebSocketHandshakeResponseReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork52(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork53(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebSocketHandshakeResponseReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork52(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork53(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork53(in *jlexer.Lexer, out *EventWebSocketFrameSent) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork54(in *jlexer.Lexer, out *EventWebSocketFrameSent) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5887,7 +5968,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork53(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork53(out *jwriter.Writer, in EventWebSocketFrameSent) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork54(out *jwriter.Writer, in EventWebSocketFrameSent) { out.RawByte('{') first := true _ = first @@ -5920,27 +6001,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork53(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebSocketFrameSent) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork53(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork54(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebSocketFrameSent) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork53(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork54(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebSocketFrameSent) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork53(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork54(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebSocketFrameSent) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork53(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork54(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork54(in *jlexer.Lexer, out *EventWebSocketFrameReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork55(in *jlexer.Lexer, out *EventWebSocketFrameReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5991,7 +6072,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork54(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork54(out *jwriter.Writer, in EventWebSocketFrameReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork55(out *jwriter.Writer, in EventWebSocketFrameReceived) { out.RawByte('{') first := true _ = first @@ -6024,27 +6105,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork54(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebSocketFrameReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork54(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork55(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebSocketFrameReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork54(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork55(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebSocketFrameReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork54(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork55(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebSocketFrameReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork54(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork55(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork55(in *jlexer.Lexer, out *EventWebSocketFrameError) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork56(in *jlexer.Lexer, out *EventWebSocketFrameError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6087,7 +6168,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork55(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork55(out *jwriter.Writer, in EventWebSocketFrameError) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork56(out *jwriter.Writer, in EventWebSocketFrameError) { out.RawByte('{') first := true _ = first @@ -6116,27 +6197,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork55(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebSocketFrameError) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork55(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork56(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebSocketFrameError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork55(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork56(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebSocketFrameError) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork55(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork56(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebSocketFrameError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork55(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork56(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork56(in *jlexer.Lexer, out *EventWebSocketCreated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork57(in *jlexer.Lexer, out *EventWebSocketCreated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6179,7 +6260,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork56(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork56(out *jwriter.Writer, in EventWebSocketCreated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork57(out *jwriter.Writer, in EventWebSocketCreated) { out.RawByte('{') first := true _ = first @@ -6204,27 +6285,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork56(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebSocketCreated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork56(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork57(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebSocketCreated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork56(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork57(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebSocketCreated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork56(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork57(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebSocketCreated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork56(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork57(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork57(in *jlexer.Lexer, out *EventWebSocketClosed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork58(in *jlexer.Lexer, out *EventWebSocketClosed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6265,7 +6346,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork57(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork57(out *jwriter.Writer, in EventWebSocketClosed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork58(out *jwriter.Writer, in EventWebSocketClosed) { out.RawByte('{') first := true _ = first @@ -6289,27 +6370,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork57(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventWebSocketClosed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork57(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork58(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWebSocketClosed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork57(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork58(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWebSocketClosed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork57(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork58(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWebSocketClosed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork57(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork58(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork58(in *jlexer.Lexer, out *EventTrustTokenOperationDone) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork59(in *jlexer.Lexer, out *EventTrustTokenOperationDone) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6350,7 +6431,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork58(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork58(out *jwriter.Writer, in EventTrustTokenOperationDone) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork59(out *jwriter.Writer, in EventTrustTokenOperationDone) { out.RawByte('{') first := true _ = first @@ -6390,27 +6471,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork58(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventTrustTokenOperationDone) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork58(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork59(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventTrustTokenOperationDone) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork58(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork59(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventTrustTokenOperationDone) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork58(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork59(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventTrustTokenOperationDone) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork58(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork59(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork59(in *jlexer.Lexer, out *EventSubresourceWebBundleMetadataReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork60(in *jlexer.Lexer, out *EventSubresourceWebBundleMetadataReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6464,7 +6545,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork59(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork59(out *jwriter.Writer, in EventSubresourceWebBundleMetadataReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork60(out *jwriter.Writer, in EventSubresourceWebBundleMetadataReceived) { out.RawByte('{') first := true _ = first @@ -6495,27 +6576,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork59(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventSubresourceWebBundleMetadataReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork59(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork60(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventSubresourceWebBundleMetadataReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork59(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork60(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventSubresourceWebBundleMetadataReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork59(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork60(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventSubresourceWebBundleMetadataReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork59(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork60(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork60(in *jlexer.Lexer, out *EventSubresourceWebBundleMetadataError) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork61(in *jlexer.Lexer, out *EventSubresourceWebBundleMetadataError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6548,7 +6629,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork60(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork60(out *jwriter.Writer, in EventSubresourceWebBundleMetadataError) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork61(out *jwriter.Writer, in EventSubresourceWebBundleMetadataError) { out.RawByte('{') first := true _ = first @@ -6568,27 +6649,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork60(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventSubresourceWebBundleMetadataError) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork60(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork61(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventSubresourceWebBundleMetadataError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork60(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork61(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventSubresourceWebBundleMetadataError) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork60(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork61(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventSubresourceWebBundleMetadataError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork60(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork61(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork61(in *jlexer.Lexer, out *EventSubresourceWebBundleInnerResponseParsed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork62(in *jlexer.Lexer, out *EventSubresourceWebBundleInnerResponseParsed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6623,7 +6704,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork61(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork61(out *jwriter.Writer, in EventSubresourceWebBundleInnerResponseParsed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork62(out *jwriter.Writer, in EventSubresourceWebBundleInnerResponseParsed) { out.RawByte('{') first := true _ = first @@ -6648,27 +6729,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork61(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventSubresourceWebBundleInnerResponseParsed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork61(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork62(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventSubresourceWebBundleInnerResponseParsed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork61(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork62(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventSubresourceWebBundleInnerResponseParsed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork61(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork62(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventSubresourceWebBundleInnerResponseParsed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork61(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork62(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork62(in *jlexer.Lexer, out *EventSubresourceWebBundleInnerResponseError) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork63(in *jlexer.Lexer, out *EventSubresourceWebBundleInnerResponseError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6705,7 +6786,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork62(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork62(out *jwriter.Writer, in EventSubresourceWebBundleInnerResponseError) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork63(out *jwriter.Writer, in EventSubresourceWebBundleInnerResponseError) { out.RawByte('{') first := true _ = first @@ -6735,27 +6816,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork62(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventSubresourceWebBundleInnerResponseError) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork62(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork63(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventSubresourceWebBundleInnerResponseError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork62(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork63(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventSubresourceWebBundleInnerResponseError) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork62(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork63(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventSubresourceWebBundleInnerResponseError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork62(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork63(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork63(in *jlexer.Lexer, out *EventSignedExchangeReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(in *jlexer.Lexer, out *EventSignedExchangeReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6796,7 +6877,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork63(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork63(out *jwriter.Writer, in EventSignedExchangeReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(out *jwriter.Writer, in EventSignedExchangeReceived) { out.RawByte('{') first := true _ = first @@ -6820,27 +6901,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork63(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventSignedExchangeReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork63(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventSignedExchangeReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork63(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventSignedExchangeReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork63(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventSignedExchangeReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork63(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(in *jlexer.Lexer, out *EventResponseReceivedExtraInfo) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork65(in *jlexer.Lexer, out *EventResponseReceivedExtraInfo) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6934,7 +7015,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(out *jwriter.Writer, in EventResponseReceivedExtraInfo) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork65(out *jwriter.Writer, in EventResponseReceivedExtraInfo) { out.RawByte('{') first := true _ = first @@ -7021,27 +7102,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventResponseReceivedExtraInfo) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork65(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventResponseReceivedExtraInfo) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork65(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventResponseReceivedExtraInfo) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork65(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventResponseReceivedExtraInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork65(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork65(in *jlexer.Lexer, out *EventResponseReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork66(in *jlexer.Lexer, out *EventResponseReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7100,7 +7181,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork65(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork65(out *jwriter.Writer, in EventResponseReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork66(out *jwriter.Writer, in EventResponseReceived) { out.RawByte('{') first := true _ = first @@ -7153,27 +7234,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork65(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventResponseReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork65(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork66(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventResponseReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork65(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork66(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventResponseReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork65(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork66(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventResponseReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork65(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork66(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork66(in *jlexer.Lexer, out *EventResourceChangedPriority) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(in *jlexer.Lexer, out *EventResourceChangedPriority) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7216,7 +7297,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork66(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork66(out *jwriter.Writer, in EventResourceChangedPriority) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(out *jwriter.Writer, in EventResourceChangedPriority) { out.RawByte('{') first := true _ = first @@ -7245,27 +7326,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork66(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventResourceChangedPriority) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork66(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventResourceChangedPriority) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork66(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventResourceChangedPriority) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork66(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventResourceChangedPriority) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork66(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(in *jlexer.Lexer, out *EventRequestWillBeSentExtraInfo) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork68(in *jlexer.Lexer, out *EventRequestWillBeSentExtraInfo) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7371,7 +7452,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(out *jwriter.Writer, in EventRequestWillBeSentExtraInfo) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork68(out *jwriter.Writer, in EventRequestWillBeSentExtraInfo) { out.RawByte('{') first := true _ = first @@ -7452,27 +7533,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventRequestWillBeSentExtraInfo) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork68(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRequestWillBeSentExtraInfo) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork68(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRequestWillBeSentExtraInfo) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork68(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRequestWillBeSentExtraInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork68(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork68(in *jlexer.Lexer, out *EventRequestWillBeSent) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(in *jlexer.Lexer, out *EventRequestWillBeSent) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7565,7 +7646,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork68(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork68(out *jwriter.Writer, in EventRequestWillBeSent) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(out *jwriter.Writer, in EventRequestWillBeSent) { out.RawByte('{') first := true _ = first @@ -7651,27 +7732,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork68(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventRequestWillBeSent) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork68(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRequestWillBeSent) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork68(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRequestWillBeSent) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork68(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRequestWillBeSent) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork68(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(in *jlexer.Lexer, out *EventRequestServedFromCache) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(in *jlexer.Lexer, out *EventRequestServedFromCache) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7702,7 +7783,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(out *jwriter.Writer, in EventRequestServedFromCache) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(out *jwriter.Writer, in EventRequestServedFromCache) { out.RawByte('{') first := true _ = first @@ -7717,27 +7798,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventRequestServedFromCache) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRequestServedFromCache) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRequestServedFromCache) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRequestServedFromCache) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(in *jlexer.Lexer, out *EventReportingAPIReportUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(in *jlexer.Lexer, out *EventReportingAPIReportUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7776,7 +7857,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(out *jwriter.Writer, in EventReportingAPIReportUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(out *jwriter.Writer, in EventReportingAPIReportUpdated) { out.RawByte('{') first := true _ = first @@ -7795,27 +7876,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventReportingAPIReportUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventReportingAPIReportUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventReportingAPIReportUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventReportingAPIReportUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(in *jlexer.Lexer, out *EventReportingAPIReportAdded) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(in *jlexer.Lexer, out *EventReportingAPIReportAdded) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7854,7 +7935,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(out *jwriter.Writer, in EventReportingAPIReportAdded) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(out *jwriter.Writer, in EventReportingAPIReportAdded) { out.RawByte('{') first := true _ = first @@ -7873,27 +7954,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventReportingAPIReportAdded) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventReportingAPIReportAdded) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventReportingAPIReportAdded) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventReportingAPIReportAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(in *jlexer.Lexer, out *EventReportingAPIEndpointsChangedForOrigin) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(in *jlexer.Lexer, out *EventReportingAPIEndpointsChangedForOrigin) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7955,7 +8036,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(out *jwriter.Writer, in EventReportingAPIEndpointsChangedForOrigin) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(out *jwriter.Writer, in EventReportingAPIEndpointsChangedForOrigin) { out.RawByte('{') first := true _ = first @@ -7990,27 +8071,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventReportingAPIEndpointsChangedForOrigin) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventReportingAPIEndpointsChangedForOrigin) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventReportingAPIEndpointsChangedForOrigin) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventReportingAPIEndpointsChangedForOrigin) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(in *jlexer.Lexer, out *EventLoadingFinished) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(in *jlexer.Lexer, out *EventLoadingFinished) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8053,7 +8134,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(out *jwriter.Writer, in EventLoadingFinished) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(out *jwriter.Writer, in EventLoadingFinished) { out.RawByte('{') first := true _ = first @@ -8082,27 +8163,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventLoadingFinished) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLoadingFinished) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLoadingFinished) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLoadingFinished) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(in *jlexer.Lexer, out *EventLoadingFailed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(in *jlexer.Lexer, out *EventLoadingFailed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8161,7 +8242,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(out *jwriter.Writer, in EventLoadingFailed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(out *jwriter.Writer, in EventLoadingFailed) { out.RawByte('{') first := true _ = first @@ -8210,27 +8291,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventLoadingFailed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLoadingFailed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLoadingFailed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLoadingFailed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(in *jlexer.Lexer, out *EventEventSourceMessageReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(in *jlexer.Lexer, out *EventEventSourceMessageReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8277,7 +8358,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(out *jwriter.Writer, in EventEventSourceMessageReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(out *jwriter.Writer, in EventEventSourceMessageReceived) { out.RawByte('{') first := true _ = first @@ -8316,27 +8397,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventEventSourceMessageReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventEventSourceMessageReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventEventSourceMessageReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventEventSourceMessageReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(in *jlexer.Lexer, out *EventDataReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(in *jlexer.Lexer, out *EventDataReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8381,7 +8462,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(out *jwriter.Writer, in EventDataReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(out *jwriter.Writer, in EventDataReceived) { out.RawByte('{') first := true _ = first @@ -8415,27 +8496,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventDataReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventDataReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventDataReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventDataReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(in *jlexer.Lexer, out *EnableReportingAPIParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(in *jlexer.Lexer, out *EnableReportingAPIParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8466,7 +8547,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(out *jwriter.Writer, in EnableReportingAPIParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(out *jwriter.Writer, in EnableReportingAPIParams) { out.RawByte('{') first := true _ = first @@ -8481,27 +8562,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EnableReportingAPIParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableReportingAPIParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableReportingAPIParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableReportingAPIParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8536,7 +8617,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -8572,27 +8653,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(in *jlexer.Lexer, out *EmulateNetworkConditionsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(in *jlexer.Lexer, out *EmulateNetworkConditionsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8631,7 +8712,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(out *jwriter.Writer, in EmulateNetworkConditionsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(out *jwriter.Writer, in EmulateNetworkConditionsParams) { out.RawByte('{') first := true _ = first @@ -8666,27 +8747,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EmulateNetworkConditionsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EmulateNetworkConditionsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EmulateNetworkConditionsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EmulateNetworkConditionsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8715,7 +8796,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -8725,27 +8806,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(in *jlexer.Lexer, out *DeleteCookiesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(in *jlexer.Lexer, out *DeleteCookiesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8782,7 +8863,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(out *jwriter.Writer, in DeleteCookiesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(out *jwriter.Writer, in DeleteCookiesParams) { out.RawByte('{') first := true _ = first @@ -8812,27 +8893,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v DeleteCookiesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DeleteCookiesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DeleteCookiesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DeleteCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(in *jlexer.Lexer, out *CrossOriginOpenerPolicyStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(in *jlexer.Lexer, out *CrossOriginOpenerPolicyStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8869,7 +8950,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(out *jwriter.Writer, in CrossOriginOpenerPolicyStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(out *jwriter.Writer, in CrossOriginOpenerPolicyStatus) { out.RawByte('{') first := true _ = first @@ -8899,27 +8980,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CrossOriginOpenerPolicyStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CrossOriginOpenerPolicyStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CrossOriginOpenerPolicyStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CrossOriginOpenerPolicyStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(in *jlexer.Lexer, out *CrossOriginEmbedderPolicyStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(in *jlexer.Lexer, out *CrossOriginEmbedderPolicyStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8956,7 +9037,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(out *jwriter.Writer, in CrossOriginEmbedderPolicyStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(out *jwriter.Writer, in CrossOriginEmbedderPolicyStatus) { out.RawByte('{') first := true _ = first @@ -8986,27 +9067,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CrossOriginEmbedderPolicyStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CrossOriginEmbedderPolicyStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CrossOriginEmbedderPolicyStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CrossOriginEmbedderPolicyStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(in *jlexer.Lexer, out *CorsErrorStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(in *jlexer.Lexer, out *CorsErrorStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9039,7 +9120,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(out *jwriter.Writer, in CorsErrorStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(out *jwriter.Writer, in CorsErrorStatus) { out.RawByte('{') first := true _ = first @@ -9059,27 +9140,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CorsErrorStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CorsErrorStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CorsErrorStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CorsErrorStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(in *jlexer.Lexer, out *CookieParam) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(in *jlexer.Lexer, out *CookieParam) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9144,7 +9225,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(out *jwriter.Writer, in CookieParam) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(out *jwriter.Writer, in CookieParam) { out.RawByte('{') first := true _ = first @@ -9224,27 +9305,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CookieParam) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CookieParam) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CookieParam) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CookieParam) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(in *jlexer.Lexer, out *Cookie) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, out *Cookie) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9285,8 +9366,6 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(in *jlexer.Lexer, o (out.SameSite).UnmarshalEasyJSON(in) case "priority": (out.Priority).UnmarshalEasyJSON(in) - case "sameParty": - out.SameParty = bool(in.Bool()) case "sourceScheme": (out.SourceScheme).UnmarshalEasyJSON(in) case "sourcePort": @@ -9305,7 +9384,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(out *jwriter.Writer, in Cookie) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer, in Cookie) { out.RawByte('{') first := true _ = first @@ -9364,11 +9443,6 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(out *jwriter.Writer out.RawString(prefix) (in.Priority).MarshalEasyJSON(out) } - { - const prefix string = ",\"sameParty\":" - out.RawString(prefix) - out.Bool(bool(in.SameParty)) - } { const prefix string = ",\"sourceScheme\":" out.RawString(prefix) @@ -9395,27 +9469,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v Cookie) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Cookie) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Cookie) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Cookie) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, out *ContentSecurityPolicyStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, out *ContentSecurityPolicyStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9450,7 +9524,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer, in ContentSecurityPolicyStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer, in ContentSecurityPolicyStatus) { out.RawByte('{') first := true _ = first @@ -9475,27 +9549,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ContentSecurityPolicyStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ContentSecurityPolicyStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ContentSecurityPolicyStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ContentSecurityPolicyStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, out *ConnectTiming) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, out *ConnectTiming) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9526,7 +9600,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer, in ConnectTiming) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer, in ConnectTiming) { out.RawByte('{') first := true _ = first @@ -9541,27 +9615,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ConnectTiming) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ConnectTiming) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ConnectTiming) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ConnectTiming) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, out *ClientSecurityState) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, out *ClientSecurityState) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9596,7 +9670,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer, in ClientSecurityState) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer, in ClientSecurityState) { out.RawByte('{') first := true _ = first @@ -9621,27 +9695,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClientSecurityState) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClientSecurityState) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClientSecurityState) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClientSecurityState) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, out *ClearBrowserCookiesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, out *ClearBrowserCookiesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9670,7 +9744,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer, in ClearBrowserCookiesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer, in ClearBrowserCookiesParams) { out.RawByte('{') first := true _ = first @@ -9680,27 +9754,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearBrowserCookiesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearBrowserCookiesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearBrowserCookiesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearBrowserCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, out *ClearBrowserCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, out *ClearBrowserCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9729,7 +9803,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer, in ClearBrowserCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer, in ClearBrowserCacheParams) { out.RawByte('{') first := true _ = first @@ -9739,27 +9813,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearBrowserCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearBrowserCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearBrowserCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearBrowserCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, out *ClearAcceptedEncodingsOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, out *ClearAcceptedEncodingsOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9788,7 +9862,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer, in ClearAcceptedEncodingsOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer, in ClearAcceptedEncodingsOverrideParams) { out.RawByte('{') first := true _ = first @@ -9798,27 +9872,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearAcceptedEncodingsOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearAcceptedEncodingsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearAcceptedEncodingsOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearAcceptedEncodingsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, out *CachedResource) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, out *CachedResource) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9863,7 +9937,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer, in CachedResource) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer, in CachedResource) { out.RawByte('{') first := true _ = first @@ -9893,27 +9967,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CachedResource) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CachedResource) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CachedResource) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CachedResource) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, out *BlockedSetCookieWithReason) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, out *BlockedSetCookieWithReason) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9977,7 +10051,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer, in BlockedSetCookieWithReason) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer, in BlockedSetCookieWithReason) { out.RawByte('{') first := true _ = first @@ -10013,27 +10087,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v BlockedSetCookieWithReason) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BlockedSetCookieWithReason) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BlockedSetCookieWithReason) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BlockedSetCookieWithReason) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, out *BlockedCookieWithReason) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, out *BlockedCookieWithReason) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10095,7 +10169,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer, in BlockedCookieWithReason) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer, in BlockedCookieWithReason) { out.RawByte('{') first := true _ = first @@ -10130,27 +10204,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v BlockedCookieWithReason) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BlockedCookieWithReason) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BlockedCookieWithReason) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BlockedCookieWithReason) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, out *AuthChallengeResponse) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(in *jlexer.Lexer, out *AuthChallengeResponse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10185,7 +10259,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer, in AuthChallengeResponse) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(out *jwriter.Writer, in AuthChallengeResponse) { out.RawByte('{') first := true _ = first @@ -10210,27 +10284,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AuthChallengeResponse) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AuthChallengeResponse) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AuthChallengeResponse) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AuthChallengeResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(in *jlexer.Lexer, out *AuthChallenge) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(in *jlexer.Lexer, out *AuthChallenge) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10267,7 +10341,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(out *jwriter.Writer, in AuthChallenge) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(out *jwriter.Writer, in AuthChallenge) { out.RawByte('{') first := true _ = first @@ -10303,23 +10377,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AuthChallenge) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AuthChallenge) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AuthChallenge) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AuthChallenge) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(l, v) } diff --git a/network/types.go b/network/types.go index 3016d5a..fcf4a05 100644 --- a/network/types.go +++ b/network/types.go @@ -1017,6 +1017,13 @@ func (t *AlternateProtocolUsage) UnmarshalJSON(buf []byte) error { return easyjson.Unmarshal(buf, t) } +// ServiceWorkerRouterInfo [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Network#type-ServiceWorkerRouterInfo +type ServiceWorkerRouterInfo struct { + RuleIDMatched int64 `json:"ruleIdMatched"` +} + // Response HTTP response data. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Network#type-Response @@ -1034,6 +1041,7 @@ type Response struct { FromDiskCache bool `json:"fromDiskCache,omitempty"` // Specifies that the request was served from the disk cache. FromServiceWorker bool `json:"fromServiceWorker,omitempty"` // Specifies that the request was served from the ServiceWorker. FromPrefetchCache bool `json:"fromPrefetchCache,omitempty"` // Specifies that the request was served from the prefetch cache. + ServiceWorkerRouterInfo *ServiceWorkerRouterInfo `json:"serviceWorkerRouterInfo,omitempty"` // Information about how Service Worker Static Router was used. EncodedDataLength float64 `json:"encodedDataLength"` // Total number of bytes received for this request so far. Timing *ResourceTiming `json:"timing,omitempty"` // Timing information for the given request. ServiceWorkerResponseSource ServiceWorkerResponseSource `json:"serviceWorkerResponseSource,omitempty"` // Response source of response from ServiceWorker. @@ -1111,7 +1119,6 @@ type Cookie struct { Session bool `json:"session"` // True in case of session cookie. SameSite CookieSameSite `json:"sameSite,omitempty"` // Cookie SameSite type. Priority CookiePriority `json:"priority"` // Cookie Priority - SameParty bool `json:"sameParty"` // True if cookie is SameParty. SourceScheme CookieSourceScheme `json:"sourceScheme"` // Cookie source scheme type. SourcePort int64 `json:"sourcePort"` // Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future. PartitionKey string `json:"partitionKey,omitempty"` // Cookie partition key. The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie. diff --git a/page/easyjson.go b/page/easyjson.go index ed76b74..4f6e49b 100644 --- a/page/easyjson.go +++ b/page/easyjson.go @@ -2243,6 +2243,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(in *jlexer.Lexer, out (out.TransferMode).UnmarshalEasyJSON(in) case "generateTaggedPDF": out.GenerateTaggedPDF = bool(in.Bool()) + case "generateDocumentOutline": + out.GenerateDocumentOutline = bool(in.Bool()) default: in.SkipRecursive() } @@ -2368,6 +2370,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(out *jwriter.Writer, i out.RawString(prefix) out.Bool(bool(in.GenerateTaggedPDF)) } + if in.GenerateDocumentOutline { + const prefix string = ",\"generateDocumentOutline\":" + out.RawString(prefix) + out.Bool(bool(in.GenerateDocumentOutline)) + } out.RawByte('}') } diff --git a/page/page.go b/page/page.go index 02936d1..7d38bc6 100644 --- a/page/page.go +++ b/page/page.go @@ -796,22 +796,23 @@ func (p *NavigateToHistoryEntryParams) Do(ctx context.Context) (err error) { // PrintToPDFParams print page as PDF. type PrintToPDFParams struct { - Landscape bool `json:"landscape,omitempty"` // Paper orientation. Defaults to false. - DisplayHeaderFooter bool `json:"displayHeaderFooter,omitempty"` // Display header and footer. Defaults to false. - PrintBackground bool `json:"printBackground,omitempty"` // Print background graphics. Defaults to false. - Scale float64 `json:"scale,omitempty"` // Scale of the webpage rendering. Defaults to 1. - PaperWidth float64 `json:"paperWidth,omitempty"` // Paper width in inches. Defaults to 8.5 inches. - PaperHeight float64 `json:"paperHeight,omitempty"` // Paper height in inches. Defaults to 11 inches. - MarginTop float64 `json:"marginTop"` // Top margin in inches. Defaults to 1cm (~0.4 inches). - MarginBottom float64 `json:"marginBottom"` // Bottom margin in inches. Defaults to 1cm (~0.4 inches). - MarginLeft float64 `json:"marginLeft"` // Left margin in inches. Defaults to 1cm (~0.4 inches). - MarginRight float64 `json:"marginRight"` // Right margin in inches. Defaults to 1cm (~0.4 inches). - PageRanges string `json:"pageRanges,omitempty"` // Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are printed in the document order, not in the order specified, and no more than once. Defaults to empty string, which implies the entire document is printed. The page numbers are quietly capped to actual page count of the document, and ranges beyond the end of the document are ignored. If this results in no pages to print, an error is reported. It is an error to specify a range with start greater than end. - HeaderTemplate string `json:"headerTemplate,omitempty"` // HTML template for the print header. Should be valid HTML markup with following classes used to inject printing values into them: - date: formatted print date - title: document title - url: document location - pageNumber: current page number - totalPages: total pages in the document For example, would generate span containing the title. - FooterTemplate string `json:"footerTemplate,omitempty"` // HTML template for the print footer. Should use the same format as the headerTemplate. - PreferCSSPageSize bool `json:"preferCSSPageSize,omitempty"` // Whether or not to prefer page size as defined by css. Defaults to false, in which case the content will be scaled to fit the paper size. - TransferMode PrintToPDFTransferMode `json:"transferMode,omitempty"` // return as stream - GenerateTaggedPDF bool `json:"generateTaggedPDF,omitempty"` // Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice. + Landscape bool `json:"landscape,omitempty"` // Paper orientation. Defaults to false. + DisplayHeaderFooter bool `json:"displayHeaderFooter,omitempty"` // Display header and footer. Defaults to false. + PrintBackground bool `json:"printBackground,omitempty"` // Print background graphics. Defaults to false. + Scale float64 `json:"scale,omitempty"` // Scale of the webpage rendering. Defaults to 1. + PaperWidth float64 `json:"paperWidth,omitempty"` // Paper width in inches. Defaults to 8.5 inches. + PaperHeight float64 `json:"paperHeight,omitempty"` // Paper height in inches. Defaults to 11 inches. + MarginTop float64 `json:"marginTop"` // Top margin in inches. Defaults to 1cm (~0.4 inches). + MarginBottom float64 `json:"marginBottom"` // Bottom margin in inches. Defaults to 1cm (~0.4 inches). + MarginLeft float64 `json:"marginLeft"` // Left margin in inches. Defaults to 1cm (~0.4 inches). + MarginRight float64 `json:"marginRight"` // Right margin in inches. Defaults to 1cm (~0.4 inches). + PageRanges string `json:"pageRanges,omitempty"` // Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are printed in the document order, not in the order specified, and no more than once. Defaults to empty string, which implies the entire document is printed. The page numbers are quietly capped to actual page count of the document, and ranges beyond the end of the document are ignored. If this results in no pages to print, an error is reported. It is an error to specify a range with start greater than end. + HeaderTemplate string `json:"headerTemplate,omitempty"` // HTML template for the print header. Should be valid HTML markup with following classes used to inject printing values into them: - date: formatted print date - title: document title - url: document location - pageNumber: current page number - totalPages: total pages in the document For example, would generate span containing the title. + FooterTemplate string `json:"footerTemplate,omitempty"` // HTML template for the print footer. Should use the same format as the headerTemplate. + PreferCSSPageSize bool `json:"preferCSSPageSize,omitempty"` // Whether or not to prefer page size as defined by css. Defaults to false, in which case the content will be scaled to fit the paper size. + TransferMode PrintToPDFTransferMode `json:"transferMode,omitempty"` // return as stream + GenerateTaggedPDF bool `json:"generateTaggedPDF,omitempty"` // Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice. + GenerateDocumentOutline bool `json:"generateDocumentOutline,omitempty"` // Whether or not to embed the document outline into the PDF. } // PrintToPDF print page as PDF. @@ -934,6 +935,13 @@ func (p PrintToPDFParams) WithGenerateTaggedPDF(generateTaggedPDF bool) *PrintTo return &p } +// WithGenerateDocumentOutline whether or not to embed the document outline +// into the PDF. +func (p PrintToPDFParams) WithGenerateDocumentOutline(generateDocumentOutline bool) *PrintToPDFParams { + p.GenerateDocumentOutline = generateDocumentOutline + return &p +} + // PrintToPDFReturns return values. type PrintToPDFReturns struct { Data string `json:"data,omitempty"` // Base64-encoded pdf data. Empty if |returnAsStream| is specified. diff --git a/page/types.go b/page/types.go index c708fd0..aee7d9c 100644 --- a/page/types.go +++ b/page/types.go @@ -111,6 +111,7 @@ const ( PermissionsPolicyFeatureUnload PermissionsPolicyFeature = "unload" PermissionsPolicyFeatureUsb PermissionsPolicyFeature = "usb" PermissionsPolicyFeatureVerticalScroll PermissionsPolicyFeature = "vertical-scroll" + PermissionsPolicyFeatureWebPrinting PermissionsPolicyFeature = "web-printing" PermissionsPolicyFeatureWebShare PermissionsPolicyFeature = "web-share" PermissionsPolicyFeatureWindowManagement PermissionsPolicyFeature = "window-management" PermissionsPolicyFeatureWindowPlacement PermissionsPolicyFeature = "window-placement" @@ -281,6 +282,8 @@ func (t *PermissionsPolicyFeature) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PermissionsPolicyFeatureUsb case PermissionsPolicyFeatureVerticalScroll: *t = PermissionsPolicyFeatureVerticalScroll + case PermissionsPolicyFeatureWebPrinting: + *t = PermissionsPolicyFeatureWebPrinting case PermissionsPolicyFeatureWebShare: *t = PermissionsPolicyFeatureWebShare case PermissionsPolicyFeatureWindowManagement: diff --git a/preload/easyjson.go b/preload/easyjson.go index 6affaaf..f295f30 100644 --- a/preload/easyjson.go +++ b/preload/easyjson.go @@ -127,7 +127,87 @@ func (v *RuleSet) UnmarshalJSON(data []byte) error { func (v *RuleSet) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(in *jlexer.Lexer, out *IngAttemptSource) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(in *jlexer.Lexer, out *PrerenderMismatchedHeaders) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "headerName": + out.HeaderName = string(in.String()) + case "initialValue": + out.InitialValue = string(in.String()) + case "activationValue": + out.ActivationValue = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(out *jwriter.Writer, in PrerenderMismatchedHeaders) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"headerName\":" + out.RawString(prefix[1:]) + out.String(string(in.HeaderName)) + } + if in.InitialValue != "" { + const prefix string = ",\"initialValue\":" + out.RawString(prefix) + out.String(string(in.InitialValue)) + } + if in.ActivationValue != "" { + const prefix string = ",\"activationValue\":" + out.RawString(prefix) + out.String(string(in.ActivationValue)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v PrerenderMismatchedHeaders) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v PrerenderMismatchedHeaders) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *PrerenderMismatchedHeaders) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *PrerenderMismatchedHeaders) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(in *jlexer.Lexer, out *IngAttemptSource) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -212,7 +292,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(out *jwriter.Writer, in IngAttemptSource) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(out *jwriter.Writer, in IngAttemptSource) { out.RawByte('{') first := true _ = first @@ -263,27 +343,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v IngAttemptSource) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v IngAttemptSource) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *IngAttemptSource) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *IngAttemptSource) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(in *jlexer.Lexer, out *IngAttemptKey) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(in *jlexer.Lexer, out *IngAttemptKey) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -320,7 +400,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(out *jwriter.Writer, in IngAttemptKey) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(out *jwriter.Writer, in IngAttemptKey) { out.RawByte('{') first := true _ = first @@ -350,27 +430,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v IngAttemptKey) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v IngAttemptKey) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *IngAttemptKey) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *IngAttemptKey) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(in *jlexer.Lexer, out *EventRuleSetUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(in *jlexer.Lexer, out *EventRuleSetUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -409,7 +489,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(out *jwriter.Writer, in EventRuleSetUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(out *jwriter.Writer, in EventRuleSetUpdated) { out.RawByte('{') first := true _ = first @@ -428,27 +508,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventRuleSetUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRuleSetUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRuleSetUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRuleSetUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(in *jlexer.Lexer, out *EventRuleSetRemoved) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(in *jlexer.Lexer, out *EventRuleSetRemoved) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -479,7 +559,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(out *jwriter.Writer, in EventRuleSetRemoved) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(out *jwriter.Writer, in EventRuleSetRemoved) { out.RawByte('{') first := true _ = first @@ -494,27 +574,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventRuleSetRemoved) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRuleSetRemoved) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRuleSetRemoved) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRuleSetRemoved) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(in *jlexer.Lexer, out *EventPrerenderStatusUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(in *jlexer.Lexer, out *EventPrerenderStatusUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -549,6 +629,37 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(in *jlexer.Lexer, ou (out.PrerenderStatus).UnmarshalEasyJSON(in) case "disallowedMojoInterface": out.DisallowedMojoInterface = string(in.String()) + case "mismatchedHeaders": + if in.IsNull() { + in.Skip() + out.MismatchedHeaders = nil + } else { + in.Delim('[') + if out.MismatchedHeaders == nil { + if !in.IsDelim(']') { + out.MismatchedHeaders = make([]*PrerenderMismatchedHeaders, 0, 8) + } else { + out.MismatchedHeaders = []*PrerenderMismatchedHeaders{} + } + } else { + out.MismatchedHeaders = (out.MismatchedHeaders)[:0] + } + for !in.IsDelim(']') { + var v7 *PrerenderMismatchedHeaders + if in.IsNull() { + in.Skip() + v7 = nil + } else { + if v7 == nil { + v7 = new(PrerenderMismatchedHeaders) + } + (*v7).UnmarshalEasyJSON(in) + } + out.MismatchedHeaders = append(out.MismatchedHeaders, v7) + in.WantComma() + } + in.Delim(']') + } default: in.SkipRecursive() } @@ -559,7 +670,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(out *jwriter.Writer, in EventPrerenderStatusUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(out *jwriter.Writer, in EventPrerenderStatusUpdated) { out.RawByte('{') first := true _ = first @@ -587,33 +698,51 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(out *jwriter.Writer, out.RawString(prefix) out.String(string(in.DisallowedMojoInterface)) } + if len(in.MismatchedHeaders) != 0 { + const prefix string = ",\"mismatchedHeaders\":" + out.RawString(prefix) + { + out.RawByte('[') + for v8, v9 := range in.MismatchedHeaders { + if v8 > 0 { + out.RawByte(',') + } + if v9 == nil { + out.RawString("null") + } else { + (*v9).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v EventPrerenderStatusUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventPrerenderStatusUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventPrerenderStatusUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventPrerenderStatusUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(in *jlexer.Lexer, out *EventPreloadingAttemptSourcesUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(in *jlexer.Lexer, out *EventPreloadingAttemptSourcesUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -650,17 +779,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(in *jlexer.Lexer, ou out.PreloadingAttemptSources = (out.PreloadingAttemptSources)[:0] } for !in.IsDelim(']') { - var v7 *IngAttemptSource + var v10 *IngAttemptSource if in.IsNull() { in.Skip() - v7 = nil + v10 = nil } else { - if v7 == nil { - v7 = new(IngAttemptSource) + if v10 == nil { + v10 = new(IngAttemptSource) } - (*v7).UnmarshalEasyJSON(in) + (*v10).UnmarshalEasyJSON(in) } - out.PreloadingAttemptSources = append(out.PreloadingAttemptSources, v7) + out.PreloadingAttemptSources = append(out.PreloadingAttemptSources, v10) in.WantComma() } in.Delim(']') @@ -675,7 +804,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(out *jwriter.Writer, in EventPreloadingAttemptSourcesUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(out *jwriter.Writer, in EventPreloadingAttemptSourcesUpdated) { out.RawByte('{') first := true _ = first @@ -691,14 +820,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v8, v9 := range in.PreloadingAttemptSources { - if v8 > 0 { + for v11, v12 := range in.PreloadingAttemptSources { + if v11 > 0 { out.RawByte(',') } - if v9 == nil { + if v12 == nil { out.RawString("null") } else { - (*v9).MarshalEasyJSON(out) + (*v12).MarshalEasyJSON(out) } } out.RawByte(']') @@ -710,27 +839,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventPreloadingAttemptSourcesUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventPreloadingAttemptSourcesUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventPreloadingAttemptSourcesUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventPreloadingAttemptSourcesUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(in *jlexer.Lexer, out *EventPreloadEnabledStateUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(in *jlexer.Lexer, out *EventPreloadEnabledStateUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -769,7 +898,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(out *jwriter.Writer, in EventPreloadEnabledStateUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(out *jwriter.Writer, in EventPreloadEnabledStateUpdated) { out.RawByte('{') first := true _ = first @@ -804,27 +933,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventPreloadEnabledStateUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventPreloadEnabledStateUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventPreloadEnabledStateUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventPreloadEnabledStateUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(in *jlexer.Lexer, out *EventPrefetchStatusUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(in *jlexer.Lexer, out *EventPrefetchStatusUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -873,7 +1002,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(out *jwriter.Writer, in EventPrefetchStatusUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(out *jwriter.Writer, in EventPrefetchStatusUpdated) { out.RawByte('{') first := true _ = first @@ -917,27 +1046,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventPrefetchStatusUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventPrefetchStatusUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventPrefetchStatusUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventPrefetchStatusUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -966,7 +1095,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -976,27 +1105,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload11(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1025,7 +1154,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload11(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -1035,23 +1164,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload11(l, v) } diff --git a/preload/events.go b/preload/events.go index ff84efb..e630060 100644 --- a/preload/events.go +++ b/preload/events.go @@ -50,10 +50,11 @@ type EventPrefetchStatusUpdated struct { // // See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-prerenderStatusUpdated type EventPrerenderStatusUpdated struct { - Key *IngAttemptKey `json:"key"` - Status IngStatus `json:"status"` - PrerenderStatus PrerenderFinalStatus `json:"prerenderStatus,omitempty"` - DisallowedMojoInterface string `json:"disallowedMojoInterface,omitempty"` // This is used to give users more information about the name of Mojo interface that is incompatible with prerender and has caused the cancellation of the attempt. + Key *IngAttemptKey `json:"key"` + Status IngStatus `json:"status"` + PrerenderStatus PrerenderFinalStatus `json:"prerenderStatus,omitempty"` + DisallowedMojoInterface string `json:"disallowedMojoInterface,omitempty"` // This is used to give users more information about the name of Mojo interface that is incompatible with prerender and has caused the cancellation of the attempt. + MismatchedHeaders []*PrerenderMismatchedHeaders `json:"mismatchedHeaders,omitempty"` } // EventPreloadingAttemptSourcesUpdated send a list of sources for all diff --git a/preload/types.go b/preload/types.go index c5b3b1f..003852f 100644 --- a/preload/types.go +++ b/preload/types.go @@ -622,3 +622,13 @@ func (t *PrefetchStatus) UnmarshalEasyJSON(in *jlexer.Lexer) { func (t *PrefetchStatus) UnmarshalJSON(buf []byte) error { return easyjson.Unmarshal(buf, t) } + +// PrerenderMismatchedHeaders information of headers to be displayed when the +// header mismatch occurred. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#type-PrerenderMismatchedHeaders +type PrerenderMismatchedHeaders struct { + HeaderName string `json:"headerName"` + InitialValue string `json:"initialValue,omitempty"` + ActivationValue string `json:"activationValue,omitempty"` +} diff --git a/serviceworker/easyjson.go b/serviceworker/easyjson.go index 6863c36..e7b6b6d 100644 --- a/serviceworker/easyjson.go +++ b/serviceworker/easyjson.go @@ -76,6 +76,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoServiceworker(in *jlexer.Lexe } case "targetId": out.TargetID = target.ID(in.String()) + case "routerRules": + out.RouterRules = string(in.String()) default: in.SkipRecursive() } @@ -144,6 +146,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoServiceworker(out *jwriter.Wr out.RawString(prefix) out.String(string(in.TargetID)) } + if in.RouterRules != "" { + const prefix string = ",\"routerRules\":" + out.RawString(prefix) + out.String(string(in.RouterRules)) + } out.RawByte('}') } diff --git a/serviceworker/types.go b/serviceworker/types.go index bc77f61..f765259 100644 --- a/serviceworker/types.go +++ b/serviceworker/types.go @@ -151,6 +151,7 @@ type Version struct { ScriptResponseTime float64 `json:"scriptResponseTime,omitempty"` // The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated. ControlledClients []target.ID `json:"controlledClients,omitempty"` TargetID target.ID `json:"targetId,omitempty"` + RouterRules string `json:"routerRules,omitempty"` } // ErrorMessage serviceWorker error message. diff --git a/storage/easyjson.go b/storage/easyjson.go index 541e829..feceb5b 100644 --- a/storage/easyjson.go +++ b/storage/easyjson.go @@ -5113,7 +5113,124 @@ func (v *Bucket) UnmarshalJSON(data []byte) error { func (v *Bucket) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage60(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(in *jlexer.Lexer, out *AttributionReportingSourceRegistration) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(in *jlexer.Lexer, out *AttributionReportingTriggerSpec) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "triggerData": + if in.IsNull() { + in.Skip() + out.TriggerData = nil + } else { + in.Delim('[') + if out.TriggerData == nil { + if !in.IsDelim(']') { + out.TriggerData = make([]float64, 0, 8) + } else { + out.TriggerData = []float64{} + } + } else { + out.TriggerData = (out.TriggerData)[:0] + } + for !in.IsDelim(']') { + var v34 float64 + v34 = float64(in.Float64()) + out.TriggerData = append(out.TriggerData, v34) + in.WantComma() + } + in.Delim(']') + } + case "eventReportWindows": + if in.IsNull() { + in.Skip() + out.EventReportWindows = nil + } else { + if out.EventReportWindows == nil { + out.EventReportWindows = new(AttributionReportingEventReportWindows) + } + (*out.EventReportWindows).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(out *jwriter.Writer, in AttributionReportingTriggerSpec) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"triggerData\":" + out.RawString(prefix[1:]) + if in.TriggerData == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v35, v36 := range in.TriggerData { + if v35 > 0 { + out.RawByte(',') + } + out.Float64(float64(v36)) + } + out.RawByte(']') + } + } + { + const prefix string = ",\"eventReportWindows\":" + out.RawString(prefix) + if in.EventReportWindows == nil { + out.RawString("null") + } else { + (*in.EventReportWindows).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v AttributionReportingTriggerSpec) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v AttributionReportingTriggerSpec) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *AttributionReportingTriggerSpec) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *AttributionReportingTriggerSpec) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(in *jlexer.Lexer, out *AttributionReportingSourceRegistration) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5144,15 +5261,36 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(in *jlexer.Lexer, o } case "expiry": out.Expiry = int64(in.Int64()) - case "eventReportWindows": + case "triggerSpecs": if in.IsNull() { in.Skip() - out.EventReportWindows = nil + out.TriggerSpecs = nil } else { - if out.EventReportWindows == nil { - out.EventReportWindows = new(AttributionReportingEventReportWindows) + in.Delim('[') + if out.TriggerSpecs == nil { + if !in.IsDelim(']') { + out.TriggerSpecs = make([]*AttributionReportingTriggerSpec, 0, 8) + } else { + out.TriggerSpecs = []*AttributionReportingTriggerSpec{} + } + } else { + out.TriggerSpecs = (out.TriggerSpecs)[:0] } - (*out.EventReportWindows).UnmarshalEasyJSON(in) + for !in.IsDelim(']') { + var v37 *AttributionReportingTriggerSpec + if in.IsNull() { + in.Skip() + v37 = nil + } else { + if v37 == nil { + v37 = new(AttributionReportingTriggerSpec) + } + (*v37).UnmarshalEasyJSON(in) + } + out.TriggerSpecs = append(out.TriggerSpecs, v37) + in.WantComma() + } + in.Delim(']') } case "aggregatableReportWindow": out.AggregatableReportWindow = int64(in.Int64()) @@ -5178,9 +5316,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(in *jlexer.Lexer, o out.DestinationSites = (out.DestinationSites)[:0] } for !in.IsDelim(']') { - var v34 string - v34 = string(in.String()) - out.DestinationSites = append(out.DestinationSites, v34) + var v38 string + v38 = string(in.String()) + out.DestinationSites = append(out.DestinationSites, v38) in.WantComma() } in.Delim(']') @@ -5205,17 +5343,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(in *jlexer.Lexer, o out.FilterData = (out.FilterData)[:0] } for !in.IsDelim(']') { - var v35 *AttributionReportingFilterDataEntry + var v39 *AttributionReportingFilterDataEntry if in.IsNull() { in.Skip() - v35 = nil + v39 = nil } else { - if v35 == nil { - v35 = new(AttributionReportingFilterDataEntry) + if v39 == nil { + v39 = new(AttributionReportingFilterDataEntry) } - (*v35).UnmarshalEasyJSON(in) + (*v39).UnmarshalEasyJSON(in) } - out.FilterData = append(out.FilterData, v35) + out.FilterData = append(out.FilterData, v39) in.WantComma() } in.Delim(']') @@ -5236,17 +5374,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(in *jlexer.Lexer, o out.AggregationKeys = (out.AggregationKeys)[:0] } for !in.IsDelim(']') { - var v36 *AttributionReportingAggregationKeysEntry + var v40 *AttributionReportingAggregationKeysEntry if in.IsNull() { in.Skip() - v36 = nil + v40 = nil } else { - if v36 == nil { - v36 = new(AttributionReportingAggregationKeysEntry) + if v40 == nil { + v40 = new(AttributionReportingAggregationKeysEntry) } - (*v36).UnmarshalEasyJSON(in) + (*v40).UnmarshalEasyJSON(in) } - out.AggregationKeys = append(out.AggregationKeys, v36) + out.AggregationKeys = append(out.AggregationKeys, v40) in.WantComma() } in.Delim(']') @@ -5265,7 +5403,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(out *jwriter.Writer, in AttributionReportingSourceRegistration) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(out *jwriter.Writer, in AttributionReportingSourceRegistration) { out.RawByte('{') first := true _ = first @@ -5284,12 +5422,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(out *jwriter.Writer out.Int64(int64(in.Expiry)) } { - const prefix string = ",\"eventReportWindows\":" + const prefix string = ",\"triggerSpecs\":" out.RawString(prefix) - if in.EventReportWindows == nil { + if in.TriggerSpecs == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { out.RawString("null") } else { - (*in.EventReportWindows).MarshalEasyJSON(out) + out.RawByte('[') + for v41, v42 := range in.TriggerSpecs { + if v41 > 0 { + out.RawByte(',') + } + if v42 == nil { + out.RawString("null") + } else { + (*v42).MarshalEasyJSON(out) + } + } + out.RawByte(']') } } { @@ -5319,11 +5468,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v37, v38 := range in.DestinationSites { - if v37 > 0 { + for v43, v44 := range in.DestinationSites { + if v43 > 0 { out.RawByte(',') } - out.String(string(v38)) + out.String(string(v44)) } out.RawByte(']') } @@ -5345,14 +5494,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v39, v40 := range in.FilterData { - if v39 > 0 { + for v45, v46 := range in.FilterData { + if v45 > 0 { out.RawByte(',') } - if v40 == nil { + if v46 == nil { out.RawString("null") } else { - (*v40).MarshalEasyJSON(out) + (*v46).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5365,14 +5514,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v41, v42 := range in.AggregationKeys { - if v41 > 0 { + for v47, v48 := range in.AggregationKeys { + if v47 > 0 { out.RawByte(',') } - if v42 == nil { + if v48 == nil { out.RawString("null") } else { - (*v42).MarshalEasyJSON(out) + (*v48).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5394,27 +5543,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AttributionReportingSourceRegistration) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AttributionReportingSourceRegistration) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AttributionReportingSourceRegistration) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AttributionReportingSourceRegistration) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(in *jlexer.Lexer, out *AttributionReportingFilterDataEntry) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(in *jlexer.Lexer, out *AttributionReportingFilterDataEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5451,9 +5600,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(in *jlexer.Lexer, o out.Values = (out.Values)[:0] } for !in.IsDelim(']') { - var v43 string - v43 = string(in.String()) - out.Values = append(out.Values, v43) + var v49 string + v49 = string(in.String()) + out.Values = append(out.Values, v49) in.WantComma() } in.Delim(']') @@ -5468,7 +5617,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(out *jwriter.Writer, in AttributionReportingFilterDataEntry) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(out *jwriter.Writer, in AttributionReportingFilterDataEntry) { out.RawByte('{') first := true _ = first @@ -5484,11 +5633,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v44, v45 := range in.Values { - if v44 > 0 { + for v50, v51 := range in.Values { + if v50 > 0 { out.RawByte(',') } - out.String(string(v45)) + out.String(string(v51)) } out.RawByte(']') } @@ -5499,27 +5648,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AttributionReportingFilterDataEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AttributionReportingFilterDataEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AttributionReportingFilterDataEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AttributionReportingFilterDataEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(in *jlexer.Lexer, out *AttributionReportingEventReportWindows) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage64(in *jlexer.Lexer, out *AttributionReportingEventReportWindows) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5556,9 +5705,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(in *jlexer.Lexer, o out.Ends = (out.Ends)[:0] } for !in.IsDelim(']') { - var v46 int64 - v46 = int64(in.Int64()) - out.Ends = append(out.Ends, v46) + var v52 int64 + v52 = int64(in.Int64()) + out.Ends = append(out.Ends, v52) in.WantComma() } in.Delim(']') @@ -5573,7 +5722,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(out *jwriter.Writer, in AttributionReportingEventReportWindows) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage64(out *jwriter.Writer, in AttributionReportingEventReportWindows) { out.RawByte('{') first := true _ = first @@ -5589,11 +5738,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v47, v48 := range in.Ends { - if v47 > 0 { + for v53, v54 := range in.Ends { + if v53 > 0 { out.RawByte(',') } - out.Int64(int64(v48)) + out.Int64(int64(v54)) } out.RawByte(']') } @@ -5604,27 +5753,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AttributionReportingEventReportWindows) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage64(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AttributionReportingEventReportWindows) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage64(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AttributionReportingEventReportWindows) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage64(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AttributionReportingEventReportWindows) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage64(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage64(in *jlexer.Lexer, out *AttributionReportingAggregationKeysEntry) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage65(in *jlexer.Lexer, out *AttributionReportingAggregationKeysEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5657,7 +5806,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage64(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage64(out *jwriter.Writer, in AttributionReportingAggregationKeysEntry) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage65(out *jwriter.Writer, in AttributionReportingAggregationKeysEntry) { out.RawByte('{') first := true _ = first @@ -5677,23 +5826,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage64(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AttributionReportingAggregationKeysEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage64(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage65(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AttributionReportingAggregationKeysEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage64(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage65(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AttributionReportingAggregationKeysEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage64(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage65(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AttributionReportingAggregationKeysEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage64(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage65(l, v) } diff --git a/storage/types.go b/storage/types.go index fb56380..ef5622c 100644 --- a/storage/types.go +++ b/storage/types.go @@ -512,6 +512,14 @@ type AttributionReportingEventReportWindows struct { Ends []int64 `json:"ends"` // duration in seconds } +// AttributionReportingTriggerSpec [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingTriggerSpec +type AttributionReportingTriggerSpec struct { + TriggerData []float64 `json:"triggerData"` // number instead of integer because not all uint32 can be represented by int + EventReportWindows *AttributionReportingEventReportWindows `json:"eventReportWindows"` +} + // AttributionReportingTriggerDataMatching [no description]. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingTriggerDataMatching @@ -563,7 +571,7 @@ func (t *AttributionReportingTriggerDataMatching) UnmarshalJSON(buf []byte) erro type AttributionReportingSourceRegistration struct { Time *cdp.TimeSinceEpoch `json:"time"` Expiry int64 `json:"expiry"` // duration in seconds - EventReportWindows *AttributionReportingEventReportWindows `json:"eventReportWindows"` + TriggerSpecs []*AttributionReportingTriggerSpec `json:"triggerSpecs"` AggregatableReportWindow int64 `json:"aggregatableReportWindow"` // duration in seconds Type AttributionReportingSourceType `json:"type"` SourceOrigin string `json:"sourceOrigin"`