diff --git a/audits/easyjson.go b/audits/easyjson.go index 97480a7..fe421c7 100644 --- a/audits/easyjson.go +++ b/audits/easyjson.go @@ -399,88 +399,7 @@ func (v *QuirksModeIssueDetails) UnmarshalJSON(data []byte) error { func (v *QuirksModeIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out *NavigatorUserAgentIssueDetails) { - 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 "url": - out.URL = string(in.String()) - case "location": - if in.IsNull() { - in.Skip() - out.Location = nil - } else { - if out.Location == nil { - out.Location = new(SourceCodeLocation) - } - (*out.Location).UnmarshalEasyJSON(in) - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(out *jwriter.Writer, in NavigatorUserAgentIssueDetails) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"url\":" - out.RawString(prefix[1:]) - out.String(string(in.URL)) - } - if in.Location != nil { - const prefix string = ",\"location\":" - out.RawString(prefix) - (*in.Location).MarshalEasyJSON(out) - } - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v NavigatorUserAgentIssueDetails) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v NavigatorUserAgentIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *NavigatorUserAgentIssueDetails) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *NavigatorUserAgentIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(l, v) -} -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(in *jlexer.Lexer, out *MixedContentIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out *MixedContentIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -537,7 +456,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(out *jwriter.Writer, in MixedContentIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(out *jwriter.Writer, in MixedContentIssueDetails) { out.RawByte('{') first := true _ = first @@ -583,27 +502,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v MixedContentIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v MixedContentIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *MixedContentIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *MixedContentIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(in *jlexer.Lexer, out *LowTextContrastIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(in *jlexer.Lexer, out *LowTextContrastIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -646,7 +565,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(out *jwriter.Writer, in LowTextContrastIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(out *jwriter.Writer, in LowTextContrastIssueDetails) { out.RawByte('{') first := true _ = first @@ -691,27 +610,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v LowTextContrastIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LowTextContrastIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LowTextContrastIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LowTextContrastIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out *InspectorIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(in *jlexer.Lexer, out *InspectorIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -830,16 +749,6 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out } (*out.QuirksModeIssueDetails).UnmarshalEasyJSON(in) } - case "navigatorUserAgentIssueDetails": - if in.IsNull() { - in.Skip() - out.NavigatorUserAgentIssueDetails = nil - } else { - if out.NavigatorUserAgentIssueDetails == nil { - out.NavigatorUserAgentIssueDetails = new(NavigatorUserAgentIssueDetails) - } - (*out.NavigatorUserAgentIssueDetails).UnmarshalEasyJSON(in) - } case "genericIssueDetails": if in.IsNull() { in.Skip() @@ -920,7 +829,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, in InspectorIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(out *jwriter.Writer, in InspectorIssueDetails) { out.RawByte('{') first := true _ = first @@ -1020,16 +929,6 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, } (*in.QuirksModeIssueDetails).MarshalEasyJSON(out) } - if in.NavigatorUserAgentIssueDetails != nil { - const prefix string = ",\"navigatorUserAgentIssueDetails\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - (*in.NavigatorUserAgentIssueDetails).MarshalEasyJSON(out) - } if in.GenericIssueDetails != nil { const prefix string = ",\"genericIssueDetails\":" if first { @@ -1106,27 +1005,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v InspectorIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InspectorIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InspectorIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InspectorIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(in *jlexer.Lexer, out *InspectorIssue) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out *InspectorIssue) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1169,7 +1068,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(out *jwriter.Writer, in InspectorIssue) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, in InspectorIssue) { out.RawByte('{') first := true _ = first @@ -1198,27 +1097,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v InspectorIssue) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InspectorIssue) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InspectorIssue) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InspectorIssue) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(in *jlexer.Lexer, out *HeavyAdIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(in *jlexer.Lexer, out *HeavyAdIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1261,7 +1160,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(out *jwriter.Writer, in HeavyAdIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(out *jwriter.Writer, in HeavyAdIssueDetails) { out.RawByte('{') first := true _ = first @@ -1290,27 +1189,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v HeavyAdIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v HeavyAdIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *HeavyAdIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *HeavyAdIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(in *jlexer.Lexer, out *GetEncodedResponseReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(in *jlexer.Lexer, out *GetEncodedResponseReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1345,7 +1244,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(out *jwriter.Writer, in GetEncodedResponseReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(out *jwriter.Writer, in GetEncodedResponseReturns) { out.RawByte('{') first := true _ = first @@ -1381,27 +1280,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v GetEncodedResponseReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetEncodedResponseReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetEncodedResponseReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetEncodedResponseReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(in *jlexer.Lexer, out *GetEncodedResponseParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(in *jlexer.Lexer, out *GetEncodedResponseParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1438,7 +1337,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(out *jwriter.Writer, in GetEncodedResponseParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(out *jwriter.Writer, in GetEncodedResponseParams) { out.RawByte('{') first := true _ = first @@ -1468,27 +1367,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v GetEncodedResponseParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetEncodedResponseParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetEncodedResponseParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetEncodedResponseParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(in *jlexer.Lexer, out *GenericIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(in *jlexer.Lexer, out *GenericIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1515,6 +1414,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(in *jlexer.Lexer, ou (out.ViolatingNodeID).UnmarshalEasyJSON(in) case "violatingNodeAttribute": out.ViolatingNodeAttribute = string(in.String()) + case "request": + if in.IsNull() { + in.Skip() + out.Request = nil + } else { + if out.Request == nil { + out.Request = new(AffectedRequest) + } + (*out.Request).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -1525,7 +1434,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(out *jwriter.Writer, in GenericIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(out *jwriter.Writer, in GenericIssueDetails) { out.RawByte('{') first := true _ = first @@ -1549,33 +1458,38 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(out *jwriter.Writer, out.RawString(prefix) out.String(string(in.ViolatingNodeAttribute)) } + if in.Request != nil { + const prefix string = ",\"request\":" + out.RawString(prefix) + (*in.Request).MarshalEasyJSON(out) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v GenericIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GenericIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GenericIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GenericIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, out *FederatedAuthUserInfoRequestIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(in *jlexer.Lexer, out *FederatedAuthUserInfoRequestIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1606,7 +1520,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(out *jwriter.Writer, in FederatedAuthUserInfoRequestIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(out *jwriter.Writer, in FederatedAuthUserInfoRequestIssueDetails) { out.RawByte('{') first := true _ = first @@ -1621,27 +1535,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v FederatedAuthUserInfoRequestIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FederatedAuthUserInfoRequestIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FederatedAuthUserInfoRequestIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FederatedAuthUserInfoRequestIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, out *FederatedAuthRequestIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, out *FederatedAuthRequestIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1672,7 +1586,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(out *jwriter.Writer, in FederatedAuthRequestIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(out *jwriter.Writer, in FederatedAuthRequestIssueDetails) { out.RawByte('{') first := true _ = first @@ -1687,27 +1601,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v FederatedAuthRequestIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FederatedAuthRequestIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FederatedAuthRequestIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FederatedAuthRequestIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, out *FailedRequestInfo) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, out *FailedRequestInfo) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1742,7 +1656,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(out *jwriter.Writer, in FailedRequestInfo) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(out *jwriter.Writer, in FailedRequestInfo) { out.RawByte('{') first := true _ = first @@ -1767,27 +1681,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v FailedRequestInfo) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FailedRequestInfo) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FailedRequestInfo) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FailedRequestInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, out *EventIssueAdded) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, out *EventIssueAdded) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1826,7 +1740,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(out *jwriter.Writer, in EventIssueAdded) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(out *jwriter.Writer, in EventIssueAdded) { out.RawByte('{') first := true _ = first @@ -1845,27 +1759,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventIssueAdded) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventIssueAdded) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventIssueAdded) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventIssueAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1894,7 +1808,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -1904,27 +1818,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1953,7 +1867,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -1963,27 +1877,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, out *DeprecationIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, out *DeprecationIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2034,7 +1948,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, in DeprecationIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, in DeprecationIssueDetails) { out.RawByte('{') first := true _ = first @@ -2069,27 +1983,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v DeprecationIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DeprecationIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DeprecationIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DeprecationIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, out *CorsIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, out *CorsIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2164,7 +2078,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, in CorsIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, in CorsIssueDetails) { out.RawByte('{') first := true _ = first @@ -2217,27 +2131,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CorsIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CorsIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CorsIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CorsIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, out *CookieIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, out *CookieIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2340,7 +2254,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, in CookieIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, in CookieIssueDetails) { out.RawByte('{') first := true _ = first @@ -2423,27 +2337,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CookieIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CookieIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CookieIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CookieIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, out *ContentSecurityPolicyIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, out *ContentSecurityPolicyIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2502,7 +2416,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, in ContentSecurityPolicyIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, in ContentSecurityPolicyIssueDetails) { out.RawByte('{') first := true _ = first @@ -2553,27 +2467,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v ContentSecurityPolicyIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ContentSecurityPolicyIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ContentSecurityPolicyIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ContentSecurityPolicyIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, out *ClientHintIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, out *ClientHintIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2614,7 +2528,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, in ClientHintIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, in ClientHintIssueDetails) { out.RawByte('{') first := true _ = first @@ -2638,27 +2552,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v ClientHintIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClientHintIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClientHintIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClientHintIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, out *CheckFormsIssuesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, out *CheckFormsIssuesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2718,7 +2632,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, in CheckFormsIssuesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, in CheckFormsIssuesReturns) { out.RawByte('{') first := true _ = first @@ -2747,27 +2661,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CheckFormsIssuesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CheckFormsIssuesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CheckFormsIssuesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CheckFormsIssuesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, out *CheckFormsIssuesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, out *CheckFormsIssuesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2796,7 +2710,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, in CheckFormsIssuesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, in CheckFormsIssuesParams) { out.RawByte('{') first := true _ = first @@ -2806,27 +2720,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CheckFormsIssuesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CheckFormsIssuesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CheckFormsIssuesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CheckFormsIssuesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, out *CheckContrastParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, out *CheckContrastParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2857,7 +2771,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, in CheckContrastParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, in CheckContrastParams) { out.RawByte('{') first := true _ = first @@ -2873,27 +2787,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CheckContrastParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CheckContrastParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CheckContrastParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CheckContrastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, out *BounceTrackingIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, out *BounceTrackingIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2945,7 +2859,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, in BounceTrackingIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, in BounceTrackingIssueDetails) { out.RawByte('{') first := true _ = first @@ -2971,27 +2885,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BounceTrackingIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BounceTrackingIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BounceTrackingIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BounceTrackingIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(in *jlexer.Lexer, out *BlockedByResponseIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, out *BlockedByResponseIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3052,7 +2966,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(out *jwriter.Writer, in BlockedByResponseIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, in BlockedByResponseIssueDetails) { out.RawByte('{') first := true _ = first @@ -3086,27 +3000,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BlockedByResponseIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BlockedByResponseIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BlockedByResponseIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BlockedByResponseIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(in *jlexer.Lexer, out *AttributionReportingIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(in *jlexer.Lexer, out *AttributionReportingIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3151,7 +3065,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(out *jwriter.Writer, in AttributionReportingIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(out *jwriter.Writer, in AttributionReportingIssueDetails) { out.RawByte('{') first := true _ = first @@ -3181,27 +3095,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AttributionReportingIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AttributionReportingIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AttributionReportingIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AttributionReportingIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(in *jlexer.Lexer, out *AffectedRequest) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(in *jlexer.Lexer, out *AffectedRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3234,7 +3148,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(out *jwriter.Writer, in AffectedRequest) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(out *jwriter.Writer, in AffectedRequest) { out.RawByte('{') first := true _ = first @@ -3254,27 +3168,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(in *jlexer.Lexer, out *AffectedFrame) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(in *jlexer.Lexer, out *AffectedFrame) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3305,7 +3219,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(out *jwriter.Writer, in AffectedFrame) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(out *jwriter.Writer, in AffectedFrame) { out.RawByte('{') first := true _ = first @@ -3320,27 +3234,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedFrame) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedFrame) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedFrame) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(in *jlexer.Lexer, out *AffectedCookie) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(in *jlexer.Lexer, out *AffectedCookie) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3375,7 +3289,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(out *jwriter.Writer, in AffectedCookie) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(out *jwriter.Writer, in AffectedCookie) { out.RawByte('{') first := true _ = first @@ -3400,23 +3314,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedCookie) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedCookie) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedCookie) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedCookie) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(l, v) } diff --git a/audits/types.go b/audits/types.go index db223ae..2817f2b 100644 --- a/audits/types.go +++ b/audits/types.go @@ -756,20 +756,21 @@ func (t AttributionReportingIssueType) String() string { // AttributionReportingIssueType values. const ( - AttributionReportingIssueTypePermissionPolicyDisabled AttributionReportingIssueType = "PermissionPolicyDisabled" - AttributionReportingIssueTypeUntrustworthyReportingOrigin AttributionReportingIssueType = "UntrustworthyReportingOrigin" - AttributionReportingIssueTypeInsecureContext AttributionReportingIssueType = "InsecureContext" - AttributionReportingIssueTypeInvalidHeader AttributionReportingIssueType = "InvalidHeader" - AttributionReportingIssueTypeInvalidRegisterTriggerHeader AttributionReportingIssueType = "InvalidRegisterTriggerHeader" - AttributionReportingIssueTypeSourceAndTriggerHeaders AttributionReportingIssueType = "SourceAndTriggerHeaders" - AttributionReportingIssueTypeSourceIgnored AttributionReportingIssueType = "SourceIgnored" - AttributionReportingIssueTypeTriggerIgnored AttributionReportingIssueType = "TriggerIgnored" - AttributionReportingIssueTypeOsSourceIgnored AttributionReportingIssueType = "OsSourceIgnored" - AttributionReportingIssueTypeOsTriggerIgnored AttributionReportingIssueType = "OsTriggerIgnored" - AttributionReportingIssueTypeInvalidRegisterOsSourceHeader AttributionReportingIssueType = "InvalidRegisterOsSourceHeader" - AttributionReportingIssueTypeInvalidRegisterOsTriggerHeader AttributionReportingIssueType = "InvalidRegisterOsTriggerHeader" - AttributionReportingIssueTypeWebAndOsHeaders AttributionReportingIssueType = "WebAndOsHeaders" - AttributionReportingIssueTypeNoWebOrOsSupport AttributionReportingIssueType = "NoWebOrOsSupport" + AttributionReportingIssueTypePermissionPolicyDisabled AttributionReportingIssueType = "PermissionPolicyDisabled" + AttributionReportingIssueTypeUntrustworthyReportingOrigin AttributionReportingIssueType = "UntrustworthyReportingOrigin" + AttributionReportingIssueTypeInsecureContext AttributionReportingIssueType = "InsecureContext" + AttributionReportingIssueTypeInvalidHeader AttributionReportingIssueType = "InvalidHeader" + AttributionReportingIssueTypeInvalidRegisterTriggerHeader AttributionReportingIssueType = "InvalidRegisterTriggerHeader" + AttributionReportingIssueTypeSourceAndTriggerHeaders AttributionReportingIssueType = "SourceAndTriggerHeaders" + AttributionReportingIssueTypeSourceIgnored AttributionReportingIssueType = "SourceIgnored" + AttributionReportingIssueTypeTriggerIgnored AttributionReportingIssueType = "TriggerIgnored" + AttributionReportingIssueTypeOsSourceIgnored AttributionReportingIssueType = "OsSourceIgnored" + AttributionReportingIssueTypeOsTriggerIgnored AttributionReportingIssueType = "OsTriggerIgnored" + AttributionReportingIssueTypeInvalidRegisterOsSourceHeader AttributionReportingIssueType = "InvalidRegisterOsSourceHeader" + AttributionReportingIssueTypeInvalidRegisterOsTriggerHeader AttributionReportingIssueType = "InvalidRegisterOsTriggerHeader" + AttributionReportingIssueTypeWebAndOsHeaders AttributionReportingIssueType = "WebAndOsHeaders" + AttributionReportingIssueTypeNoWebOrOsSupport AttributionReportingIssueType = "NoWebOrOsSupport" + AttributionReportingIssueTypeNavigationRegistrationWithoutTransientUserActivation AttributionReportingIssueType = "NavigationRegistrationWithoutTransientUserActivation" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -814,6 +815,8 @@ func (t *AttributionReportingIssueType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = AttributionReportingIssueTypeWebAndOsHeaders case AttributionReportingIssueTypeNoWebOrOsSupport: *t = AttributionReportingIssueTypeNoWebOrOsSupport + case AttributionReportingIssueTypeNavigationRegistrationWithoutTransientUserActivation: + *t = AttributionReportingIssueTypeNavigationRegistrationWithoutTransientUserActivation default: in.AddError(fmt.Errorf("unknown AttributionReportingIssueType value: %v", v)) @@ -849,14 +852,6 @@ type QuirksModeIssueDetails struct { LoaderID cdp.LoaderID `json:"loaderId"` } -// NavigatorUserAgentIssueDetails [no description]. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-NavigatorUserAgentIssueDetails -type NavigatorUserAgentIssueDetails struct { - URL string `json:"url"` - Location *SourceCodeLocation `json:"location,omitempty"` -} - // GenericIssueErrorType [no description]. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-GenericIssueErrorType @@ -880,6 +875,7 @@ const ( GenericIssueErrorTypeFormLabelHasNeitherForNorNestedInput GenericIssueErrorType = "FormLabelHasNeitherForNorNestedInput" GenericIssueErrorTypeFormLabelForMatchesNonExistingIDError GenericIssueErrorType = "FormLabelForMatchesNonExistingIdError" GenericIssueErrorTypeFormInputHasWrongButWellIntendedAutocompleteValueError GenericIssueErrorType = "FormInputHasWrongButWellIntendedAutocompleteValueError" + GenericIssueErrorTypeResponseWasBlockedByORB GenericIssueErrorType = "ResponseWasBlockedByORB" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -918,6 +914,8 @@ func (t *GenericIssueErrorType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = GenericIssueErrorTypeFormLabelForMatchesNonExistingIDError case GenericIssueErrorTypeFormInputHasWrongButWellIntendedAutocompleteValueError: *t = GenericIssueErrorTypeFormInputHasWrongButWellIntendedAutocompleteValueError + case GenericIssueErrorTypeResponseWasBlockedByORB: + *t = GenericIssueErrorTypeResponseWasBlockedByORB default: in.AddError(fmt.Errorf("unknown GenericIssueErrorType value: %v", v)) @@ -938,6 +936,7 @@ type GenericIssueDetails struct { FrameID cdp.FrameID `json:"frameId,omitempty"` ViolatingNodeID cdp.BackendNodeID `json:"violatingNodeId,omitempty"` ViolatingNodeAttribute string `json:"violatingNodeAttribute,omitempty"` + Request *AffectedRequest `json:"request,omitempty"` } // DeprecationIssueDetails this issue tracks information needed to print a @@ -1424,7 +1423,6 @@ type InspectorIssueDetails struct { CorsIssueDetails *CorsIssueDetails `json:"corsIssueDetails,omitempty"` AttributionReportingIssueDetails *AttributionReportingIssueDetails `json:"attributionReportingIssueDetails,omitempty"` QuirksModeIssueDetails *QuirksModeIssueDetails `json:"quirksModeIssueDetails,omitempty"` - NavigatorUserAgentIssueDetails *NavigatorUserAgentIssueDetails `json:"navigatorUserAgentIssueDetails,omitempty"` GenericIssueDetails *GenericIssueDetails `json:"genericIssueDetails,omitempty"` DeprecationIssueDetails *DeprecationIssueDetails `json:"deprecationIssueDetails,omitempty"` ClientHintIssueDetails *ClientHintIssueDetails `json:"clientHintIssueDetails,omitempty"` diff --git a/cdproto.go b/cdproto.go index 95e0da4..0a9e80b 100644 --- a/cdproto.go +++ b/cdproto.go @@ -397,6 +397,7 @@ const ( CommandInputImeSetComposition = input.CommandImeSetComposition CommandInputDispatchMouseEvent = input.CommandDispatchMouseEvent CommandInputDispatchTouchEvent = input.CommandDispatchTouchEvent + CommandInputCancelDragging = input.CommandCancelDragging CommandInputEmulateTouchFromMouseEvent = input.CommandEmulateTouchFromMouseEvent CommandInputSetIgnoreInputEvents = input.CommandSetIgnoreInputEvents CommandInputSetInterceptDrags = input.CommandSetInterceptDrags @@ -705,6 +706,8 @@ const ( CommandStorageSetStorageBucketTracking = storage.CommandSetStorageBucketTracking CommandStorageDeleteStorageBucket = storage.CommandDeleteStorageBucket CommandStorageRunBounceTrackingMitigations = storage.CommandRunBounceTrackingMitigations + CommandStorageSetAttributionReportingLocalTestingMode = storage.CommandSetAttributionReportingLocalTestingMode + CommandStorageSetAttributionReportingTracking = storage.CommandSetAttributionReportingTracking EventStorageCacheStorageContentUpdated = "Storage.cacheStorageContentUpdated" EventStorageCacheStorageListUpdated = "Storage.cacheStorageListUpdated" EventStorageIndexedDBContentUpdated = "Storage.indexedDBContentUpdated" @@ -713,6 +716,7 @@ const ( EventStorageSharedStorageAccessed = "Storage.sharedStorageAccessed" EventStorageStorageBucketCreatedOrUpdated = "Storage.storageBucketCreatedOrUpdated" EventStorageStorageBucketDeleted = "Storage.storageBucketDeleted" + EventStorageAttributionReportingSourceRegistered = "Storage.attributionReportingSourceRegistered" CommandSystemInfoGetInfo = systeminfo.CommandGetInfo CommandSystemInfoGetFeatureState = systeminfo.CommandGetFeatureState CommandSystemInfoGetProcessInfo = systeminfo.CommandGetProcessInfo @@ -1763,6 +1767,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandInputDispatchTouchEvent: return emptyVal, nil + case CommandInputCancelDragging: + return emptyVal, nil + case CommandInputEmulateTouchFromMouseEvent: return emptyVal, nil @@ -2687,6 +2694,12 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandStorageRunBounceTrackingMitigations: v = new(storage.RunBounceTrackingMitigationsReturns) + case CommandStorageSetAttributionReportingLocalTestingMode: + return emptyVal, nil + + case CommandStorageSetAttributionReportingTracking: + return emptyVal, nil + case EventStorageCacheStorageContentUpdated: v = new(storage.EventCacheStorageContentUpdated) @@ -2711,6 +2724,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case EventStorageStorageBucketDeleted: v = new(storage.EventStorageBucketDeleted) + case EventStorageAttributionReportingSourceRegistered: + v = new(storage.EventAttributionReportingSourceRegistered) + case CommandSystemInfoGetInfo: v = new(systeminfo.GetInfoReturns) diff --git a/css/easyjson.go b/css/easyjson.go index 29131a3..69287e8 100644 --- a/css/easyjson.go +++ b/css/easyjson.go @@ -3837,6 +3837,29 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(in *jlexer.Lexer, out * } in.Delim(']') } + case "ruleTypes": + if in.IsNull() { + in.Skip() + out.RuleTypes = nil + } else { + in.Delim('[') + if out.RuleTypes == nil { + if !in.IsDelim(']') { + out.RuleTypes = make([]RuleType, 0, 4) + } else { + out.RuleTypes = []RuleType{} + } + } else { + out.RuleTypes = (out.RuleTypes)[:0] + } + for !in.IsDelim(']') { + var v37 RuleType + (v37).UnmarshalEasyJSON(in) + out.RuleTypes = append(out.RuleTypes, v37) + in.WantComma() + } + in.Delim(']') + } default: in.SkipRecursive() } @@ -3876,11 +3899,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v37, v38 := range in.NestingSelectors { - if v37 > 0 { + for v38, v39 := range in.NestingSelectors { + if v38 > 0 { out.RawByte(',') } - out.String(string(v38)) + out.String(string(v39)) } out.RawByte(']') } @@ -3904,14 +3927,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v39, v40 := range in.Media { - if v39 > 0 { + for v40, v41 := range in.Media { + if v40 > 0 { out.RawByte(',') } - if v40 == nil { + if v41 == nil { out.RawString("null") } else { - (*v40).MarshalEasyJSON(out) + (*v41).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3922,14 +3945,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v41, v42 := range in.ContainerQueries { - if v41 > 0 { + for v42, v43 := range in.ContainerQueries { + if v42 > 0 { out.RawByte(',') } - if v42 == nil { + if v43 == nil { out.RawString("null") } else { - (*v42).MarshalEasyJSON(out) + (*v43).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3940,14 +3963,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v43, v44 := range in.Supports { - if v43 > 0 { + for v44, v45 := range in.Supports { + if v44 > 0 { out.RawByte(',') } - if v44 == nil { + if v45 == nil { out.RawString("null") } else { - (*v44).MarshalEasyJSON(out) + (*v45).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3958,14 +3981,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v45, v46 := range in.Layers { - if v45 > 0 { + for v46, v47 := range in.Layers { + if v46 > 0 { out.RawByte(',') } - if v46 == nil { + if v47 == nil { out.RawString("null") } else { - (*v46).MarshalEasyJSON(out) + (*v47).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3976,15 +3999,29 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v47, v48 := range in.Scopes { - if v47 > 0 { + for v48, v49 := range in.Scopes { + if v48 > 0 { out.RawByte(',') } - if v48 == nil { + if v49 == nil { out.RawString("null") } else { - (*v48).MarshalEasyJSON(out) + (*v49).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if len(in.RuleTypes) != 0 { + const prefix string = ",\"ruleTypes\":" + out.RawString(prefix) + { + out.RawByte('[') + for v50, v51 := range in.RuleTypes { + if v50 > 0 { + out.RawByte(',') } + (v51).MarshalEasyJSON(out) } out.RawByte(']') } @@ -4054,17 +4091,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss40(in *jlexer.Lexer, out * out.Matches = (out.Matches)[:0] } for !in.IsDelim(']') { - var v49 *RuleMatch + var v52 *RuleMatch if in.IsNull() { in.Skip() - v49 = nil + v52 = nil } else { - if v49 == nil { - v49 = new(RuleMatch) + if v52 == nil { + v52 = new(RuleMatch) } - (*v49).UnmarshalEasyJSON(in) + (*v52).UnmarshalEasyJSON(in) } - out.Matches = append(out.Matches, v49) + out.Matches = append(out.Matches, v52) in.WantComma() } in.Delim(']') @@ -4100,14 +4137,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss40(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v50, v51 := range in.Matches { - if v50 > 0 { + for v53, v54 := range in.Matches { + if v53 > 0 { out.RawByte(',') } - if v51 == nil { + if v54 == nil { out.RawString("null") } else { - (*v51).MarshalEasyJSON(out) + (*v54).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4198,17 +4235,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss41(in *jlexer.Lexer, out * out.LonghandProperties = (out.LonghandProperties)[:0] } for !in.IsDelim(']') { - var v52 *Property + var v55 *Property if in.IsNull() { in.Skip() - v52 = nil + v55 = nil } else { - if v52 == nil { - v52 = new(Property) + if v55 == nil { + v55 = new(Property) } - (*v52).UnmarshalEasyJSON(in) + (*v55).UnmarshalEasyJSON(in) } - out.LonghandProperties = append(out.LonghandProperties, v52) + out.LonghandProperties = append(out.LonghandProperties, v55) in.WantComma() } in.Delim(']') @@ -4272,14 +4309,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss41(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v53, v54 := range in.LonghandProperties { - if v53 > 0 { + for v56, v57 := range in.LonghandProperties { + if v56 > 0 { out.RawByte(',') } - if v54 == nil { + if v57 == nil { out.RawString("null") } else { - (*v54).MarshalEasyJSON(out) + (*v57).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4356,17 +4393,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(in *jlexer.Lexer, out * out.TryRules = (out.TryRules)[:0] } for !in.IsDelim(']') { - var v55 *TryRule + var v58 *TryRule if in.IsNull() { in.Skip() - v55 = nil + v58 = nil } else { - if v55 == nil { - v55 = new(TryRule) + if v58 == nil { + v58 = new(TryRule) } - (*v55).UnmarshalEasyJSON(in) + (*v58).UnmarshalEasyJSON(in) } - out.TryRules = append(out.TryRules, v55) + out.TryRules = append(out.TryRules, v58) in.WantComma() } in.Delim(']') @@ -4401,14 +4438,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v56, v57 := range in.TryRules { - if v56 > 0 { + for v59, v60 := range in.TryRules { + if v59 > 0 { out.RawByte(',') } - if v57 == nil { + if v60 == nil { out.RawString("null") } else { - (*v57).MarshalEasyJSON(out) + (*v60).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4657,17 +4694,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss45(in *jlexer.Lexer, out * out.Expressions = (out.Expressions)[:0] } for !in.IsDelim(']') { - var v58 *MediaQueryExpression + var v61 *MediaQueryExpression if in.IsNull() { in.Skip() - v58 = nil + v61 = nil } else { - if v58 == nil { - v58 = new(MediaQueryExpression) + if v61 == nil { + v61 = new(MediaQueryExpression) } - (*v58).UnmarshalEasyJSON(in) + (*v61).UnmarshalEasyJSON(in) } - out.Expressions = append(out.Expressions, v58) + out.Expressions = append(out.Expressions, v61) in.WantComma() } in.Delim(']') @@ -4695,14 +4732,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss45(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v59, v60 := range in.Expressions { - if v59 > 0 { + for v62, v63 := range in.Expressions { + if v62 > 0 { out.RawByte(',') } - if v60 == nil { + if v63 == nil { out.RawString("null") } else { - (*v60).MarshalEasyJSON(out) + (*v63).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4792,17 +4829,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(in *jlexer.Lexer, out * out.MediaList = (out.MediaList)[:0] } for !in.IsDelim(']') { - var v61 *MediaQuery + var v64 *MediaQuery if in.IsNull() { in.Skip() - v61 = nil + v64 = nil } else { - if v61 == nil { - v61 = new(MediaQuery) + if v64 == nil { + v64 = new(MediaQuery) } - (*v61).UnmarshalEasyJSON(in) + (*v64).UnmarshalEasyJSON(in) } - out.MediaList = append(out.MediaList, v61) + out.MediaList = append(out.MediaList, v64) in.WantComma() } in.Delim(']') @@ -4851,14 +4888,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v62, v63 := range in.MediaList { - if v62 > 0 { + for v65, v66 := range in.MediaList { + if v65 > 0 { out.RawByte(',') } - if v63 == nil { + if v66 == nil { out.RawString("null") } else { - (*v63).MarshalEasyJSON(out) + (*v66).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4927,17 +4964,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(in *jlexer.Lexer, out * out.SubLayers = (out.SubLayers)[:0] } for !in.IsDelim(']') { - var v64 *LayerData + var v67 *LayerData if in.IsNull() { in.Skip() - v64 = nil + v67 = nil } else { - if v64 == nil { - v64 = new(LayerData) + if v67 == nil { + v67 = new(LayerData) } - (*v64).UnmarshalEasyJSON(in) + (*v67).UnmarshalEasyJSON(in) } - out.SubLayers = append(out.SubLayers, v64) + out.SubLayers = append(out.SubLayers, v67) in.WantComma() } in.Delim(']') @@ -4968,14 +5005,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v65, v66 := range in.SubLayers { - if v65 > 0 { + for v68, v69 := range in.SubLayers { + if v68 > 0 { out.RawByte(',') } - if v66 == nil { + if v69 == nil { out.RawString("null") } else { - (*v66).MarshalEasyJSON(out) + (*v69).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5145,17 +5182,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(in *jlexer.Lexer, out * out.Keyframes = (out.Keyframes)[:0] } for !in.IsDelim(']') { - var v67 *KeyframeRule + var v70 *KeyframeRule if in.IsNull() { in.Skip() - v67 = nil + v70 = nil } else { - if v67 == nil { - v67 = new(KeyframeRule) + if v70 == nil { + v70 = new(KeyframeRule) } - (*v67).UnmarshalEasyJSON(in) + (*v70).UnmarshalEasyJSON(in) } - out.Keyframes = append(out.Keyframes, v67) + out.Keyframes = append(out.Keyframes, v70) in.WantComma() } in.Delim(']') @@ -5190,14 +5227,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v68, v69 := range in.Keyframes { - if v68 > 0 { + for v71, v72 := range in.Keyframes { + if v71 > 0 { out.RawByte(',') } - if v69 == nil { + if v72 == nil { out.RawString("null") } else { - (*v69).MarshalEasyJSON(out) + (*v72).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5391,17 +5428,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss51(in *jlexer.Lexer, out * out.MatchedCSSRules = (out.MatchedCSSRules)[:0] } for !in.IsDelim(']') { - var v70 *RuleMatch + var v73 *RuleMatch if in.IsNull() { in.Skip() - v70 = nil + v73 = nil } else { - if v70 == nil { - v70 = new(RuleMatch) + if v73 == nil { + v73 = new(RuleMatch) } - (*v70).UnmarshalEasyJSON(in) + (*v73).UnmarshalEasyJSON(in) } - out.MatchedCSSRules = append(out.MatchedCSSRules, v70) + out.MatchedCSSRules = append(out.MatchedCSSRules, v73) in.WantComma() } in.Delim(']') @@ -5438,14 +5475,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss51(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v71, v72 := range in.MatchedCSSRules { - if v71 > 0 { + for v74, v75 := range in.MatchedCSSRules { + if v74 > 0 { out.RawByte(',') } - if v72 == nil { + if v75 == nil { out.RawString("null") } else { - (*v72).MarshalEasyJSON(out) + (*v75).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5512,17 +5549,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(in *jlexer.Lexer, out * out.PseudoElements = (out.PseudoElements)[:0] } for !in.IsDelim(']') { - var v73 *PseudoElementMatches + var v76 *PseudoElementMatches if in.IsNull() { in.Skip() - v73 = nil + v76 = nil } else { - if v73 == nil { - v73 = new(PseudoElementMatches) + if v76 == nil { + v76 = new(PseudoElementMatches) } - (*v73).UnmarshalEasyJSON(in) + (*v76).UnmarshalEasyJSON(in) } - out.PseudoElements = append(out.PseudoElements, v73) + out.PseudoElements = append(out.PseudoElements, v76) in.WantComma() } in.Delim(']') @@ -5548,14 +5585,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v74, v75 := range in.PseudoElements { - if v74 > 0 { + for v77, v78 := range in.PseudoElements { + if v77 > 0 { out.RawByte(',') } - if v75 == nil { + if v78 == nil { out.RawString("null") } else { - (*v75).MarshalEasyJSON(out) + (*v78).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5755,17 +5792,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss55(in *jlexer.Lexer, out * out.Fonts = (out.Fonts)[:0] } for !in.IsDelim(']') { - var v76 *PlatformFontUsage + var v79 *PlatformFontUsage if in.IsNull() { in.Skip() - v76 = nil + v79 = nil } else { - if v76 == nil { - v76 = new(PlatformFontUsage) + if v79 == nil { + v79 = new(PlatformFontUsage) } - (*v76).UnmarshalEasyJSON(in) + (*v79).UnmarshalEasyJSON(in) } - out.Fonts = append(out.Fonts, v76) + out.Fonts = append(out.Fonts, v79) in.WantComma() } in.Delim(']') @@ -5790,14 +5827,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss55(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v77, v78 := range in.Fonts { - if v77 > 0 { + for v80, v81 := range in.Fonts { + if v80 > 0 { out.RawByte(',') } - if v78 == nil { + if v81 == nil { out.RawString("null") } else { - (*v78).MarshalEasyJSON(out) + (*v81).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5930,17 +5967,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss57(in *jlexer.Lexer, out * out.Medias = (out.Medias)[:0] } for !in.IsDelim(']') { - var v79 *Media + var v82 *Media if in.IsNull() { in.Skip() - v79 = nil + v82 = nil } else { - if v79 == nil { - v79 = new(Media) + if v82 == nil { + v82 = new(Media) } - (*v79).UnmarshalEasyJSON(in) + (*v82).UnmarshalEasyJSON(in) } - out.Medias = append(out.Medias, v79) + out.Medias = append(out.Medias, v82) in.WantComma() } in.Delim(']') @@ -5965,14 +6002,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss57(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v80, v81 := range in.Medias { - if v80 > 0 { + for v83, v84 := range in.Medias { + if v83 > 0 { out.RawByte(',') } - if v81 == nil { + if v84 == nil { out.RawString("null") } else { - (*v81).MarshalEasyJSON(out) + (*v84).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6118,17 +6155,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out * out.MatchedCSSRules = (out.MatchedCSSRules)[:0] } for !in.IsDelim(']') { - var v82 *RuleMatch + var v85 *RuleMatch if in.IsNull() { in.Skip() - v82 = nil + v85 = nil } else { - if v82 == nil { - v82 = new(RuleMatch) + if v85 == nil { + v85 = new(RuleMatch) } - (*v82).UnmarshalEasyJSON(in) + (*v85).UnmarshalEasyJSON(in) } - out.MatchedCSSRules = append(out.MatchedCSSRules, v82) + out.MatchedCSSRules = append(out.MatchedCSSRules, v85) in.WantComma() } in.Delim(']') @@ -6149,17 +6186,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out * out.PseudoElements = (out.PseudoElements)[:0] } for !in.IsDelim(']') { - var v83 *PseudoElementMatches + var v86 *PseudoElementMatches if in.IsNull() { in.Skip() - v83 = nil + v86 = nil } else { - if v83 == nil { - v83 = new(PseudoElementMatches) + if v86 == nil { + v86 = new(PseudoElementMatches) } - (*v83).UnmarshalEasyJSON(in) + (*v86).UnmarshalEasyJSON(in) } - out.PseudoElements = append(out.PseudoElements, v83) + out.PseudoElements = append(out.PseudoElements, v86) in.WantComma() } in.Delim(']') @@ -6180,17 +6217,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out * out.Inherited = (out.Inherited)[:0] } for !in.IsDelim(']') { - var v84 *InheritedStyleEntry + var v87 *InheritedStyleEntry if in.IsNull() { in.Skip() - v84 = nil + v87 = nil } else { - if v84 == nil { - v84 = new(InheritedStyleEntry) + if v87 == nil { + v87 = new(InheritedStyleEntry) } - (*v84).UnmarshalEasyJSON(in) + (*v87).UnmarshalEasyJSON(in) } - out.Inherited = append(out.Inherited, v84) + out.Inherited = append(out.Inherited, v87) in.WantComma() } in.Delim(']') @@ -6211,17 +6248,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out * out.InheritedPseudoElements = (out.InheritedPseudoElements)[:0] } for !in.IsDelim(']') { - var v85 *InheritedPseudoElementMatches + var v88 *InheritedPseudoElementMatches if in.IsNull() { in.Skip() - v85 = nil + v88 = nil } else { - if v85 == nil { - v85 = new(InheritedPseudoElementMatches) + if v88 == nil { + v88 = new(InheritedPseudoElementMatches) } - (*v85).UnmarshalEasyJSON(in) + (*v88).UnmarshalEasyJSON(in) } - out.InheritedPseudoElements = append(out.InheritedPseudoElements, v85) + out.InheritedPseudoElements = append(out.InheritedPseudoElements, v88) in.WantComma() } in.Delim(']') @@ -6242,17 +6279,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out * out.CSSKeyframesRules = (out.CSSKeyframesRules)[:0] } for !in.IsDelim(']') { - var v86 *KeyframesRule + var v89 *KeyframesRule if in.IsNull() { in.Skip() - v86 = nil + v89 = nil } else { - if v86 == nil { - v86 = new(KeyframesRule) + if v89 == nil { + v89 = new(KeyframesRule) } - (*v86).UnmarshalEasyJSON(in) + (*v89).UnmarshalEasyJSON(in) } - out.CSSKeyframesRules = append(out.CSSKeyframesRules, v86) + out.CSSKeyframesRules = append(out.CSSKeyframesRules, v89) in.WantComma() } in.Delim(']') @@ -6273,17 +6310,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out * out.CSSPositionFallbackRules = (out.CSSPositionFallbackRules)[:0] } for !in.IsDelim(']') { - var v87 *PositionFallbackRule + var v90 *PositionFallbackRule if in.IsNull() { in.Skip() - v87 = nil + v90 = nil } else { - if v87 == nil { - v87 = new(PositionFallbackRule) + if v90 == nil { + v90 = new(PositionFallbackRule) } - (*v87).UnmarshalEasyJSON(in) + (*v90).UnmarshalEasyJSON(in) } - out.CSSPositionFallbackRules = append(out.CSSPositionFallbackRules, v87) + out.CSSPositionFallbackRules = append(out.CSSPositionFallbackRules, v90) in.WantComma() } in.Delim(']') @@ -6330,14 +6367,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in } { out.RawByte('[') - for v88, v89 := range in.MatchedCSSRules { - if v88 > 0 { + for v91, v92 := range in.MatchedCSSRules { + if v91 > 0 { out.RawByte(',') } - if v89 == nil { + if v92 == nil { out.RawString("null") } else { - (*v89).MarshalEasyJSON(out) + (*v92).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6353,14 +6390,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in } { out.RawByte('[') - for v90, v91 := range in.PseudoElements { - if v90 > 0 { + for v93, v94 := range in.PseudoElements { + if v93 > 0 { out.RawByte(',') } - if v91 == nil { + if v94 == nil { out.RawString("null") } else { - (*v91).MarshalEasyJSON(out) + (*v94).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6376,14 +6413,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in } { out.RawByte('[') - for v92, v93 := range in.Inherited { - if v92 > 0 { + for v95, v96 := range in.Inherited { + if v95 > 0 { out.RawByte(',') } - if v93 == nil { + if v96 == nil { out.RawString("null") } else { - (*v93).MarshalEasyJSON(out) + (*v96).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6399,14 +6436,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in } { out.RawByte('[') - for v94, v95 := range in.InheritedPseudoElements { - if v94 > 0 { + for v97, v98 := range in.InheritedPseudoElements { + if v97 > 0 { out.RawByte(',') } - if v95 == nil { + if v98 == nil { out.RawString("null") } else { - (*v95).MarshalEasyJSON(out) + (*v98).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6422,14 +6459,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in } { out.RawByte('[') - for v96, v97 := range in.CSSKeyframesRules { - if v96 > 0 { + for v99, v100 := range in.CSSKeyframesRules { + if v99 > 0 { out.RawByte(',') } - if v97 == nil { + if v100 == nil { out.RawString("null") } else { - (*v97).MarshalEasyJSON(out) + (*v100).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6445,14 +6482,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in } { out.RawByte('[') - for v98, v99 := range in.CSSPositionFallbackRules { - if v98 > 0 { + for v101, v102 := range in.CSSPositionFallbackRules { + if v101 > 0 { out.RawByte(',') } - if v99 == nil { + if v102 == nil { out.RawString("null") } else { - (*v99).MarshalEasyJSON(out) + (*v102).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6897,17 +6934,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss65(in *jlexer.Lexer, out * out.ComputedStyle = (out.ComputedStyle)[:0] } for !in.IsDelim(']') { - var v100 *ComputedStyleProperty + var v103 *ComputedStyleProperty if in.IsNull() { in.Skip() - v100 = nil + v103 = nil } else { - if v100 == nil { - v100 = new(ComputedStyleProperty) + if v103 == nil { + v103 = new(ComputedStyleProperty) } - (*v100).UnmarshalEasyJSON(in) + (*v103).UnmarshalEasyJSON(in) } - out.ComputedStyle = append(out.ComputedStyle, v100) + out.ComputedStyle = append(out.ComputedStyle, v103) in.WantComma() } in.Delim(']') @@ -6932,14 +6969,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss65(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v101, v102 := range in.ComputedStyle { - if v101 > 0 { + for v104, v105 := range in.ComputedStyle { + if v104 > 0 { out.RawByte(',') } - if v102 == nil { + if v105 == nil { out.RawString("null") } else { - (*v102).MarshalEasyJSON(out) + (*v105).MarshalEasyJSON(out) } } out.RawByte(']') @@ -7072,9 +7109,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss67(in *jlexer.Lexer, out * out.BackgroundColors = (out.BackgroundColors)[:0] } for !in.IsDelim(']') { - var v103 string - v103 = string(in.String()) - out.BackgroundColors = append(out.BackgroundColors, v103) + var v106 string + v106 = string(in.String()) + out.BackgroundColors = append(out.BackgroundColors, v106) in.WantComma() } in.Delim(']') @@ -7103,11 +7140,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss67(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v104, v105 := range in.BackgroundColors { - if v104 > 0 { + for v107, v108 := range in.BackgroundColors { + if v107 > 0 { out.RawByte(',') } - out.String(string(v105)) + out.String(string(v108)) } out.RawByte(']') } @@ -7261,9 +7298,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss69(in *jlexer.Lexer, out * out.ForcedPseudoClasses = (out.ForcedPseudoClasses)[:0] } for !in.IsDelim(']') { - var v106 string - v106 = string(in.String()) - out.ForcedPseudoClasses = append(out.ForcedPseudoClasses, v106) + var v109 string + v109 = string(in.String()) + out.ForcedPseudoClasses = append(out.ForcedPseudoClasses, v109) in.WantComma() } in.Delim(']') @@ -7294,11 +7331,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss69(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v107, v108 := range in.ForcedPseudoClasses { - if v107 > 0 { + for v110, v111 := range in.ForcedPseudoClasses { + if v110 > 0 { out.RawByte(',') } - out.String(string(v108)) + out.String(string(v111)) } out.RawByte(']') } @@ -7476,17 +7513,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss71(in *jlexer.Lexer, out * out.FontVariationAxes = (out.FontVariationAxes)[:0] } for !in.IsDelim(']') { - var v109 *FontVariationAxis + var v112 *FontVariationAxis if in.IsNull() { in.Skip() - v109 = nil + v112 = nil } else { - if v109 == nil { - v109 = new(FontVariationAxis) + if v112 == nil { + v112 = new(FontVariationAxis) } - (*v109).UnmarshalEasyJSON(in) + (*v112).UnmarshalEasyJSON(in) } - out.FontVariationAxes = append(out.FontVariationAxes, v109) + out.FontVariationAxes = append(out.FontVariationAxes, v112) in.WantComma() } in.Delim(']') @@ -7555,14 +7592,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss71(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v110, v111 := range in.FontVariationAxes { - if v110 > 0 { + for v113, v114 := range in.FontVariationAxes { + if v113 > 0 { out.RawByte(',') } - if v111 == nil { + if v114 == nil { out.RawString("null") } else { - (*v111).MarshalEasyJSON(out) + (*v114).MarshalEasyJSON(out) } } out.RawByte(']') @@ -8406,9 +8443,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(in *jlexer.Lexer, out * out.ClassNames = (out.ClassNames)[:0] } for !in.IsDelim(']') { - var v112 string - v112 = string(in.String()) - out.ClassNames = append(out.ClassNames, v112) + var v115 string + v115 = string(in.String()) + out.ClassNames = append(out.ClassNames, v115) in.WantComma() } in.Delim(']') @@ -8433,11 +8470,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v113, v114 := range in.ClassNames { - if v113 > 0 { + for v116, v117 := range in.ClassNames { + if v116 > 0 { out.RawByte(',') } - out.String(string(v114)) + out.String(string(v117)) } out.RawByte(']') } diff --git a/css/types.go b/css/types.go index 4cb28f5..518e2cd 100644 --- a/css/types.go +++ b/css/types.go @@ -175,6 +175,66 @@ type Rule struct { Supports []*Supports `json:"supports,omitempty"` // @supports CSS at-rule array. The array enumerates @supports at-rules starting with the innermost one, going outwards. Layers []*Layer `json:"layers,omitempty"` // Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards. Scopes []*Scope `json:"scopes,omitempty"` // @scope CSS at-rule array. The array enumerates @scope at-rules starting with the innermost one, going outwards. + RuleTypes []RuleType `json:"ruleTypes,omitempty"` // The array keeps the types of ancestor CSSRules from the innermost going outwards. +} + +// RuleType enum indicating the type of a CSS rule, used to represent the +// order of a style rule's ancestors. This list only contains rule types that +// are collected during the ancestor rule collection. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSRuleType +type RuleType string + +// String returns the RuleType as string value. +func (t RuleType) String() string { + return string(t) +} + +// RuleType values. +const ( + RuleTypeMediaRule RuleType = "MediaRule" + RuleTypeSupportsRule RuleType = "SupportsRule" + RuleTypeContainerRule RuleType = "ContainerRule" + RuleTypeLayerRule RuleType = "LayerRule" + RuleTypeScopeRule RuleType = "ScopeRule" + RuleTypeStyleRule RuleType = "StyleRule" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t RuleType) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t RuleType) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *RuleType) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch RuleType(v) { + case RuleTypeMediaRule: + *t = RuleTypeMediaRule + case RuleTypeSupportsRule: + *t = RuleTypeSupportsRule + case RuleTypeContainerRule: + *t = RuleTypeContainerRule + case RuleTypeLayerRule: + *t = RuleTypeLayerRule + case RuleTypeScopeRule: + *t = RuleTypeScopeRule + case RuleTypeStyleRule: + *t = RuleTypeStyleRule + + default: + in.AddError(fmt.Errorf("unknown RuleType value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *RuleType) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) } // RuleUsage CSS coverage information. diff --git a/input/easyjson.go b/input/easyjson.go index 163623e..eb18e51 100644 --- a/input/easyjson.go +++ b/input/easyjson.go @@ -1851,3 +1851,62 @@ func (v *DispatchDragEventParams) UnmarshalJSON(data []byte) error { func (v *DispatchDragEventParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput15(l, v) } +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput16(in *jlexer.Lexer, out *CancelDraggingParams) { + 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 { + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoInput16(out *jwriter.Writer, in CancelDraggingParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v CancelDraggingParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoInput16(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v CancelDraggingParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoInput16(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *CancelDraggingParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput16(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *CancelDraggingParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput16(l, v) +} diff --git a/input/input.go b/input/input.go index 0281bc4..e0467ab 100644 --- a/input/input.go +++ b/input/input.go @@ -431,6 +431,21 @@ func (p *DispatchTouchEventParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandDispatchTouchEvent, p, nil) } +// CancelDraggingParams cancels any active dragging in the page. +type CancelDraggingParams struct{} + +// CancelDragging cancels any active dragging in the page. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Input#method-cancelDragging +func CancelDragging() *CancelDraggingParams { + return &CancelDraggingParams{} +} + +// Do executes Input.cancelDragging against the provided context. +func (p *CancelDraggingParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandCancelDragging, nil, nil) +} + // EmulateTouchFromMouseEventParams emulates touch event from the mouse event // parameters. type EmulateTouchFromMouseEventParams struct { @@ -764,6 +779,7 @@ const ( CommandImeSetComposition = "Input.imeSetComposition" CommandDispatchMouseEvent = "Input.dispatchMouseEvent" CommandDispatchTouchEvent = "Input.dispatchTouchEvent" + CommandCancelDragging = "Input.cancelDragging" CommandEmulateTouchFromMouseEvent = "Input.emulateTouchFromMouseEvent" CommandSetIgnoreInputEvents = "Input.setIgnoreInputEvents" CommandSetInterceptDrags = "Input.setInterceptDrags" diff --git a/network/types.go b/network/types.go index 0ef1c54..51d104b 100644 --- a/network/types.go +++ b/network/types.go @@ -1533,6 +1533,7 @@ const ( ContentEncodingDeflate ContentEncoding = "deflate" ContentEncodingGzip ContentEncoding = "gzip" ContentEncodingBr ContentEncoding = "br" + ContentEncodingZstd ContentEncoding = "zstd" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -1555,6 +1556,8 @@ func (t *ContentEncoding) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = ContentEncodingGzip case ContentEncodingBr: *t = ContentEncodingBr + case ContentEncodingZstd: + *t = ContentEncodingZstd default: in.AddError(fmt.Errorf("unknown ContentEncoding value: %v", v)) diff --git a/page/easyjson.go b/page/easyjson.go index 0af53bb..e480bff 100644 --- a/page/easyjson.go +++ b/page/easyjson.go @@ -8983,6 +8983,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(in *jlexer.Lexer, out out.WorldName = string(in.String()) case "includeCommandLineAPI": out.IncludeCommandLineAPI = bool(in.Bool()) + case "runImmediately": + out.RunImmediately = bool(in.Bool()) default: in.SkipRecursive() } @@ -9012,6 +9014,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(out *jwriter.Writer, out.RawString(prefix) out.Bool(bool(in.IncludeCommandLineAPI)) } + if in.RunImmediately { + const prefix string = ",\"runImmediately\":" + out.RawString(prefix) + out.Bool(bool(in.RunImmediately)) + } out.RawByte('}') } diff --git a/page/page.go b/page/page.go index 930b213..1dcd7fe 100644 --- a/page/page.go +++ b/page/page.go @@ -26,6 +26,7 @@ type AddScriptToEvaluateOnNewDocumentParams struct { Source string `json:"source"` WorldName string `json:"worldName,omitempty"` // If specified, creates an isolated world with the given name and evaluates given script in it. This world name will be used as the ExecutionContextDescription::name when the corresponding event is emitted. IncludeCommandLineAPI bool `json:"includeCommandLineAPI,omitempty"` // Specifies whether command line API should be available to the script, defaults to false. + RunImmediately bool `json:"runImmediately,omitempty"` // If true, runs the script immediately on existing execution contexts or worlds. Default: false. } // AddScriptToEvaluateOnNewDocument evaluates given script in every frame @@ -57,6 +58,13 @@ func (p AddScriptToEvaluateOnNewDocumentParams) WithIncludeCommandLineAPI(includ return &p } +// WithRunImmediately if true, runs the script immediately on existing +// execution contexts or worlds. Default: false. +func (p AddScriptToEvaluateOnNewDocumentParams) WithRunImmediately(runImmediately bool) *AddScriptToEvaluateOnNewDocumentParams { + p.RunImmediately = runImmediately + return &p +} + // AddScriptToEvaluateOnNewDocumentReturns return values. type AddScriptToEvaluateOnNewDocumentReturns struct { Identifier ScriptIdentifier `json:"identifier,omitempty"` // Identifier of the added script. diff --git a/page/types.go b/page/types.go index aba869a..15eff0f 100644 --- a/page/types.go +++ b/page/types.go @@ -1008,6 +1008,7 @@ const ( BackForwardCacheNotRestoredReasonFencedFramesEmbedder BackForwardCacheNotRestoredReason = "FencedFramesEmbedder" BackForwardCacheNotRestoredReasonCookieDisabled BackForwardCacheNotRestoredReason = "CookieDisabled" BackForwardCacheNotRestoredReasonHTTPAuthRequired BackForwardCacheNotRestoredReason = "HTTPAuthRequired" + BackForwardCacheNotRestoredReasonCookieFlushed BackForwardCacheNotRestoredReason = "CookieFlushed" BackForwardCacheNotRestoredReasonWebSocket BackForwardCacheNotRestoredReason = "WebSocket" BackForwardCacheNotRestoredReasonWebTransport BackForwardCacheNotRestoredReason = "WebTransport" BackForwardCacheNotRestoredReasonWebRTC BackForwardCacheNotRestoredReason = "WebRTC" @@ -1206,6 +1207,8 @@ func (t *BackForwardCacheNotRestoredReason) UnmarshalEasyJSON(in *jlexer.Lexer) *t = BackForwardCacheNotRestoredReasonCookieDisabled case BackForwardCacheNotRestoredReasonHTTPAuthRequired: *t = BackForwardCacheNotRestoredReasonHTTPAuthRequired + case BackForwardCacheNotRestoredReasonCookieFlushed: + *t = BackForwardCacheNotRestoredReasonCookieFlushed case BackForwardCacheNotRestoredReasonWebSocket: *t = BackForwardCacheNotRestoredReasonWebSocket case BackForwardCacheNotRestoredReasonWebTransport: diff --git a/preload/easyjson.go b/preload/easyjson.go index b23eab3..ed5509e 100644 --- a/preload/easyjson.go +++ b/preload/easyjson.go @@ -547,6 +547,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(in *jlexer.Lexer, ou (out.Status).UnmarshalEasyJSON(in) case "prerenderStatus": (out.PrerenderStatus).UnmarshalEasyJSON(in) + case "disallowedMojoInterface": + out.DisallowedMojoInterface = string(in.String()) default: in.SkipRecursive() } @@ -580,6 +582,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(out *jwriter.Writer, out.RawString(prefix) (in.PrerenderStatus).MarshalEasyJSON(out) } + if in.DisallowedMojoInterface != "" { + const prefix string = ",\"disallowedMojoInterface\":" + out.RawString(prefix) + out.String(string(in.DisallowedMojoInterface)) + } out.RawByte('}') } @@ -854,6 +861,10 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(in *jlexer.Lexer, ou out.DisabledByDataSaver = bool(in.Bool()) case "disabledByBatterySaver": out.DisabledByBatterySaver = bool(in.Bool()) + case "disabledByHoldbackPrefetchSpeculationRules": + out.DisabledByHoldbackPrefetchSpeculationRules = bool(in.Bool()) + case "disabledByHoldbackPrerenderSpeculationRules": + out.DisabledByHoldbackPrerenderSpeculationRules = bool(in.Bool()) default: in.SkipRecursive() } @@ -883,6 +894,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(out *jwriter.Writer, out.RawString(prefix) out.Bool(bool(in.DisabledByBatterySaver)) } + { + const prefix string = ",\"disabledByHoldbackPrefetchSpeculationRules\":" + out.RawString(prefix) + out.Bool(bool(in.DisabledByHoldbackPrefetchSpeculationRules)) + } + { + const prefix string = ",\"disabledByHoldbackPrerenderSpeculationRules\":" + out.RawString(prefix) + out.Bool(bool(in.DisabledByHoldbackPrerenderSpeculationRules)) + } out.RawByte('}') } @@ -946,6 +967,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(in *jlexer.Lexer, ou (out.Status).UnmarshalEasyJSON(in) case "prefetchStatus": (out.PrefetchStatus).UnmarshalEasyJSON(in) + case "requestId": + out.RequestID = network.RequestID(in.String()) default: in.SkipRecursive() } @@ -989,6 +1012,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(out *jwriter.Writer, out.RawString(prefix) (in.PrefetchStatus).MarshalEasyJSON(out) } + { + const prefix string = ",\"requestId\":" + out.RawString(prefix) + out.String(string(in.RequestID)) + } out.RawByte('}') } diff --git a/preload/events.go b/preload/events.go index 83dba5e..6e5762e 100644 --- a/preload/events.go +++ b/preload/events.go @@ -4,6 +4,7 @@ package preload import ( "github.com/chromedp/cdproto/cdp" + "github.com/chromedp/cdproto/network" ) // EventRuleSetUpdated upsert. Currently, it is only emitted when a rule set @@ -38,29 +39,33 @@ type EventPrerenderAttemptCompleted struct { // // See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-preloadEnabledStateUpdated type EventPreloadEnabledStateUpdated struct { - DisabledByPreference bool `json:"disabledByPreference"` - DisabledByDataSaver bool `json:"disabledByDataSaver"` - DisabledByBatterySaver bool `json:"disabledByBatterySaver"` + DisabledByPreference bool `json:"disabledByPreference"` + DisabledByDataSaver bool `json:"disabledByDataSaver"` + DisabledByBatterySaver bool `json:"disabledByBatterySaver"` + DisabledByHoldbackPrefetchSpeculationRules bool `json:"disabledByHoldbackPrefetchSpeculationRules"` + DisabledByHoldbackPrerenderSpeculationRules bool `json:"disabledByHoldbackPrerenderSpeculationRules"` } // EventPrefetchStatusUpdated fired when a prefetch attempt is updated. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-prefetchStatusUpdated type EventPrefetchStatusUpdated struct { - Key *IngAttemptKey `json:"key"` - InitiatingFrameID cdp.FrameID `json:"initiatingFrameId"` // The frame id of the frame initiating prefetch. - PrefetchURL string `json:"prefetchUrl"` - Status IngStatus `json:"status"` - PrefetchStatus PrefetchStatus `json:"prefetchStatus"` + Key *IngAttemptKey `json:"key"` + InitiatingFrameID cdp.FrameID `json:"initiatingFrameId"` // The frame id of the frame initiating prefetch. + PrefetchURL string `json:"prefetchUrl"` + Status IngStatus `json:"status"` + PrefetchStatus PrefetchStatus `json:"prefetchStatus"` + RequestID network.RequestID `json:"requestId"` } // EventPrerenderStatusUpdated fired when a prerender attempt is updated. // // 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"` + 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. } // EventPreloadingAttemptSourcesUpdated send a list of sources for all diff --git a/storage/easyjson.go b/storage/easyjson.go index 1316291..97a219a 100644 --- a/storage/easyjson.go +++ b/storage/easyjson.go @@ -1638,7 +1638,139 @@ func (v *SetCookiesParams) UnmarshalJSON(data []byte) error { func (v *SetCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage20(in *jlexer.Lexer, out *RunBounceTrackingMitigationsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage20(in *jlexer.Lexer, out *SetAttributionReportingTrackingParams) { + 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 "enable": + out.Enable = bool(in.Bool()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage20(out *jwriter.Writer, in SetAttributionReportingTrackingParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"enable\":" + out.RawString(prefix[1:]) + out.Bool(bool(in.Enable)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SetAttributionReportingTrackingParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage20(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetAttributionReportingTrackingParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage20(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetAttributionReportingTrackingParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage20(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetAttributionReportingTrackingParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage20(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage21(in *jlexer.Lexer, out *SetAttributionReportingLocalTestingModeParams) { + 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 "enabled": + out.Enabled = bool(in.Bool()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage21(out *jwriter.Writer, in SetAttributionReportingLocalTestingModeParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"enabled\":" + out.RawString(prefix[1:]) + out.Bool(bool(in.Enabled)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SetAttributionReportingLocalTestingModeParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage21(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetAttributionReportingLocalTestingModeParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage21(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetAttributionReportingLocalTestingModeParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage21(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetAttributionReportingLocalTestingModeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage21(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage22(in *jlexer.Lexer, out *RunBounceTrackingMitigationsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1690,7 +1822,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage20(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage20(out *jwriter.Writer, in RunBounceTrackingMitigationsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage22(out *jwriter.Writer, in RunBounceTrackingMitigationsReturns) { out.RawByte('{') first := true _ = first @@ -1715,27 +1847,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage20(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v RunBounceTrackingMitigationsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RunBounceTrackingMitigationsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage20(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RunBounceTrackingMitigationsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RunBounceTrackingMitigationsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage20(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage21(in *jlexer.Lexer, out *RunBounceTrackingMitigationsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage23(in *jlexer.Lexer, out *RunBounceTrackingMitigationsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1764,7 +1896,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage21(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage21(out *jwriter.Writer, in RunBounceTrackingMitigationsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage23(out *jwriter.Writer, in RunBounceTrackingMitigationsParams) { out.RawByte('{') first := true _ = first @@ -1774,27 +1906,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage21(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v RunBounceTrackingMitigationsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RunBounceTrackingMitigationsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage21(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RunBounceTrackingMitigationsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RunBounceTrackingMitigationsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage21(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage22(in *jlexer.Lexer, out *ResetSharedStorageBudgetParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage24(in *jlexer.Lexer, out *ResetSharedStorageBudgetParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1825,7 +1957,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage22(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage22(out *jwriter.Writer, in ResetSharedStorageBudgetParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage24(out *jwriter.Writer, in ResetSharedStorageBudgetParams) { out.RawByte('{') first := true _ = first @@ -1840,27 +1972,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage22(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ResetSharedStorageBudgetParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ResetSharedStorageBudgetParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ResetSharedStorageBudgetParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ResetSharedStorageBudgetParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage23(in *jlexer.Lexer, out *OverrideQuotaForOriginParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage25(in *jlexer.Lexer, out *OverrideQuotaForOriginParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1893,7 +2025,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage23(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage23(out *jwriter.Writer, in OverrideQuotaForOriginParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage25(out *jwriter.Writer, in OverrideQuotaForOriginParams) { out.RawByte('{') first := true _ = first @@ -1913,27 +2045,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage23(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v OverrideQuotaForOriginParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v OverrideQuotaForOriginParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *OverrideQuotaForOriginParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *OverrideQuotaForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage24(in *jlexer.Lexer, out *InterestGroupDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage26(in *jlexer.Lexer, out *InterestGroupDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2073,7 +2205,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage24(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage24(out *jwriter.Writer, in InterestGroupDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage26(out *jwriter.Writer, in InterestGroupDetails) { out.RawByte('{') first := true _ = first @@ -2188,27 +2320,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage24(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v InterestGroupDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InterestGroupDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InterestGroupDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InterestGroupDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage25(in *jlexer.Lexer, out *InterestGroupAd) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage27(in *jlexer.Lexer, out *InterestGroupAd) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2241,7 +2373,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage25(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage25(out *jwriter.Writer, in InterestGroupAd) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage27(out *jwriter.Writer, in InterestGroupAd) { out.RawByte('{') first := true _ = first @@ -2261,27 +2393,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage25(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v InterestGroupAd) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InterestGroupAd) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InterestGroupAd) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InterestGroupAd) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage26(in *jlexer.Lexer, out *GetUsageAndQuotaReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage28(in *jlexer.Lexer, out *GetUsageAndQuotaReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2347,7 +2479,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage26(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage26(out *jwriter.Writer, in GetUsageAndQuotaReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage28(out *jwriter.Writer, in GetUsageAndQuotaReturns) { out.RawByte('{') first := true _ = first @@ -2406,27 +2538,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage26(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetUsageAndQuotaReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetUsageAndQuotaReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetUsageAndQuotaReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetUsageAndQuotaReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage27(in *jlexer.Lexer, out *GetUsageAndQuotaParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage29(in *jlexer.Lexer, out *GetUsageAndQuotaParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2457,7 +2589,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage27(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage27(out *jwriter.Writer, in GetUsageAndQuotaParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage29(out *jwriter.Writer, in GetUsageAndQuotaParams) { out.RawByte('{') first := true _ = first @@ -2472,27 +2604,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage27(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetUsageAndQuotaParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetUsageAndQuotaParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetUsageAndQuotaParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetUsageAndQuotaParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage28(in *jlexer.Lexer, out *GetTrustTokensReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage30(in *jlexer.Lexer, out *GetTrustTokensReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2552,7 +2684,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage28(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage28(out *jwriter.Writer, in GetTrustTokensReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage30(out *jwriter.Writer, in GetTrustTokensReturns) { out.RawByte('{') first := true _ = first @@ -2581,27 +2713,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage28(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetTrustTokensReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetTrustTokensReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetTrustTokensReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetTrustTokensReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage29(in *jlexer.Lexer, out *GetTrustTokensParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage31(in *jlexer.Lexer, out *GetTrustTokensParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2630,7 +2762,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage29(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage29(out *jwriter.Writer, in GetTrustTokensParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage31(out *jwriter.Writer, in GetTrustTokensParams) { out.RawByte('{') first := true _ = first @@ -2640,27 +2772,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage29(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetTrustTokensParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetTrustTokensParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetTrustTokensParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetTrustTokensParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage31(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage30(in *jlexer.Lexer, out *GetStorageKeyForFrameReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage32(in *jlexer.Lexer, out *GetStorageKeyForFrameReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2691,7 +2823,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage30(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage30(out *jwriter.Writer, in GetStorageKeyForFrameReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage32(out *jwriter.Writer, in GetStorageKeyForFrameReturns) { out.RawByte('{') first := true _ = first @@ -2707,27 +2839,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage30(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetStorageKeyForFrameReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage30(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetStorageKeyForFrameReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage30(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetStorageKeyForFrameReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage30(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetStorageKeyForFrameReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage30(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage32(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage31(in *jlexer.Lexer, out *GetStorageKeyForFrameParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage33(in *jlexer.Lexer, out *GetStorageKeyForFrameParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2758,7 +2890,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage31(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage31(out *jwriter.Writer, in GetStorageKeyForFrameParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage33(out *jwriter.Writer, in GetStorageKeyForFrameParams) { out.RawByte('{') first := true _ = first @@ -2773,27 +2905,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage31(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetStorageKeyForFrameParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage31(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage33(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetStorageKeyForFrameParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage31(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetStorageKeyForFrameParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage31(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage33(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetStorageKeyForFrameParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage31(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage33(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage32(in *jlexer.Lexer, out *GetSharedStorageMetadataReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage34(in *jlexer.Lexer, out *GetSharedStorageMetadataReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2832,7 +2964,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage32(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage32(out *jwriter.Writer, in GetSharedStorageMetadataReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage34(out *jwriter.Writer, in GetSharedStorageMetadataReturns) { out.RawByte('{') first := true _ = first @@ -2848,27 +2980,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage32(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetSharedStorageMetadataReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage32(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage34(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetSharedStorageMetadataReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage32(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetSharedStorageMetadataReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage32(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage34(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetSharedStorageMetadataReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage32(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage34(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage33(in *jlexer.Lexer, out *GetSharedStorageMetadataParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage35(in *jlexer.Lexer, out *GetSharedStorageMetadataParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2899,7 +3031,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage33(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage33(out *jwriter.Writer, in GetSharedStorageMetadataParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage35(out *jwriter.Writer, in GetSharedStorageMetadataParams) { out.RawByte('{') first := true _ = first @@ -2914,27 +3046,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage33(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetSharedStorageMetadataParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage33(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage35(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetSharedStorageMetadataParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage33(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetSharedStorageMetadataParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage33(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage35(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetSharedStorageMetadataParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage33(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage35(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage34(in *jlexer.Lexer, out *GetSharedStorageEntriesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage36(in *jlexer.Lexer, out *GetSharedStorageEntriesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2994,7 +3126,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage34(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage34(out *jwriter.Writer, in GetSharedStorageEntriesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage36(out *jwriter.Writer, in GetSharedStorageEntriesReturns) { out.RawByte('{') first := true _ = first @@ -3023,27 +3155,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage34(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetSharedStorageEntriesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage34(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage36(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetSharedStorageEntriesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage34(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetSharedStorageEntriesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage34(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage36(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetSharedStorageEntriesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage34(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage36(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage35(in *jlexer.Lexer, out *GetSharedStorageEntriesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage37(in *jlexer.Lexer, out *GetSharedStorageEntriesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3074,7 +3206,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage35(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage35(out *jwriter.Writer, in GetSharedStorageEntriesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage37(out *jwriter.Writer, in GetSharedStorageEntriesParams) { out.RawByte('{') first := true _ = first @@ -3089,27 +3221,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage35(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetSharedStorageEntriesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage35(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage37(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetSharedStorageEntriesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage35(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetSharedStorageEntriesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage35(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage37(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetSharedStorageEntriesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage35(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage37(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage36(in *jlexer.Lexer, out *GetInterestGroupDetailsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage38(in *jlexer.Lexer, out *GetInterestGroupDetailsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3148,7 +3280,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage36(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage36(out *jwriter.Writer, in GetInterestGroupDetailsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage38(out *jwriter.Writer, in GetInterestGroupDetailsReturns) { out.RawByte('{') first := true _ = first @@ -3164,27 +3296,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage36(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetInterestGroupDetailsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage36(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage38(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetInterestGroupDetailsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage36(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetInterestGroupDetailsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage36(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage38(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetInterestGroupDetailsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage36(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage38(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage37(in *jlexer.Lexer, out *GetInterestGroupDetailsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage39(in *jlexer.Lexer, out *GetInterestGroupDetailsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3217,7 +3349,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage37(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage37(out *jwriter.Writer, in GetInterestGroupDetailsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage39(out *jwriter.Writer, in GetInterestGroupDetailsParams) { out.RawByte('{') first := true _ = first @@ -3237,27 +3369,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage37(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetInterestGroupDetailsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage37(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage39(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetInterestGroupDetailsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage37(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage39(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetInterestGroupDetailsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage37(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage39(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetInterestGroupDetailsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage37(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage39(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage38(in *jlexer.Lexer, out *GetCookiesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage40(in *jlexer.Lexer, out *GetCookiesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3317,7 +3449,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage38(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage38(out *jwriter.Writer, in GetCookiesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage40(out *jwriter.Writer, in GetCookiesReturns) { out.RawByte('{') first := true _ = first @@ -3346,27 +3478,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage38(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetCookiesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage38(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage40(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetCookiesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage38(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetCookiesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage38(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage40(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetCookiesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage38(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage40(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage39(in *jlexer.Lexer, out *GetCookiesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage41(in *jlexer.Lexer, out *GetCookiesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3397,7 +3529,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage39(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage39(out *jwriter.Writer, in GetCookiesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage41(out *jwriter.Writer, in GetCookiesParams) { out.RawByte('{') first := true _ = first @@ -3413,27 +3545,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage39(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v GetCookiesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage39(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage41(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetCookiesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage39(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetCookiesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage39(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage41(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage39(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage41(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage40(in *jlexer.Lexer, out *EventStorageBucketDeleted) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage42(in *jlexer.Lexer, out *EventStorageBucketDeleted) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3464,7 +3596,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage40(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage40(out *jwriter.Writer, in EventStorageBucketDeleted) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage42(out *jwriter.Writer, in EventStorageBucketDeleted) { out.RawByte('{') first := true _ = first @@ -3479,27 +3611,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage40(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventStorageBucketDeleted) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage40(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage42(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventStorageBucketDeleted) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage40(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage42(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventStorageBucketDeleted) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage40(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage42(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventStorageBucketDeleted) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage40(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage42(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage41(in *jlexer.Lexer, out *EventStorageBucketCreatedOrUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage43(in *jlexer.Lexer, out *EventStorageBucketCreatedOrUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3538,7 +3670,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage41(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage41(out *jwriter.Writer, in EventStorageBucketCreatedOrUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage43(out *jwriter.Writer, in EventStorageBucketCreatedOrUpdated) { out.RawByte('{') first := true _ = first @@ -3557,27 +3689,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage41(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventStorageBucketCreatedOrUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage41(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage43(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventStorageBucketCreatedOrUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage41(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage43(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventStorageBucketCreatedOrUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage41(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage43(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventStorageBucketCreatedOrUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage41(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage43(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage42(in *jlexer.Lexer, out *EventSharedStorageAccessed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage44(in *jlexer.Lexer, out *EventSharedStorageAccessed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3632,7 +3764,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage42(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage42(out *jwriter.Writer, in EventSharedStorageAccessed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage44(out *jwriter.Writer, in EventSharedStorageAccessed) { out.RawByte('{') first := true _ = first @@ -3675,27 +3807,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage42(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventSharedStorageAccessed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage42(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage44(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventSharedStorageAccessed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage42(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage44(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventSharedStorageAccessed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage42(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage44(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventSharedStorageAccessed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage42(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage44(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage43(in *jlexer.Lexer, out *EventInterestGroupAccessed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage45(in *jlexer.Lexer, out *EventInterestGroupAccessed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3740,7 +3872,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage43(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage43(out *jwriter.Writer, in EventInterestGroupAccessed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage45(out *jwriter.Writer, in EventInterestGroupAccessed) { out.RawByte('{') first := true _ = first @@ -3774,27 +3906,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage43(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventInterestGroupAccessed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage43(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage45(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventInterestGroupAccessed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage43(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage45(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterestGroupAccessed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage43(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage45(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventInterestGroupAccessed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage43(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage45(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage44(in *jlexer.Lexer, out *EventIndexedDBListUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage46(in *jlexer.Lexer, out *EventIndexedDBListUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3829,7 +3961,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage44(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage44(out *jwriter.Writer, in EventIndexedDBListUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage46(out *jwriter.Writer, in EventIndexedDBListUpdated) { out.RawByte('{') first := true _ = first @@ -3854,27 +3986,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage44(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventIndexedDBListUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage44(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage46(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventIndexedDBListUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage44(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage46(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventIndexedDBListUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage44(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage46(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventIndexedDBListUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage44(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage46(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage45(in *jlexer.Lexer, out *EventIndexedDBContentUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage47(in *jlexer.Lexer, out *EventIndexedDBContentUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3913,7 +4045,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage45(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage45(out *jwriter.Writer, in EventIndexedDBContentUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage47(out *jwriter.Writer, in EventIndexedDBContentUpdated) { out.RawByte('{') first := true _ = first @@ -3948,27 +4080,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage45(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventIndexedDBContentUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage45(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage47(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventIndexedDBContentUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage45(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage47(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventIndexedDBContentUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage45(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage47(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventIndexedDBContentUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage45(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage47(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage46(in *jlexer.Lexer, out *EventCacheStorageListUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage48(in *jlexer.Lexer, out *EventCacheStorageListUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4003,7 +4135,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage46(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage46(out *jwriter.Writer, in EventCacheStorageListUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage48(out *jwriter.Writer, in EventCacheStorageListUpdated) { out.RawByte('{') first := true _ = first @@ -4028,27 +4160,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage46(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventCacheStorageListUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage46(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage48(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventCacheStorageListUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage46(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage48(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventCacheStorageListUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage46(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage48(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventCacheStorageListUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage46(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage48(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage47(in *jlexer.Lexer, out *EventCacheStorageContentUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage49(in *jlexer.Lexer, out *EventCacheStorageContentUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4085,7 +4217,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage47(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage47(out *jwriter.Writer, in EventCacheStorageContentUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage49(out *jwriter.Writer, in EventCacheStorageContentUpdated) { out.RawByte('{') first := true _ = first @@ -4115,27 +4247,112 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage47(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventCacheStorageContentUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage47(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage49(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventCacheStorageContentUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage47(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage49(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventCacheStorageContentUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage47(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage49(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventCacheStorageContentUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage47(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage49(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage50(in *jlexer.Lexer, out *EventAttributionReportingSourceRegistered) { + 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 "registration": + if in.IsNull() { + in.Skip() + out.Registration = nil + } else { + if out.Registration == nil { + out.Registration = new(AttributionReportingSourceRegistration) + } + (*out.Registration).UnmarshalEasyJSON(in) + } + case "result": + (out.Result).UnmarshalEasyJSON(in) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage50(out *jwriter.Writer, in EventAttributionReportingSourceRegistered) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"registration\":" + out.RawString(prefix[1:]) + if in.Registration == nil { + out.RawString("null") + } else { + (*in.Registration).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"result\":" + out.RawString(prefix) + (in.Result).MarshalEasyJSON(out) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventAttributionReportingSourceRegistered) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage50(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventAttributionReportingSourceRegistered) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage50(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventAttributionReportingSourceRegistered) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage50(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventAttributionReportingSourceRegistered) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage50(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage48(in *jlexer.Lexer, out *DeleteStorageBucketParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage51(in *jlexer.Lexer, out *DeleteStorageBucketParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4174,7 +4391,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage48(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage48(out *jwriter.Writer, in DeleteStorageBucketParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage51(out *jwriter.Writer, in DeleteStorageBucketParams) { out.RawByte('{') first := true _ = first @@ -4193,27 +4410,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage48(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v DeleteStorageBucketParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage48(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage51(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DeleteStorageBucketParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage48(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage51(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DeleteStorageBucketParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage48(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage51(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DeleteStorageBucketParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage48(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage51(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage49(in *jlexer.Lexer, out *DeleteSharedStorageEntryParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage52(in *jlexer.Lexer, out *DeleteSharedStorageEntryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4246,7 +4463,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage49(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage49(out *jwriter.Writer, in DeleteSharedStorageEntryParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage52(out *jwriter.Writer, in DeleteSharedStorageEntryParams) { out.RawByte('{') first := true _ = first @@ -4266,27 +4483,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage49(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v DeleteSharedStorageEntryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage49(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage52(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DeleteSharedStorageEntryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage49(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage52(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DeleteSharedStorageEntryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage49(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage52(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DeleteSharedStorageEntryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage49(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage52(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage50(in *jlexer.Lexer, out *ClearTrustTokensReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage53(in *jlexer.Lexer, out *ClearTrustTokensReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4317,7 +4534,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage50(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage50(out *jwriter.Writer, in ClearTrustTokensReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage53(out *jwriter.Writer, in ClearTrustTokensReturns) { out.RawByte('{') first := true _ = first @@ -4333,27 +4550,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage50(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearTrustTokensReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage50(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage53(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearTrustTokensReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage50(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage53(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearTrustTokensReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage50(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage53(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearTrustTokensReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage50(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage53(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage51(in *jlexer.Lexer, out *ClearTrustTokensParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage54(in *jlexer.Lexer, out *ClearTrustTokensParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4384,7 +4601,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage51(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage51(out *jwriter.Writer, in ClearTrustTokensParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage54(out *jwriter.Writer, in ClearTrustTokensParams) { out.RawByte('{') first := true _ = first @@ -4399,27 +4616,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage51(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearTrustTokensParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage51(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage54(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearTrustTokensParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage51(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage54(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearTrustTokensParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage51(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage54(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearTrustTokensParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage51(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage54(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage52(in *jlexer.Lexer, out *ClearSharedStorageEntriesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage55(in *jlexer.Lexer, out *ClearSharedStorageEntriesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4450,7 +4667,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage52(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage52(out *jwriter.Writer, in ClearSharedStorageEntriesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage55(out *jwriter.Writer, in ClearSharedStorageEntriesParams) { out.RawByte('{') first := true _ = first @@ -4465,27 +4682,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage52(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearSharedStorageEntriesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage52(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage55(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearSharedStorageEntriesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage52(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage55(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearSharedStorageEntriesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage52(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage55(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearSharedStorageEntriesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage52(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage55(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage53(in *jlexer.Lexer, out *ClearDataForStorageKeyParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage56(in *jlexer.Lexer, out *ClearDataForStorageKeyParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4518,7 +4735,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage53(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage53(out *jwriter.Writer, in ClearDataForStorageKeyParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage56(out *jwriter.Writer, in ClearDataForStorageKeyParams) { out.RawByte('{') first := true _ = first @@ -4538,27 +4755,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage53(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearDataForStorageKeyParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage53(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage56(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearDataForStorageKeyParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage53(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage56(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearDataForStorageKeyParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage53(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage56(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearDataForStorageKeyParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage53(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage56(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage54(in *jlexer.Lexer, out *ClearDataForOriginParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage57(in *jlexer.Lexer, out *ClearDataForOriginParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4591,7 +4808,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage54(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage54(out *jwriter.Writer, in ClearDataForOriginParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage57(out *jwriter.Writer, in ClearDataForOriginParams) { out.RawByte('{') first := true _ = first @@ -4611,27 +4828,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage54(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearDataForOriginParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage54(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage57(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearDataForOriginParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage54(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage57(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearDataForOriginParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage54(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage57(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearDataForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage54(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage57(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage55(in *jlexer.Lexer, out *ClearCookiesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage58(in *jlexer.Lexer, out *ClearCookiesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4662,7 +4879,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage55(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage55(out *jwriter.Writer, in ClearCookiesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage58(out *jwriter.Writer, in ClearCookiesParams) { out.RawByte('{') first := true _ = first @@ -4678,27 +4895,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage55(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearCookiesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage55(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage58(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearCookiesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage55(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage58(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearCookiesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage55(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage58(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage55(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage58(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage56(in *jlexer.Lexer, out *BucketInfo) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage59(in *jlexer.Lexer, out *BucketInfo) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4755,7 +4972,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage56(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage56(out *jwriter.Writer, in BucketInfo) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage59(out *jwriter.Writer, in BucketInfo) { out.RawByte('{') first := true _ = first @@ -4803,27 +5020,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage56(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v BucketInfo) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage56(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage59(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BucketInfo) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage56(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage59(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BucketInfo) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage56(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage59(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BucketInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage56(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage59(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage57(in *jlexer.Lexer, out *Bucket) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage60(in *jlexer.Lexer, out *Bucket) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4856,7 +5073,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage57(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage57(out *jwriter.Writer, in Bucket) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage60(out *jwriter.Writer, in Bucket) { out.RawByte('{') first := true _ = first @@ -4876,23 +5093,483 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage57(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v Bucket) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage57(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage60(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Bucket) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage57(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage60(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Bucket) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage57(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage60(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Bucket) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage57(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage60(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(in *jlexer.Lexer, out *AttributionReportingSourceRegistration) { + 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 "time": + if in.IsNull() { + in.Skip() + out.Time = nil + } else { + if out.Time == nil { + out.Time = new(cdp.TimeSinceEpoch) + } + (*out.Time).UnmarshalEasyJSON(in) + } + case "expiry": + out.Expiry = int64(in.Int64()) + case "eventReportWindow": + out.EventReportWindow = int64(in.Int64()) + case "aggregatableReportWindow": + out.AggregatableReportWindow = int64(in.Int64()) + case "type": + (out.Type).UnmarshalEasyJSON(in) + case "sourceOrigin": + out.SourceOrigin = string(in.String()) + case "reportingOrigin": + out.ReportingOrigin = string(in.String()) + case "destinationSites": + if in.IsNull() { + in.Skip() + out.DestinationSites = nil + } else { + in.Delim('[') + if out.DestinationSites == nil { + if !in.IsDelim(']') { + out.DestinationSites = make([]string, 0, 4) + } else { + out.DestinationSites = []string{} + } + } else { + out.DestinationSites = (out.DestinationSites)[:0] + } + for !in.IsDelim(']') { + var v34 string + v34 = string(in.String()) + out.DestinationSites = append(out.DestinationSites, v34) + in.WantComma() + } + in.Delim(']') + } + case "eventId": + out.EventID = UnsignedInt64asBase10(in.String()) + case "priority": + out.Priority = SignedInt64asBase10(in.String()) + case "filterData": + if in.IsNull() { + in.Skip() + out.FilterData = nil + } else { + in.Delim('[') + if out.FilterData == nil { + if !in.IsDelim(']') { + out.FilterData = make([]*AttributionReportingFilterDataEntry, 0, 8) + } else { + out.FilterData = []*AttributionReportingFilterDataEntry{} + } + } else { + out.FilterData = (out.FilterData)[:0] + } + for !in.IsDelim(']') { + var v35 *AttributionReportingFilterDataEntry + if in.IsNull() { + in.Skip() + v35 = nil + } else { + if v35 == nil { + v35 = new(AttributionReportingFilterDataEntry) + } + (*v35).UnmarshalEasyJSON(in) + } + out.FilterData = append(out.FilterData, v35) + in.WantComma() + } + in.Delim(']') + } + case "aggregationKeys": + if in.IsNull() { + in.Skip() + out.AggregationKeys = nil + } else { + in.Delim('[') + if out.AggregationKeys == nil { + if !in.IsDelim(']') { + out.AggregationKeys = make([]*AttributionReportingAggregationKeysEntry, 0, 8) + } else { + out.AggregationKeys = []*AttributionReportingAggregationKeysEntry{} + } + } else { + out.AggregationKeys = (out.AggregationKeys)[:0] + } + for !in.IsDelim(']') { + var v36 *AttributionReportingAggregationKeysEntry + if in.IsNull() { + in.Skip() + v36 = nil + } else { + if v36 == nil { + v36 = new(AttributionReportingAggregationKeysEntry) + } + (*v36).UnmarshalEasyJSON(in) + } + out.AggregationKeys = append(out.AggregationKeys, v36) + in.WantComma() + } + in.Delim(']') + } + case "debugKey": + out.DebugKey = UnsignedInt64asBase10(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(out *jwriter.Writer, in AttributionReportingSourceRegistration) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"time\":" + out.RawString(prefix[1:]) + if in.Time == nil { + out.RawString("null") + } else { + (*in.Time).MarshalEasyJSON(out) + } + } + if in.Expiry != 0 { + const prefix string = ",\"expiry\":" + out.RawString(prefix) + out.Int64(int64(in.Expiry)) + } + if in.EventReportWindow != 0 { + const prefix string = ",\"eventReportWindow\":" + out.RawString(prefix) + out.Int64(int64(in.EventReportWindow)) + } + if in.AggregatableReportWindow != 0 { + const prefix string = ",\"aggregatableReportWindow\":" + out.RawString(prefix) + out.Int64(int64(in.AggregatableReportWindow)) + } + { + const prefix string = ",\"type\":" + out.RawString(prefix) + (in.Type).MarshalEasyJSON(out) + } + { + const prefix string = ",\"sourceOrigin\":" + out.RawString(prefix) + out.String(string(in.SourceOrigin)) + } + { + const prefix string = ",\"reportingOrigin\":" + out.RawString(prefix) + out.String(string(in.ReportingOrigin)) + } + { + const prefix string = ",\"destinationSites\":" + out.RawString(prefix) + if in.DestinationSites == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v37, v38 := range in.DestinationSites { + if v37 > 0 { + out.RawByte(',') + } + out.String(string(v38)) + } + out.RawByte(']') + } + } + { + const prefix string = ",\"eventId\":" + out.RawString(prefix) + out.String(string(in.EventID)) + } + { + const prefix string = ",\"priority\":" + out.RawString(prefix) + out.String(string(in.Priority)) + } + { + const prefix string = ",\"filterData\":" + out.RawString(prefix) + if in.FilterData == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v39, v40 := range in.FilterData { + if v39 > 0 { + out.RawByte(',') + } + if v40 == nil { + out.RawString("null") + } else { + (*v40).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + { + const prefix string = ",\"aggregationKeys\":" + out.RawString(prefix) + if in.AggregationKeys == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v41, v42 := range in.AggregationKeys { + if v41 > 0 { + out.RawByte(',') + } + if v42 == nil { + out.RawString("null") + } else { + (*v42).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if in.DebugKey != "" { + const prefix string = ",\"debugKey\":" + out.RawString(prefix) + out.String(string(in.DebugKey)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v AttributionReportingSourceRegistration) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v AttributionReportingSourceRegistration) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage61(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *AttributionReportingSourceRegistration) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *AttributionReportingSourceRegistration) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage61(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(in *jlexer.Lexer, out *AttributionReportingFilterDataEntry) { + 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 "key": + out.Key = string(in.String()) + case "values": + if in.IsNull() { + in.Skip() + out.Values = nil + } else { + in.Delim('[') + if out.Values == nil { + if !in.IsDelim(']') { + out.Values = make([]string, 0, 4) + } else { + out.Values = []string{} + } + } else { + out.Values = (out.Values)[:0] + } + for !in.IsDelim(']') { + var v43 string + v43 = string(in.String()) + out.Values = append(out.Values, v43) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(out *jwriter.Writer, in AttributionReportingFilterDataEntry) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"key\":" + out.RawString(prefix[1:]) + out.String(string(in.Key)) + } + { + const prefix string = ",\"values\":" + out.RawString(prefix) + if in.Values == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v44, v45 := range in.Values { + if v44 > 0 { + out.RawByte(',') + } + out.String(string(v45)) + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v AttributionReportingFilterDataEntry) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v AttributionReportingFilterDataEntry) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage62(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *AttributionReportingFilterDataEntry) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *AttributionReportingFilterDataEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage62(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(in *jlexer.Lexer, out *AttributionReportingAggregationKeysEntry) { + 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 "key": + out.Key = string(in.String()) + case "value": + out.Value = UnsignedInt128asBase16(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(out *jwriter.Writer, in AttributionReportingAggregationKeysEntry) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"key\":" + out.RawString(prefix[1:]) + out.String(string(in.Key)) + } + { + const prefix string = ",\"value\":" + out.RawString(prefix) + out.String(string(in.Value)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v AttributionReportingAggregationKeysEntry) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v AttributionReportingAggregationKeysEntry) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoStorage63(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *AttributionReportingAggregationKeysEntry) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *AttributionReportingAggregationKeysEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoStorage63(l, v) } diff --git a/storage/events.go b/storage/events.go index a47314c..9cfe411 100644 --- a/storage/events.go +++ b/storage/events.go @@ -83,3 +83,12 @@ type EventStorageBucketCreatedOrUpdated struct { type EventStorageBucketDeleted struct { BucketID string `json:"bucketId"` } + +// EventAttributionReportingSourceRegistered tODO(crbug.com/1458532): Add +// other Attribution Reporting events, e.g. trigger registration. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-attributionReportingSourceRegistered +type EventAttributionReportingSourceRegistered struct { + Registration *AttributionReportingSourceRegistration `json:"registration"` + Result AttributionReportingSourceRegistrationResult `json:"result"` +} diff --git a/storage/storage.go b/storage/storage.go index 27056dc..51e9047 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -934,36 +934,88 @@ func (p *RunBounceTrackingMitigationsParams) Do(ctx context.Context) (deletedSit return res.DeletedSites, nil } +// SetAttributionReportingLocalTestingModeParams +// https://wicg.github.io/attribution-reporting-api/. +type SetAttributionReportingLocalTestingModeParams struct { + Enabled bool `json:"enabled"` // If enabled, noise is suppressed and reports are sent immediately. +} + +// SetAttributionReportingLocalTestingMode +// https://wicg.github.io/attribution-reporting-api/. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setAttributionReportingLocalTestingMode +// +// parameters: +// +// enabled - If enabled, noise is suppressed and reports are sent immediately. +func SetAttributionReportingLocalTestingMode(enabled bool) *SetAttributionReportingLocalTestingModeParams { + return &SetAttributionReportingLocalTestingModeParams{ + Enabled: enabled, + } +} + +// Do executes Storage.setAttributionReportingLocalTestingMode against the provided context. +func (p *SetAttributionReportingLocalTestingModeParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandSetAttributionReportingLocalTestingMode, p, nil) +} + +// SetAttributionReportingTrackingParams enables/disables issuing of +// Attribution Reporting events. +type SetAttributionReportingTrackingParams struct { + Enable bool `json:"enable"` +} + +// SetAttributionReportingTracking enables/disables issuing of Attribution +// Reporting events. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setAttributionReportingTracking +// +// parameters: +// +// enable +func SetAttributionReportingTracking(enable bool) *SetAttributionReportingTrackingParams { + return &SetAttributionReportingTrackingParams{ + Enable: enable, + } +} + +// Do executes Storage.setAttributionReportingTracking against the provided context. +func (p *SetAttributionReportingTrackingParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandSetAttributionReportingTracking, p, nil) +} + // Command names. const ( - CommandGetStorageKeyForFrame = "Storage.getStorageKeyForFrame" - CommandClearDataForOrigin = "Storage.clearDataForOrigin" - CommandClearDataForStorageKey = "Storage.clearDataForStorageKey" - CommandGetCookies = "Storage.getCookies" - CommandSetCookies = "Storage.setCookies" - CommandClearCookies = "Storage.clearCookies" - CommandGetUsageAndQuota = "Storage.getUsageAndQuota" - CommandOverrideQuotaForOrigin = "Storage.overrideQuotaForOrigin" - CommandTrackCacheStorageForOrigin = "Storage.trackCacheStorageForOrigin" - CommandTrackCacheStorageForStorageKey = "Storage.trackCacheStorageForStorageKey" - CommandTrackIndexedDBForOrigin = "Storage.trackIndexedDBForOrigin" - CommandTrackIndexedDBForStorageKey = "Storage.trackIndexedDBForStorageKey" - CommandUntrackCacheStorageForOrigin = "Storage.untrackCacheStorageForOrigin" - CommandUntrackCacheStorageForStorageKey = "Storage.untrackCacheStorageForStorageKey" - CommandUntrackIndexedDBForOrigin = "Storage.untrackIndexedDBForOrigin" - CommandUntrackIndexedDBForStorageKey = "Storage.untrackIndexedDBForStorageKey" - CommandGetTrustTokens = "Storage.getTrustTokens" - CommandClearTrustTokens = "Storage.clearTrustTokens" - CommandGetInterestGroupDetails = "Storage.getInterestGroupDetails" - CommandSetInterestGroupTracking = "Storage.setInterestGroupTracking" - CommandGetSharedStorageMetadata = "Storage.getSharedStorageMetadata" - CommandGetSharedStorageEntries = "Storage.getSharedStorageEntries" - CommandSetSharedStorageEntry = "Storage.setSharedStorageEntry" - CommandDeleteSharedStorageEntry = "Storage.deleteSharedStorageEntry" - CommandClearSharedStorageEntries = "Storage.clearSharedStorageEntries" - CommandResetSharedStorageBudget = "Storage.resetSharedStorageBudget" - CommandSetSharedStorageTracking = "Storage.setSharedStorageTracking" - CommandSetStorageBucketTracking = "Storage.setStorageBucketTracking" - CommandDeleteStorageBucket = "Storage.deleteStorageBucket" - CommandRunBounceTrackingMitigations = "Storage.runBounceTrackingMitigations" + CommandGetStorageKeyForFrame = "Storage.getStorageKeyForFrame" + CommandClearDataForOrigin = "Storage.clearDataForOrigin" + CommandClearDataForStorageKey = "Storage.clearDataForStorageKey" + CommandGetCookies = "Storage.getCookies" + CommandSetCookies = "Storage.setCookies" + CommandClearCookies = "Storage.clearCookies" + CommandGetUsageAndQuota = "Storage.getUsageAndQuota" + CommandOverrideQuotaForOrigin = "Storage.overrideQuotaForOrigin" + CommandTrackCacheStorageForOrigin = "Storage.trackCacheStorageForOrigin" + CommandTrackCacheStorageForStorageKey = "Storage.trackCacheStorageForStorageKey" + CommandTrackIndexedDBForOrigin = "Storage.trackIndexedDBForOrigin" + CommandTrackIndexedDBForStorageKey = "Storage.trackIndexedDBForStorageKey" + CommandUntrackCacheStorageForOrigin = "Storage.untrackCacheStorageForOrigin" + CommandUntrackCacheStorageForStorageKey = "Storage.untrackCacheStorageForStorageKey" + CommandUntrackIndexedDBForOrigin = "Storage.untrackIndexedDBForOrigin" + CommandUntrackIndexedDBForStorageKey = "Storage.untrackIndexedDBForStorageKey" + CommandGetTrustTokens = "Storage.getTrustTokens" + CommandClearTrustTokens = "Storage.clearTrustTokens" + CommandGetInterestGroupDetails = "Storage.getInterestGroupDetails" + CommandSetInterestGroupTracking = "Storage.setInterestGroupTracking" + CommandGetSharedStorageMetadata = "Storage.getSharedStorageMetadata" + CommandGetSharedStorageEntries = "Storage.getSharedStorageEntries" + CommandSetSharedStorageEntry = "Storage.setSharedStorageEntry" + CommandDeleteSharedStorageEntry = "Storage.deleteSharedStorageEntry" + CommandClearSharedStorageEntries = "Storage.clearSharedStorageEntries" + CommandResetSharedStorageBudget = "Storage.resetSharedStorageBudget" + CommandSetSharedStorageTracking = "Storage.setSharedStorageTracking" + CommandSetStorageBucketTracking = "Storage.setStorageBucketTracking" + CommandDeleteStorageBucket = "Storage.deleteStorageBucket" + CommandRunBounceTrackingMitigations = "Storage.runBounceTrackingMitigations" + CommandSetAttributionReportingLocalTestingMode = "Storage.setAttributionReportingLocalTestingMode" + CommandSetAttributionReportingTracking = "Storage.setAttributionReportingTracking" ) diff --git a/storage/types.go b/storage/types.go index be1549d..7665f95 100644 --- a/storage/types.go +++ b/storage/types.go @@ -403,3 +403,185 @@ type BucketInfo struct { Persistent bool `json:"persistent"` Durability BucketsDurability `json:"durability"` } + +// AttributionReportingSourceType [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingSourceType +type AttributionReportingSourceType string + +// String returns the AttributionReportingSourceType as string value. +func (t AttributionReportingSourceType) String() string { + return string(t) +} + +// AttributionReportingSourceType values. +const ( + AttributionReportingSourceTypeNavigation AttributionReportingSourceType = "navigation" + AttributionReportingSourceTypeEvent AttributionReportingSourceType = "event" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t AttributionReportingSourceType) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t AttributionReportingSourceType) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *AttributionReportingSourceType) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch AttributionReportingSourceType(v) { + case AttributionReportingSourceTypeNavigation: + *t = AttributionReportingSourceTypeNavigation + case AttributionReportingSourceTypeEvent: + *t = AttributionReportingSourceTypeEvent + + default: + in.AddError(fmt.Errorf("unknown AttributionReportingSourceType value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *AttributionReportingSourceType) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + +// UnsignedInt64asBase10 [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-UnsignedInt64AsBase10 +type UnsignedInt64asBase10 string + +// String returns the UnsignedInt64asBase10 as string value. +func (t UnsignedInt64asBase10) String() string { + return string(t) +} + +// UnsignedInt128asBase16 [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-UnsignedInt128AsBase16 +type UnsignedInt128asBase16 string + +// String returns the UnsignedInt128asBase16 as string value. +func (t UnsignedInt128asBase16) String() string { + return string(t) +} + +// SignedInt64asBase10 [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SignedInt64AsBase10 +type SignedInt64asBase10 string + +// String returns the SignedInt64asBase10 as string value. +func (t SignedInt64asBase10) String() string { + return string(t) +} + +// AttributionReportingFilterDataEntry [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingFilterDataEntry +type AttributionReportingFilterDataEntry struct { + Key string `json:"key"` + Values []string `json:"values"` +} + +// AttributionReportingAggregationKeysEntry [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingAggregationKeysEntry +type AttributionReportingAggregationKeysEntry struct { + Key string `json:"key"` + Value UnsignedInt128asBase16 `json:"value"` +} + +// AttributionReportingSourceRegistration [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingSourceRegistration +type AttributionReportingSourceRegistration struct { + Time *cdp.TimeSinceEpoch `json:"time"` + Expiry int64 `json:"expiry,omitempty"` // duration in seconds + EventReportWindow int64 `json:"eventReportWindow,omitempty"` // duration in seconds + AggregatableReportWindow int64 `json:"aggregatableReportWindow,omitempty"` // duration in seconds + Type AttributionReportingSourceType `json:"type"` + SourceOrigin string `json:"sourceOrigin"` + ReportingOrigin string `json:"reportingOrigin"` + DestinationSites []string `json:"destinationSites"` + EventID UnsignedInt64asBase10 `json:"eventId"` + Priority SignedInt64asBase10 `json:"priority"` + FilterData []*AttributionReportingFilterDataEntry `json:"filterData"` + AggregationKeys []*AttributionReportingAggregationKeysEntry `json:"aggregationKeys"` + DebugKey UnsignedInt64asBase10 `json:"debugKey,omitempty"` +} + +// AttributionReportingSourceRegistrationResult [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingSourceRegistrationResult +type AttributionReportingSourceRegistrationResult string + +// String returns the AttributionReportingSourceRegistrationResult as string value. +func (t AttributionReportingSourceRegistrationResult) String() string { + return string(t) +} + +// AttributionReportingSourceRegistrationResult values. +const ( + AttributionReportingSourceRegistrationResultSuccess AttributionReportingSourceRegistrationResult = "success" + AttributionReportingSourceRegistrationResultInternalError AttributionReportingSourceRegistrationResult = "internalError" + AttributionReportingSourceRegistrationResultInsufficientSourceCapacity AttributionReportingSourceRegistrationResult = "insufficientSourceCapacity" + AttributionReportingSourceRegistrationResultInsufficientUniqueDestinationCapacity AttributionReportingSourceRegistrationResult = "insufficientUniqueDestinationCapacity" + AttributionReportingSourceRegistrationResultExcessiveReportingOrigins AttributionReportingSourceRegistrationResult = "excessiveReportingOrigins" + AttributionReportingSourceRegistrationResultProhibitedByBrowserPolicy AttributionReportingSourceRegistrationResult = "prohibitedByBrowserPolicy" + AttributionReportingSourceRegistrationResultSuccessNoised AttributionReportingSourceRegistrationResult = "successNoised" + AttributionReportingSourceRegistrationResultDestinationReportingLimitReached AttributionReportingSourceRegistrationResult = "destinationReportingLimitReached" + AttributionReportingSourceRegistrationResultDestinationGlobalLimitReached AttributionReportingSourceRegistrationResult = "destinationGlobalLimitReached" + AttributionReportingSourceRegistrationResultDestinationBothLimitsReached AttributionReportingSourceRegistrationResult = "destinationBothLimitsReached" + AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimitReached AttributionReportingSourceRegistrationResult = "reportingOriginsPerSiteLimitReached" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t AttributionReportingSourceRegistrationResult) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t AttributionReportingSourceRegistrationResult) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *AttributionReportingSourceRegistrationResult) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch AttributionReportingSourceRegistrationResult(v) { + case AttributionReportingSourceRegistrationResultSuccess: + *t = AttributionReportingSourceRegistrationResultSuccess + case AttributionReportingSourceRegistrationResultInternalError: + *t = AttributionReportingSourceRegistrationResultInternalError + case AttributionReportingSourceRegistrationResultInsufficientSourceCapacity: + *t = AttributionReportingSourceRegistrationResultInsufficientSourceCapacity + case AttributionReportingSourceRegistrationResultInsufficientUniqueDestinationCapacity: + *t = AttributionReportingSourceRegistrationResultInsufficientUniqueDestinationCapacity + case AttributionReportingSourceRegistrationResultExcessiveReportingOrigins: + *t = AttributionReportingSourceRegistrationResultExcessiveReportingOrigins + case AttributionReportingSourceRegistrationResultProhibitedByBrowserPolicy: + *t = AttributionReportingSourceRegistrationResultProhibitedByBrowserPolicy + case AttributionReportingSourceRegistrationResultSuccessNoised: + *t = AttributionReportingSourceRegistrationResultSuccessNoised + case AttributionReportingSourceRegistrationResultDestinationReportingLimitReached: + *t = AttributionReportingSourceRegistrationResultDestinationReportingLimitReached + case AttributionReportingSourceRegistrationResultDestinationGlobalLimitReached: + *t = AttributionReportingSourceRegistrationResultDestinationGlobalLimitReached + case AttributionReportingSourceRegistrationResultDestinationBothLimitsReached: + *t = AttributionReportingSourceRegistrationResultDestinationBothLimitsReached + case AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimitReached: + *t = AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimitReached + + default: + in.AddError(fmt.Errorf("unknown AttributionReportingSourceRegistrationResult value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *AttributionReportingSourceRegistrationResult) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +}