storage

package
v0.0.0-...-fe04f09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 8 Imported by: 13

Documentation

Overview

Package storage provides the Chrome DevTools Protocol commands, types, and events for the Storage domain.

Generated by the cdproto-gen command.

Index

Constants

View Source
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"
	CommandSetInterestGroupAuctionTracking         = "Storage.setInterestGroupAuctionTracking"
	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"
	CommandSendPendingAttributionReports           = "Storage.sendPendingAttributionReports"
	CommandGetRelatedWebsiteSets                   = "Storage.getRelatedWebsiteSets"
)

Command names.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributionReportingAggregatableDedupKey

type AttributionReportingAggregatableDedupKey struct {
	DedupKey UnsignedInt64asBase10           `json:"dedupKey,omitempty"`
	Filters  *AttributionReportingFilterPair `json:"filters"`
}

AttributionReportingAggregatableDedupKey [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingAggregatableDedupKey

func (AttributionReportingAggregatableDedupKey) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingAggregatableDedupKey) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingAggregatableDedupKey) UnmarshalEasyJSON

func (v *AttributionReportingAggregatableDedupKey) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingAggregatableDedupKey) UnmarshalJSON

func (v *AttributionReportingAggregatableDedupKey) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingAggregatableResult

type AttributionReportingAggregatableResult string

AttributionReportingAggregatableResult [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingAggregatableResult

const (
	AttributionReportingAggregatableResultSuccess                             AttributionReportingAggregatableResult = "success"
	AttributionReportingAggregatableResultInternalError                       AttributionReportingAggregatableResult = "internalError"
	AttributionReportingAggregatableResultNoCapacityForAttributionDestination AttributionReportingAggregatableResult = "noCapacityForAttributionDestination"
	AttributionReportingAggregatableResultNoMatchingSources                   AttributionReportingAggregatableResult = "noMatchingSources"
	AttributionReportingAggregatableResultExcessiveAttributions               AttributionReportingAggregatableResult = "excessiveAttributions"
	AttributionReportingAggregatableResultExcessiveReportingOrigins           AttributionReportingAggregatableResult = "excessiveReportingOrigins"
	AttributionReportingAggregatableResultNoHistograms                        AttributionReportingAggregatableResult = "noHistograms"
	AttributionReportingAggregatableResultInsufficientBudget                  AttributionReportingAggregatableResult = "insufficientBudget"
	AttributionReportingAggregatableResultNoMatchingSourceFilterData          AttributionReportingAggregatableResult = "noMatchingSourceFilterData"
	AttributionReportingAggregatableResultNotRegistered                       AttributionReportingAggregatableResult = "notRegistered"
	AttributionReportingAggregatableResultProhibitedByBrowserPolicy           AttributionReportingAggregatableResult = "prohibitedByBrowserPolicy"
	AttributionReportingAggregatableResultDeduplicated                        AttributionReportingAggregatableResult = "deduplicated"
	AttributionReportingAggregatableResultReportWindowPassed                  AttributionReportingAggregatableResult = "reportWindowPassed"
	AttributionReportingAggregatableResultExcessiveReports                    AttributionReportingAggregatableResult = "excessiveReports"
)

AttributionReportingAggregatableResult values.

func (AttributionReportingAggregatableResult) MarshalEasyJSON

func (t AttributionReportingAggregatableResult) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (AttributionReportingAggregatableResult) MarshalJSON

func (t AttributionReportingAggregatableResult) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (AttributionReportingAggregatableResult) String

String returns the AttributionReportingAggregatableResult as string value.

func (*AttributionReportingAggregatableResult) UnmarshalEasyJSON

func (t *AttributionReportingAggregatableResult) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*AttributionReportingAggregatableResult) UnmarshalJSON

func (t *AttributionReportingAggregatableResult) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type AttributionReportingAggregatableTriggerData

type AttributionReportingAggregatableTriggerData struct {
	KeyPiece   UnsignedInt128asBase16          `json:"keyPiece"`
	SourceKeys []string                        `json:"sourceKeys"`
	Filters    *AttributionReportingFilterPair `json:"filters"`
}

AttributionReportingAggregatableTriggerData [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingAggregatableTriggerData

func (AttributionReportingAggregatableTriggerData) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingAggregatableTriggerData) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingAggregatableTriggerData) UnmarshalEasyJSON

func (v *AttributionReportingAggregatableTriggerData) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingAggregatableTriggerData) UnmarshalJSON

func (v *AttributionReportingAggregatableTriggerData) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingAggregatableValueDictEntry

type AttributionReportingAggregatableValueDictEntry struct {
	Key   string  `json:"key"`
	Value float64 `json:"value"` // number instead of integer because not all uint32 can be represented by int
}

AttributionReportingAggregatableValueDictEntry [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingAggregatableValueDictEntry

func (AttributionReportingAggregatableValueDictEntry) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingAggregatableValueDictEntry) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingAggregatableValueDictEntry) UnmarshalEasyJSON

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingAggregatableValueDictEntry) UnmarshalJSON

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingAggregatableValueEntry

type AttributionReportingAggregatableValueEntry struct {
	Values  []*AttributionReportingAggregatableValueDictEntry `json:"values"`
	Filters *AttributionReportingFilterPair                   `json:"filters"`
}

AttributionReportingAggregatableValueEntry [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingAggregatableValueEntry

func (AttributionReportingAggregatableValueEntry) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingAggregatableValueEntry) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingAggregatableValueEntry) UnmarshalEasyJSON

func (v *AttributionReportingAggregatableValueEntry) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingAggregatableValueEntry) UnmarshalJSON

func (v *AttributionReportingAggregatableValueEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingAggregationKeysEntry

type AttributionReportingAggregationKeysEntry struct {
	Key   string                 `json:"key"`
	Value UnsignedInt128asBase16 `json:"value"`
}

AttributionReportingAggregationKeysEntry [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingAggregationKeysEntry

func (AttributionReportingAggregationKeysEntry) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingAggregationKeysEntry) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingAggregationKeysEntry) UnmarshalEasyJSON

func (v *AttributionReportingAggregationKeysEntry) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingAggregationKeysEntry) UnmarshalJSON

func (v *AttributionReportingAggregationKeysEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingEventLevelResult

type AttributionReportingEventLevelResult string

AttributionReportingEventLevelResult [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingEventLevelResult

const (
	AttributionReportingEventLevelResultSuccess                             AttributionReportingEventLevelResult = "success"
	AttributionReportingEventLevelResultSuccessDroppedLowerPriority         AttributionReportingEventLevelResult = "successDroppedLowerPriority"
	AttributionReportingEventLevelResultInternalError                       AttributionReportingEventLevelResult = "internalError"
	AttributionReportingEventLevelResultNoCapacityForAttributionDestination AttributionReportingEventLevelResult = "noCapacityForAttributionDestination"
	AttributionReportingEventLevelResultNoMatchingSources                   AttributionReportingEventLevelResult = "noMatchingSources"
	AttributionReportingEventLevelResultDeduplicated                        AttributionReportingEventLevelResult = "deduplicated"
	AttributionReportingEventLevelResultExcessiveAttributions               AttributionReportingEventLevelResult = "excessiveAttributions"
	AttributionReportingEventLevelResultPriorityTooLow                      AttributionReportingEventLevelResult = "priorityTooLow"
	AttributionReportingEventLevelResultNeverAttributedSource               AttributionReportingEventLevelResult = "neverAttributedSource"
	AttributionReportingEventLevelResultExcessiveReportingOrigins           AttributionReportingEventLevelResult = "excessiveReportingOrigins"
	AttributionReportingEventLevelResultNoMatchingSourceFilterData          AttributionReportingEventLevelResult = "noMatchingSourceFilterData"
	AttributionReportingEventLevelResultProhibitedByBrowserPolicy           AttributionReportingEventLevelResult = "prohibitedByBrowserPolicy"
	AttributionReportingEventLevelResultNoMatchingConfigurations            AttributionReportingEventLevelResult = "noMatchingConfigurations"
	AttributionReportingEventLevelResultExcessiveReports                    AttributionReportingEventLevelResult = "excessiveReports"
	AttributionReportingEventLevelResultFalselyAttributedSource             AttributionReportingEventLevelResult = "falselyAttributedSource"
	AttributionReportingEventLevelResultReportWindowPassed                  AttributionReportingEventLevelResult = "reportWindowPassed"
	AttributionReportingEventLevelResultNotRegistered                       AttributionReportingEventLevelResult = "notRegistered"
	AttributionReportingEventLevelResultReportWindowNotStarted              AttributionReportingEventLevelResult = "reportWindowNotStarted"
	AttributionReportingEventLevelResultNoMatchingTriggerData               AttributionReportingEventLevelResult = "noMatchingTriggerData"
)

AttributionReportingEventLevelResult values.

func (AttributionReportingEventLevelResult) MarshalEasyJSON

func (t AttributionReportingEventLevelResult) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (AttributionReportingEventLevelResult) MarshalJSON

func (t AttributionReportingEventLevelResult) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (AttributionReportingEventLevelResult) String

String returns the AttributionReportingEventLevelResult as string value.

func (*AttributionReportingEventLevelResult) UnmarshalEasyJSON

func (t *AttributionReportingEventLevelResult) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*AttributionReportingEventLevelResult) UnmarshalJSON

func (t *AttributionReportingEventLevelResult) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type AttributionReportingEventReportWindows

type AttributionReportingEventReportWindows struct {
	Start int64   `json:"start"` // duration in seconds
	Ends  []int64 `json:"ends"`  // duration in seconds
}

AttributionReportingEventReportWindows [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingEventReportWindows

func (AttributionReportingEventReportWindows) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingEventReportWindows) MarshalJSON

func (v AttributionReportingEventReportWindows) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingEventReportWindows) UnmarshalEasyJSON

func (v *AttributionReportingEventReportWindows) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingEventReportWindows) UnmarshalJSON

func (v *AttributionReportingEventReportWindows) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingEventTriggerData

type AttributionReportingEventTriggerData struct {
	Data     UnsignedInt64asBase10           `json:"data"`
	Priority SignedInt64asBase10             `json:"priority"`
	DedupKey UnsignedInt64asBase10           `json:"dedupKey,omitempty"`
	Filters  *AttributionReportingFilterPair `json:"filters"`
}

AttributionReportingEventTriggerData [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingEventTriggerData

func (AttributionReportingEventTriggerData) MarshalEasyJSON

func (v AttributionReportingEventTriggerData) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingEventTriggerData) MarshalJSON

func (v AttributionReportingEventTriggerData) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingEventTriggerData) UnmarshalEasyJSON

func (v *AttributionReportingEventTriggerData) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingEventTriggerData) UnmarshalJSON

func (v *AttributionReportingEventTriggerData) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingFilterConfig

type AttributionReportingFilterConfig struct {
	FilterValues   []*AttributionReportingFilterDataEntry `json:"filterValues"`
	LookbackWindow int64                                  `json:"lookbackWindow,omitempty"` // duration in seconds
}

AttributionReportingFilterConfig [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingFilterConfig

func (AttributionReportingFilterConfig) MarshalEasyJSON

func (v AttributionReportingFilterConfig) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingFilterConfig) MarshalJSON

func (v AttributionReportingFilterConfig) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingFilterConfig) UnmarshalEasyJSON

func (v *AttributionReportingFilterConfig) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingFilterConfig) UnmarshalJSON

func (v *AttributionReportingFilterConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingFilterDataEntry

type AttributionReportingFilterDataEntry struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

AttributionReportingFilterDataEntry [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingFilterDataEntry

func (AttributionReportingFilterDataEntry) MarshalEasyJSON

func (v AttributionReportingFilterDataEntry) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingFilterDataEntry) MarshalJSON

func (v AttributionReportingFilterDataEntry) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingFilterDataEntry) UnmarshalEasyJSON

func (v *AttributionReportingFilterDataEntry) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingFilterDataEntry) UnmarshalJSON

func (v *AttributionReportingFilterDataEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingFilterPair

type AttributionReportingFilterPair struct {
	Filters    []*AttributionReportingFilterConfig `json:"filters"`
	NotFilters []*AttributionReportingFilterConfig `json:"notFilters"`
}

AttributionReportingFilterPair [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingFilterPair

func (AttributionReportingFilterPair) MarshalEasyJSON

func (v AttributionReportingFilterPair) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingFilterPair) MarshalJSON

func (v AttributionReportingFilterPair) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingFilterPair) UnmarshalEasyJSON

func (v *AttributionReportingFilterPair) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingFilterPair) UnmarshalJSON

func (v *AttributionReportingFilterPair) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingSourceRegistration

type AttributionReportingSourceRegistration struct {
	Time                     *cdp.TimeSinceEpoch                         `json:"time"`
	Expiry                   int64                                       `json:"expiry"` // duration in seconds
	TriggerSpecs             []*AttributionReportingTriggerSpec          `json:"triggerSpecs"`
	AggregatableReportWindow int64                                       `json:"aggregatableReportWindow"` // 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"`
	TriggerDataMatching      AttributionReportingTriggerDataMatching     `json:"triggerDataMatching"`
}

AttributionReportingSourceRegistration [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingSourceRegistration

func (AttributionReportingSourceRegistration) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingSourceRegistration) MarshalJSON

func (v AttributionReportingSourceRegistration) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingSourceRegistration) UnmarshalEasyJSON

func (v *AttributionReportingSourceRegistration) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingSourceRegistration) UnmarshalJSON

func (v *AttributionReportingSourceRegistration) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingSourceRegistrationResult

type AttributionReportingSourceRegistrationResult string

AttributionReportingSourceRegistrationResult [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingSourceRegistrationResult

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"
	AttributionReportingSourceRegistrationResultExceedsMaxChannelCapacity             AttributionReportingSourceRegistrationResult = "exceedsMaxChannelCapacity"
)

AttributionReportingSourceRegistrationResult values.

func (AttributionReportingSourceRegistrationResult) MarshalEasyJSON

MarshalEasyJSON satisfies easyjson.Marshaler.

func (AttributionReportingSourceRegistrationResult) MarshalJSON

MarshalJSON satisfies json.Marshaler.

func (AttributionReportingSourceRegistrationResult) String

String returns the AttributionReportingSourceRegistrationResult as string value.

func (*AttributionReportingSourceRegistrationResult) UnmarshalEasyJSON

func (t *AttributionReportingSourceRegistrationResult) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*AttributionReportingSourceRegistrationResult) UnmarshalJSON

UnmarshalJSON satisfies json.Unmarshaler.

type AttributionReportingSourceRegistrationTimeConfig

type AttributionReportingSourceRegistrationTimeConfig string

AttributionReportingSourceRegistrationTimeConfig [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingSourceRegistrationTimeConfig

const (
	AttributionReportingSourceRegistrationTimeConfigInclude AttributionReportingSourceRegistrationTimeConfig = "include"
	AttributionReportingSourceRegistrationTimeConfigExclude AttributionReportingSourceRegistrationTimeConfig = "exclude"
)

AttributionReportingSourceRegistrationTimeConfig values.

func (AttributionReportingSourceRegistrationTimeConfig) MarshalEasyJSON

MarshalEasyJSON satisfies easyjson.Marshaler.

func (AttributionReportingSourceRegistrationTimeConfig) MarshalJSON

MarshalJSON satisfies json.Marshaler.

func (AttributionReportingSourceRegistrationTimeConfig) String

String returns the AttributionReportingSourceRegistrationTimeConfig as string value.

func (*AttributionReportingSourceRegistrationTimeConfig) UnmarshalEasyJSON

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*AttributionReportingSourceRegistrationTimeConfig) UnmarshalJSON

UnmarshalJSON satisfies json.Unmarshaler.

type AttributionReportingSourceType

type AttributionReportingSourceType string

AttributionReportingSourceType [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingSourceType

const (
	AttributionReportingSourceTypeNavigation AttributionReportingSourceType = "navigation"
	AttributionReportingSourceTypeEvent      AttributionReportingSourceType = "event"
)

AttributionReportingSourceType values.

func (AttributionReportingSourceType) MarshalEasyJSON

func (t AttributionReportingSourceType) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (AttributionReportingSourceType) MarshalJSON

func (t AttributionReportingSourceType) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (AttributionReportingSourceType) String

String returns the AttributionReportingSourceType as string value.

func (*AttributionReportingSourceType) UnmarshalEasyJSON

func (t *AttributionReportingSourceType) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*AttributionReportingSourceType) UnmarshalJSON

func (t *AttributionReportingSourceType) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type AttributionReportingTriggerDataMatching

type AttributionReportingTriggerDataMatching string

AttributionReportingTriggerDataMatching [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingTriggerDataMatching

const (
	AttributionReportingTriggerDataMatchingExact   AttributionReportingTriggerDataMatching = "exact"
	AttributionReportingTriggerDataMatchingModulus AttributionReportingTriggerDataMatching = "modulus"
)

AttributionReportingTriggerDataMatching values.

func (AttributionReportingTriggerDataMatching) MarshalEasyJSON

func (t AttributionReportingTriggerDataMatching) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (AttributionReportingTriggerDataMatching) MarshalJSON

func (t AttributionReportingTriggerDataMatching) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (AttributionReportingTriggerDataMatching) String

String returns the AttributionReportingTriggerDataMatching as string value.

func (*AttributionReportingTriggerDataMatching) UnmarshalEasyJSON

func (t *AttributionReportingTriggerDataMatching) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*AttributionReportingTriggerDataMatching) UnmarshalJSON

func (t *AttributionReportingTriggerDataMatching) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type AttributionReportingTriggerRegistration

type AttributionReportingTriggerRegistration struct {
	Filters                      *AttributionReportingFilterPair                  `json:"filters"`
	DebugKey                     UnsignedInt64asBase10                            `json:"debugKey,omitempty"`
	AggregatableDedupKeys        []*AttributionReportingAggregatableDedupKey      `json:"aggregatableDedupKeys"`
	EventTriggerData             []*AttributionReportingEventTriggerData          `json:"eventTriggerData"`
	AggregatableTriggerData      []*AttributionReportingAggregatableTriggerData   `json:"aggregatableTriggerData"`
	AggregatableValues           []*AttributionReportingAggregatableValueEntry    `json:"aggregatableValues"`
	DebugReporting               bool                                             `json:"debugReporting"`
	AggregationCoordinatorOrigin string                                           `json:"aggregationCoordinatorOrigin,omitempty"`
	SourceRegistrationTimeConfig AttributionReportingSourceRegistrationTimeConfig `json:"sourceRegistrationTimeConfig"`
	TriggerContextID             string                                           `json:"triggerContextId,omitempty"`
}

AttributionReportingTriggerRegistration [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingTriggerRegistration

func (AttributionReportingTriggerRegistration) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingTriggerRegistration) MarshalJSON

func (v AttributionReportingTriggerRegistration) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingTriggerRegistration) UnmarshalEasyJSON

func (v *AttributionReportingTriggerRegistration) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingTriggerRegistration) UnmarshalJSON

func (v *AttributionReportingTriggerRegistration) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AttributionReportingTriggerSpec

type AttributionReportingTriggerSpec struct {
	TriggerData        []float64                               `json:"triggerData"` // number instead of integer because not all uint32 can be represented by int
	EventReportWindows *AttributionReportingEventReportWindows `json:"eventReportWindows"`
}

AttributionReportingTriggerSpec [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingTriggerSpec

func (AttributionReportingTriggerSpec) MarshalEasyJSON

func (v AttributionReportingTriggerSpec) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttributionReportingTriggerSpec) MarshalJSON

func (v AttributionReportingTriggerSpec) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttributionReportingTriggerSpec) UnmarshalEasyJSON

func (v *AttributionReportingTriggerSpec) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttributionReportingTriggerSpec) UnmarshalJSON

func (v *AttributionReportingTriggerSpec) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bucket

type Bucket struct {
	StorageKey SerializedStorageKey `json:"storageKey"`
	Name       string               `json:"name,omitempty"` // If not specified, it is the default bucket of the storageKey.
}

Bucket [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-StorageBucket

func (Bucket) MarshalEasyJSON

func (v Bucket) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bucket) MarshalJSON

func (v Bucket) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bucket) UnmarshalEasyJSON

func (v *Bucket) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bucket) UnmarshalJSON

func (v *Bucket) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BucketInfo

type BucketInfo struct {
	Bucket     *Bucket             `json:"bucket"`
	ID         string              `json:"id"`
	Expiration *cdp.TimeSinceEpoch `json:"expiration"`
	Quota      float64             `json:"quota"` // Storage quota (bytes).
	Persistent bool                `json:"persistent"`
	Durability BucketsDurability   `json:"durability"`
}

BucketInfo [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-StorageBucketInfo

func (BucketInfo) MarshalEasyJSON

func (v BucketInfo) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BucketInfo) MarshalJSON

func (v BucketInfo) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BucketInfo) UnmarshalEasyJSON

func (v *BucketInfo) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BucketInfo) UnmarshalJSON

func (v *BucketInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BucketsDurability

type BucketsDurability string

BucketsDurability [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-StorageBucketsDurability

const (
	BucketsDurabilityRelaxed BucketsDurability = "relaxed"
	BucketsDurabilityStrict  BucketsDurability = "strict"
)

BucketsDurability values.

func (BucketsDurability) MarshalEasyJSON

func (t BucketsDurability) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (BucketsDurability) MarshalJSON

func (t BucketsDurability) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (BucketsDurability) String

func (t BucketsDurability) String() string

String returns the BucketsDurability as string value.

func (*BucketsDurability) UnmarshalEasyJSON

func (t *BucketsDurability) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*BucketsDurability) UnmarshalJSON

func (t *BucketsDurability) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type ClearCookiesParams

type ClearCookiesParams struct {
	BrowserContextID cdp.BrowserContextID `json:"browserContextId,omitempty"` // Browser context to use when called on the browser endpoint.
}

ClearCookiesParams clears cookies.

func ClearCookies

func ClearCookies() *ClearCookiesParams

ClearCookies clears cookies.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearCookies

parameters:

func (*ClearCookiesParams) Do

func (p *ClearCookiesParams) Do(ctx context.Context) (err error)

Do executes Storage.clearCookies against the provided context.

func (ClearCookiesParams) MarshalEasyJSON

func (v ClearCookiesParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ClearCookiesParams) MarshalJSON

func (v ClearCookiesParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ClearCookiesParams) UnmarshalEasyJSON

func (v *ClearCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ClearCookiesParams) UnmarshalJSON

func (v *ClearCookiesParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (ClearCookiesParams) WithBrowserContextID

func (p ClearCookiesParams) WithBrowserContextID(browserContextID cdp.BrowserContextID) *ClearCookiesParams

WithBrowserContextID browser context to use when called on the browser endpoint.

type ClearDataForOriginParams

type ClearDataForOriginParams struct {
	Origin       string `json:"origin"`       // Security origin.
	StorageTypes string `json:"storageTypes"` // Comma separated list of StorageType to clear.
}

ClearDataForOriginParams clears storage for origin.

func ClearDataForOrigin

func ClearDataForOrigin(origin string, storageTypes string) *ClearDataForOriginParams

ClearDataForOrigin clears storage for origin.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearDataForOrigin

parameters:

origin - Security origin.
storageTypes - Comma separated list of StorageType to clear.

func (*ClearDataForOriginParams) Do

func (p *ClearDataForOriginParams) Do(ctx context.Context) (err error)

Do executes Storage.clearDataForOrigin against the provided context.

func (ClearDataForOriginParams) MarshalEasyJSON

func (v ClearDataForOriginParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ClearDataForOriginParams) MarshalJSON

func (v ClearDataForOriginParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ClearDataForOriginParams) UnmarshalEasyJSON

func (v *ClearDataForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ClearDataForOriginParams) UnmarshalJSON

func (v *ClearDataForOriginParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ClearDataForStorageKeyParams

type ClearDataForStorageKeyParams struct {
	StorageKey   string `json:"storageKey"`   // Storage key.
	StorageTypes string `json:"storageTypes"` // Comma separated list of StorageType to clear.
}

ClearDataForStorageKeyParams clears storage for storage key.

func ClearDataForStorageKey

func ClearDataForStorageKey(storageKey string, storageTypes string) *ClearDataForStorageKeyParams

ClearDataForStorageKey clears storage for storage key.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearDataForStorageKey

parameters:

storageKey - Storage key.
storageTypes - Comma separated list of StorageType to clear.

func (*ClearDataForStorageKeyParams) Do

Do executes Storage.clearDataForStorageKey against the provided context.

func (ClearDataForStorageKeyParams) MarshalEasyJSON

func (v ClearDataForStorageKeyParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ClearDataForStorageKeyParams) MarshalJSON

func (v ClearDataForStorageKeyParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ClearDataForStorageKeyParams) UnmarshalEasyJSON

func (v *ClearDataForStorageKeyParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ClearDataForStorageKeyParams) UnmarshalJSON

func (v *ClearDataForStorageKeyParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ClearSharedStorageEntriesParams

type ClearSharedStorageEntriesParams struct {
	OwnerOrigin string `json:"ownerOrigin"`
}

ClearSharedStorageEntriesParams clears all entries for a given origin's shared storage.

func ClearSharedStorageEntries

func ClearSharedStorageEntries(ownerOrigin string) *ClearSharedStorageEntriesParams

ClearSharedStorageEntries clears all entries for a given origin's shared storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearSharedStorageEntries

parameters:

ownerOrigin

func (*ClearSharedStorageEntriesParams) Do

Do executes Storage.clearSharedStorageEntries against the provided context.

func (ClearSharedStorageEntriesParams) MarshalEasyJSON

func (v ClearSharedStorageEntriesParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ClearSharedStorageEntriesParams) MarshalJSON

func (v ClearSharedStorageEntriesParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ClearSharedStorageEntriesParams) UnmarshalEasyJSON

func (v *ClearSharedStorageEntriesParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ClearSharedStorageEntriesParams) UnmarshalJSON

func (v *ClearSharedStorageEntriesParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ClearTrustTokensParams

type ClearTrustTokensParams struct {
	IssuerOrigin string `json:"issuerOrigin"`
}

ClearTrustTokensParams removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.

func ClearTrustTokens

func ClearTrustTokens(issuerOrigin string) *ClearTrustTokensParams

ClearTrustTokens removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearTrustTokens

parameters:

issuerOrigin

func (*ClearTrustTokensParams) Do

func (p *ClearTrustTokensParams) Do(ctx context.Context) (didDeleteTokens bool, err error)

Do executes Storage.clearTrustTokens against the provided context.

returns:

didDeleteTokens - True if any tokens were deleted, false otherwise.

func (ClearTrustTokensParams) MarshalEasyJSON

func (v ClearTrustTokensParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ClearTrustTokensParams) MarshalJSON

func (v ClearTrustTokensParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ClearTrustTokensParams) UnmarshalEasyJSON

func (v *ClearTrustTokensParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ClearTrustTokensParams) UnmarshalJSON

func (v *ClearTrustTokensParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ClearTrustTokensReturns

type ClearTrustTokensReturns struct {
	DidDeleteTokens bool `json:"didDeleteTokens,omitempty"` // True if any tokens were deleted, false otherwise.
}

ClearTrustTokensReturns return values.

func (ClearTrustTokensReturns) MarshalEasyJSON

func (v ClearTrustTokensReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ClearTrustTokensReturns) MarshalJSON

func (v ClearTrustTokensReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ClearTrustTokensReturns) UnmarshalEasyJSON

func (v *ClearTrustTokensReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ClearTrustTokensReturns) UnmarshalJSON

func (v *ClearTrustTokensReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type DeleteSharedStorageEntryParams

type DeleteSharedStorageEntryParams struct {
	OwnerOrigin string `json:"ownerOrigin"`
	Key         string `json:"key"`
}

DeleteSharedStorageEntryParams deletes entry for key (if it exists) for a given origin's shared storage.

func DeleteSharedStorageEntry

func DeleteSharedStorageEntry(ownerOrigin string, key string) *DeleteSharedStorageEntryParams

DeleteSharedStorageEntry deletes entry for key (if it exists) for a given origin's shared storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-deleteSharedStorageEntry

parameters:

ownerOrigin
key

func (*DeleteSharedStorageEntryParams) Do

Do executes Storage.deleteSharedStorageEntry against the provided context.

func (DeleteSharedStorageEntryParams) MarshalEasyJSON

func (v DeleteSharedStorageEntryParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DeleteSharedStorageEntryParams) MarshalJSON

func (v DeleteSharedStorageEntryParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DeleteSharedStorageEntryParams) UnmarshalEasyJSON

func (v *DeleteSharedStorageEntryParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DeleteSharedStorageEntryParams) UnmarshalJSON

func (v *DeleteSharedStorageEntryParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type DeleteStorageBucketParams

type DeleteStorageBucketParams struct {
	Bucket *Bucket `json:"bucket"`
}

DeleteStorageBucketParams deletes the Storage Bucket with the given storage key and bucket name.

func DeleteStorageBucket

func DeleteStorageBucket(bucket *Bucket) *DeleteStorageBucketParams

DeleteStorageBucket deletes the Storage Bucket with the given storage key and bucket name.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-deleteStorageBucket

parameters:

bucket

func (*DeleteStorageBucketParams) Do

Do executes Storage.deleteStorageBucket against the provided context.

func (DeleteStorageBucketParams) MarshalEasyJSON

func (v DeleteStorageBucketParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DeleteStorageBucketParams) MarshalJSON

func (v DeleteStorageBucketParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DeleteStorageBucketParams) UnmarshalEasyJSON

func (v *DeleteStorageBucketParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DeleteStorageBucketParams) UnmarshalJSON

func (v *DeleteStorageBucketParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventAttributionReportingSourceRegistered

type EventAttributionReportingSourceRegistered struct {
	Registration *AttributionReportingSourceRegistration      `json:"registration"`
	Result       AttributionReportingSourceRegistrationResult `json:"result"`
}

EventAttributionReportingSourceRegistered [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-attributionReportingSourceRegistered

func (EventAttributionReportingSourceRegistered) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventAttributionReportingSourceRegistered) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*EventAttributionReportingSourceRegistered) UnmarshalEasyJSON

func (v *EventAttributionReportingSourceRegistered) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventAttributionReportingSourceRegistered) UnmarshalJSON

func (v *EventAttributionReportingSourceRegistered) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventAttributionReportingTriggerRegistered

type EventAttributionReportingTriggerRegistered struct {
	Registration *AttributionReportingTriggerRegistration `json:"registration"`
	EventLevel   AttributionReportingEventLevelResult     `json:"eventLevel"`
	Aggregatable AttributionReportingAggregatableResult   `json:"aggregatable"`
}

EventAttributionReportingTriggerRegistered [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-attributionReportingTriggerRegistered

func (EventAttributionReportingTriggerRegistered) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventAttributionReportingTriggerRegistered) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*EventAttributionReportingTriggerRegistered) UnmarshalEasyJSON

func (v *EventAttributionReportingTriggerRegistered) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventAttributionReportingTriggerRegistered) UnmarshalJSON

func (v *EventAttributionReportingTriggerRegistered) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventCacheStorageContentUpdated

type EventCacheStorageContentUpdated struct {
	Origin     string `json:"origin"`     // Origin to update.
	StorageKey string `json:"storageKey"` // Storage key to update.
	BucketID   string `json:"bucketId"`   // Storage bucket to update.
	CacheName  string `json:"cacheName"`  // Name of cache in origin.
}

EventCacheStorageContentUpdated a cache's contents have been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-cacheStorageContentUpdated

func (EventCacheStorageContentUpdated) MarshalEasyJSON

func (v EventCacheStorageContentUpdated) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventCacheStorageContentUpdated) MarshalJSON

func (v EventCacheStorageContentUpdated) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventCacheStorageContentUpdated) UnmarshalEasyJSON

func (v *EventCacheStorageContentUpdated) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventCacheStorageContentUpdated) UnmarshalJSON

func (v *EventCacheStorageContentUpdated) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventCacheStorageListUpdated

type EventCacheStorageListUpdated struct {
	Origin     string `json:"origin"`     // Origin to update.
	StorageKey string `json:"storageKey"` // Storage key to update.
	BucketID   string `json:"bucketId"`   // Storage bucket to update.
}

EventCacheStorageListUpdated a cache has been added/deleted.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-cacheStorageListUpdated

func (EventCacheStorageListUpdated) MarshalEasyJSON

func (v EventCacheStorageListUpdated) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventCacheStorageListUpdated) MarshalJSON

func (v EventCacheStorageListUpdated) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventCacheStorageListUpdated) UnmarshalEasyJSON

func (v *EventCacheStorageListUpdated) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventCacheStorageListUpdated) UnmarshalJSON

func (v *EventCacheStorageListUpdated) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventIndexedDBContentUpdated

type EventIndexedDBContentUpdated struct {
	Origin          string `json:"origin"`          // Origin to update.
	StorageKey      string `json:"storageKey"`      // Storage key to update.
	BucketID        string `json:"bucketId"`        // Storage bucket to update.
	DatabaseName    string `json:"databaseName"`    // Database to update.
	ObjectStoreName string `json:"objectStoreName"` // ObjectStore to update.
}

EventIndexedDBContentUpdated the origin's IndexedDB object store has been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-indexedDBContentUpdated

func (EventIndexedDBContentUpdated) MarshalEasyJSON

func (v EventIndexedDBContentUpdated) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventIndexedDBContentUpdated) MarshalJSON

func (v EventIndexedDBContentUpdated) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventIndexedDBContentUpdated) UnmarshalEasyJSON

func (v *EventIndexedDBContentUpdated) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventIndexedDBContentUpdated) UnmarshalJSON

func (v *EventIndexedDBContentUpdated) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventIndexedDBListUpdated

type EventIndexedDBListUpdated struct {
	Origin     string `json:"origin"`     // Origin to update.
	StorageKey string `json:"storageKey"` // Storage key to update.
	BucketID   string `json:"bucketId"`   // Storage bucket to update.
}

EventIndexedDBListUpdated the origin's IndexedDB database list has been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-indexedDBListUpdated

func (EventIndexedDBListUpdated) MarshalEasyJSON

func (v EventIndexedDBListUpdated) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventIndexedDBListUpdated) MarshalJSON

func (v EventIndexedDBListUpdated) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventIndexedDBListUpdated) UnmarshalEasyJSON

func (v *EventIndexedDBListUpdated) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventIndexedDBListUpdated) UnmarshalJSON

func (v *EventIndexedDBListUpdated) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventInterestGroupAccessed

type EventInterestGroupAccessed struct {
	AccessTime            *cdp.TimeSinceEpoch     `json:"accessTime"`
	Type                  InterestGroupAccessType `json:"type"`
	OwnerOrigin           string                  `json:"ownerOrigin"`
	Name                  string                  `json:"name"`
	ComponentSellerOrigin string                  `json:"componentSellerOrigin,omitempty"` // For topLevelBid/topLevelAdditionalBid, and when appropriate, win and additionalBidWin
	Bid                   float64                 `json:"bid,omitempty"`                   // For bid or somethingBid event, if done locally and not on a server.
	BidCurrency           string                  `json:"bidCurrency,omitempty"`
	UniqueAuctionID       InterestGroupAuctionID  `json:"uniqueAuctionId,omitempty"` // For non-global events --- links to interestGroupAuctionEvent
}

EventInterestGroupAccessed one of the interest groups was accessed. Note that these events are global to all targets sharing an interest group store.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-interestGroupAccessed

func (EventInterestGroupAccessed) MarshalEasyJSON

func (v EventInterestGroupAccessed) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventInterestGroupAccessed) MarshalJSON

func (v EventInterestGroupAccessed) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventInterestGroupAccessed) UnmarshalEasyJSON

func (v *EventInterestGroupAccessed) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventInterestGroupAccessed) UnmarshalJSON

func (v *EventInterestGroupAccessed) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventInterestGroupAuctionEventOccurred

type EventInterestGroupAuctionEventOccurred struct {
	EventTime       *cdp.TimeSinceEpoch           `json:"eventTime"`
	Type            InterestGroupAuctionEventType `json:"type"`
	UniqueAuctionID InterestGroupAuctionID        `json:"uniqueAuctionId"`
	ParentAuctionID InterestGroupAuctionID        `json:"parentAuctionId,omitempty"` // Set for child auctions.
	AuctionConfig   easyjson.RawMessage           `json:"auctionConfig,omitempty"`
}

EventInterestGroupAuctionEventOccurred an auction involving interest groups is taking place. These events are target-specific.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-interestGroupAuctionEventOccurred

func (EventInterestGroupAuctionEventOccurred) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventInterestGroupAuctionEventOccurred) MarshalJSON

func (v EventInterestGroupAuctionEventOccurred) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventInterestGroupAuctionEventOccurred) UnmarshalEasyJSON

func (v *EventInterestGroupAuctionEventOccurred) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventInterestGroupAuctionEventOccurred) UnmarshalJSON

func (v *EventInterestGroupAuctionEventOccurred) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventInterestGroupAuctionNetworkRequestCreated

type EventInterestGroupAuctionNetworkRequestCreated struct {
	Type      InterestGroupAuctionFetchType `json:"type"`
	RequestID network.RequestID             `json:"requestId"`
	Auctions  []InterestGroupAuctionID      `json:"auctions"` // This is the set of the auctions using the worklet that issued this request.  In the case of trusted signals, it's possible that only some of them actually care about the keys being queried.
}

EventInterestGroupAuctionNetworkRequestCreated specifies which auctions a particular network fetch may be related to, and in what role. Note that it is not ordered with respect to Network.requestWillBeSent (but will happen before loadingFinished loadingFailed).

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-interestGroupAuctionNetworkRequestCreated

func (EventInterestGroupAuctionNetworkRequestCreated) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventInterestGroupAuctionNetworkRequestCreated) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*EventInterestGroupAuctionNetworkRequestCreated) UnmarshalEasyJSON

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventInterestGroupAuctionNetworkRequestCreated) UnmarshalJSON

UnmarshalJSON supports json.Unmarshaler interface

type EventSharedStorageAccessed

type EventSharedStorageAccessed struct {
	AccessTime  *cdp.TimeSinceEpoch        `json:"accessTime"`  // Time of the access.
	Type        SharedStorageAccessType    `json:"type"`        // Enum value indicating the Shared Storage API method invoked.
	MainFrameID cdp.FrameID                `json:"mainFrameId"` // DevTools Frame Token for the primary frame tree's root.
	OwnerOrigin string                     `json:"ownerOrigin"` // Serialized origin for the context that invoked the Shared Storage API.
	Params      *SharedStorageAccessParams `json:"params"`      // The sub-parameters wrapped by params are all optional and their presence/absence depends on type.
}

EventSharedStorageAccessed shared storage was accessed by the associated page. The following parameters are included in all events.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-sharedStorageAccessed

func (EventSharedStorageAccessed) MarshalEasyJSON

func (v EventSharedStorageAccessed) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventSharedStorageAccessed) MarshalJSON

func (v EventSharedStorageAccessed) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventSharedStorageAccessed) UnmarshalEasyJSON

func (v *EventSharedStorageAccessed) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventSharedStorageAccessed) UnmarshalJSON

func (v *EventSharedStorageAccessed) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventStorageBucketCreatedOrUpdated

type EventStorageBucketCreatedOrUpdated struct {
	BucketInfo *BucketInfo `json:"bucketInfo"`
}

EventStorageBucketCreatedOrUpdated [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-storageBucketCreatedOrUpdated

func (EventStorageBucketCreatedOrUpdated) MarshalEasyJSON

func (v EventStorageBucketCreatedOrUpdated) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventStorageBucketCreatedOrUpdated) MarshalJSON

func (v EventStorageBucketCreatedOrUpdated) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventStorageBucketCreatedOrUpdated) UnmarshalEasyJSON

func (v *EventStorageBucketCreatedOrUpdated) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventStorageBucketCreatedOrUpdated) UnmarshalJSON

func (v *EventStorageBucketCreatedOrUpdated) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventStorageBucketDeleted

type EventStorageBucketDeleted struct {
	BucketID string `json:"bucketId"`
}

EventStorageBucketDeleted [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-storageBucketDeleted

func (EventStorageBucketDeleted) MarshalEasyJSON

func (v EventStorageBucketDeleted) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventStorageBucketDeleted) MarshalJSON

func (v EventStorageBucketDeleted) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventStorageBucketDeleted) UnmarshalEasyJSON

func (v *EventStorageBucketDeleted) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventStorageBucketDeleted) UnmarshalJSON

func (v *EventStorageBucketDeleted) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetCookiesParams

type GetCookiesParams struct {
	BrowserContextID cdp.BrowserContextID `json:"browserContextId,omitempty"` // Browser context to use when called on the browser endpoint.
}

GetCookiesParams returns all browser cookies.

func GetCookies

func GetCookies() *GetCookiesParams

GetCookies returns all browser cookies.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getCookies

parameters:

func (*GetCookiesParams) Do

func (p *GetCookiesParams) Do(ctx context.Context) (cookies []*network.Cookie, err error)

Do executes Storage.getCookies against the provided context.

returns:

cookies - Array of cookie objects.

func (GetCookiesParams) MarshalEasyJSON

func (v GetCookiesParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetCookiesParams) MarshalJSON

func (v GetCookiesParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetCookiesParams) UnmarshalEasyJSON

func (v *GetCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetCookiesParams) UnmarshalJSON

func (v *GetCookiesParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (GetCookiesParams) WithBrowserContextID

func (p GetCookiesParams) WithBrowserContextID(browserContextID cdp.BrowserContextID) *GetCookiesParams

WithBrowserContextID browser context to use when called on the browser endpoint.

type GetCookiesReturns

type GetCookiesReturns struct {
	Cookies []*network.Cookie `json:"cookies,omitempty"` // Array of cookie objects.
}

GetCookiesReturns return values.

func (GetCookiesReturns) MarshalEasyJSON

func (v GetCookiesReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetCookiesReturns) MarshalJSON

func (v GetCookiesReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetCookiesReturns) UnmarshalEasyJSON

func (v *GetCookiesReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetCookiesReturns) UnmarshalJSON

func (v *GetCookiesReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetInterestGroupDetailsParams

type GetInterestGroupDetailsParams struct {
	OwnerOrigin string `json:"ownerOrigin"`
	Name        string `json:"name"`
}

GetInterestGroupDetailsParams gets details for a named interest group.

func GetInterestGroupDetails

func GetInterestGroupDetails(ownerOrigin string, name string) *GetInterestGroupDetailsParams

GetInterestGroupDetails gets details for a named interest group.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getInterestGroupDetails

parameters:

ownerOrigin
name

func (*GetInterestGroupDetailsParams) Do

Do executes Storage.getInterestGroupDetails against the provided context.

returns:

details - This largely corresponds to: https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup but has absolute expirationTime instead of relative lifetimeMs and also adds joiningOrigin.

func (GetInterestGroupDetailsParams) MarshalEasyJSON

func (v GetInterestGroupDetailsParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetInterestGroupDetailsParams) MarshalJSON

func (v GetInterestGroupDetailsParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetInterestGroupDetailsParams) UnmarshalEasyJSON

func (v *GetInterestGroupDetailsParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetInterestGroupDetailsParams) UnmarshalJSON

func (v *GetInterestGroupDetailsParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetInterestGroupDetailsReturns

type GetInterestGroupDetailsReturns struct {
	Details easyjson.RawMessage `json:"details,omitempty"`
}

GetInterestGroupDetailsReturns return values.

func (GetInterestGroupDetailsReturns) MarshalEasyJSON

func (v GetInterestGroupDetailsReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetInterestGroupDetailsReturns) MarshalJSON

func (v GetInterestGroupDetailsReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetInterestGroupDetailsReturns) UnmarshalEasyJSON

func (v *GetInterestGroupDetailsReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetInterestGroupDetailsReturns) UnmarshalJSON

func (v *GetInterestGroupDetailsReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetRelatedWebsiteSetsParams

type GetRelatedWebsiteSetsParams struct{}

GetRelatedWebsiteSetsParams returns the effective Related Website Sets in use by this profile for the browser session. The effective Related Website Sets will not change during a browser session.

func GetRelatedWebsiteSets

func GetRelatedWebsiteSets() *GetRelatedWebsiteSetsParams

GetRelatedWebsiteSets returns the effective Related Website Sets in use by this profile for the browser session. The effective Related Website Sets will not change during a browser session.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getRelatedWebsiteSets

func (*GetRelatedWebsiteSetsParams) Do

Do executes Storage.getRelatedWebsiteSets against the provided context.

returns:

sets

func (GetRelatedWebsiteSetsParams) MarshalEasyJSON

func (v GetRelatedWebsiteSetsParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetRelatedWebsiteSetsParams) MarshalJSON

func (v GetRelatedWebsiteSetsParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetRelatedWebsiteSetsParams) UnmarshalEasyJSON

func (v *GetRelatedWebsiteSetsParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetRelatedWebsiteSetsParams) UnmarshalJSON

func (v *GetRelatedWebsiteSetsParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetRelatedWebsiteSetsReturns

type GetRelatedWebsiteSetsReturns struct {
	Sets []*RelatedWebsiteSet `json:"sets,omitempty"`
}

GetRelatedWebsiteSetsReturns return values.

func (GetRelatedWebsiteSetsReturns) MarshalEasyJSON

func (v GetRelatedWebsiteSetsReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetRelatedWebsiteSetsReturns) MarshalJSON

func (v GetRelatedWebsiteSetsReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetRelatedWebsiteSetsReturns) UnmarshalEasyJSON

func (v *GetRelatedWebsiteSetsReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetRelatedWebsiteSetsReturns) UnmarshalJSON

func (v *GetRelatedWebsiteSetsReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetSharedStorageEntriesParams

type GetSharedStorageEntriesParams struct {
	OwnerOrigin string `json:"ownerOrigin"`
}

GetSharedStorageEntriesParams gets the entries in an given origin's shared storage.

func GetSharedStorageEntries

func GetSharedStorageEntries(ownerOrigin string) *GetSharedStorageEntriesParams

GetSharedStorageEntries gets the entries in an given origin's shared storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getSharedStorageEntries

parameters:

ownerOrigin

func (*GetSharedStorageEntriesParams) Do

Do executes Storage.getSharedStorageEntries against the provided context.

returns:

entries

func (GetSharedStorageEntriesParams) MarshalEasyJSON

func (v GetSharedStorageEntriesParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetSharedStorageEntriesParams) MarshalJSON

func (v GetSharedStorageEntriesParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetSharedStorageEntriesParams) UnmarshalEasyJSON

func (v *GetSharedStorageEntriesParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetSharedStorageEntriesParams) UnmarshalJSON

func (v *GetSharedStorageEntriesParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetSharedStorageEntriesReturns

type GetSharedStorageEntriesReturns struct {
	Entries []*SharedStorageEntry `json:"entries,omitempty"`
}

GetSharedStorageEntriesReturns return values.

func (GetSharedStorageEntriesReturns) MarshalEasyJSON

func (v GetSharedStorageEntriesReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetSharedStorageEntriesReturns) MarshalJSON

func (v GetSharedStorageEntriesReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetSharedStorageEntriesReturns) UnmarshalEasyJSON

func (v *GetSharedStorageEntriesReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetSharedStorageEntriesReturns) UnmarshalJSON

func (v *GetSharedStorageEntriesReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetSharedStorageMetadataParams

type GetSharedStorageMetadataParams struct {
	OwnerOrigin string `json:"ownerOrigin"`
}

GetSharedStorageMetadataParams gets metadata for an origin's shared storage.

func GetSharedStorageMetadata

func GetSharedStorageMetadata(ownerOrigin string) *GetSharedStorageMetadataParams

GetSharedStorageMetadata gets metadata for an origin's shared storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getSharedStorageMetadata

parameters:

ownerOrigin

func (*GetSharedStorageMetadataParams) Do

Do executes Storage.getSharedStorageMetadata against the provided context.

returns:

metadata

func (GetSharedStorageMetadataParams) MarshalEasyJSON

func (v GetSharedStorageMetadataParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetSharedStorageMetadataParams) MarshalJSON

func (v GetSharedStorageMetadataParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetSharedStorageMetadataParams) UnmarshalEasyJSON

func (v *GetSharedStorageMetadataParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetSharedStorageMetadataParams) UnmarshalJSON

func (v *GetSharedStorageMetadataParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetSharedStorageMetadataReturns

type GetSharedStorageMetadataReturns struct {
	Metadata *SharedStorageMetadata `json:"metadata,omitempty"`
}

GetSharedStorageMetadataReturns return values.

func (GetSharedStorageMetadataReturns) MarshalEasyJSON

func (v GetSharedStorageMetadataReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetSharedStorageMetadataReturns) MarshalJSON

func (v GetSharedStorageMetadataReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetSharedStorageMetadataReturns) UnmarshalEasyJSON

func (v *GetSharedStorageMetadataReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetSharedStorageMetadataReturns) UnmarshalJSON

func (v *GetSharedStorageMetadataReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetStorageKeyForFrameParams

type GetStorageKeyForFrameParams struct {
	FrameID cdp.FrameID `json:"frameId"`
}

GetStorageKeyForFrameParams returns a storage key given a frame id.

func GetStorageKeyForFrame

func GetStorageKeyForFrame(frameID cdp.FrameID) *GetStorageKeyForFrameParams

GetStorageKeyForFrame returns a storage key given a frame id.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getStorageKeyForFrame

parameters:

frameID

func (*GetStorageKeyForFrameParams) Do

Do executes Storage.getStorageKeyForFrame against the provided context.

returns:

storageKey

func (GetStorageKeyForFrameParams) MarshalEasyJSON

func (v GetStorageKeyForFrameParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetStorageKeyForFrameParams) MarshalJSON

func (v GetStorageKeyForFrameParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetStorageKeyForFrameParams) UnmarshalEasyJSON

func (v *GetStorageKeyForFrameParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetStorageKeyForFrameParams) UnmarshalJSON

func (v *GetStorageKeyForFrameParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetStorageKeyForFrameReturns

type GetStorageKeyForFrameReturns struct {
	StorageKey SerializedStorageKey `json:"storageKey,omitempty"`
}

GetStorageKeyForFrameReturns return values.

func (GetStorageKeyForFrameReturns) MarshalEasyJSON

func (v GetStorageKeyForFrameReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetStorageKeyForFrameReturns) MarshalJSON

func (v GetStorageKeyForFrameReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetStorageKeyForFrameReturns) UnmarshalEasyJSON

func (v *GetStorageKeyForFrameReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetStorageKeyForFrameReturns) UnmarshalJSON

func (v *GetStorageKeyForFrameReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetTrustTokensParams

type GetTrustTokensParams struct{}

GetTrustTokensParams returns the number of stored Trust Tokens per issuer for the current browsing context.

func GetTrustTokens

func GetTrustTokens() *GetTrustTokensParams

GetTrustTokens returns the number of stored Trust Tokens per issuer for the current browsing context.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getTrustTokens

func (*GetTrustTokensParams) Do

func (p *GetTrustTokensParams) Do(ctx context.Context) (tokens []*TrustTokens, err error)

Do executes Storage.getTrustTokens against the provided context.

returns:

tokens

func (GetTrustTokensParams) MarshalEasyJSON

func (v GetTrustTokensParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetTrustTokensParams) MarshalJSON

func (v GetTrustTokensParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetTrustTokensParams) UnmarshalEasyJSON

func (v *GetTrustTokensParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetTrustTokensParams) UnmarshalJSON

func (v *GetTrustTokensParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetTrustTokensReturns

type GetTrustTokensReturns struct {
	Tokens []*TrustTokens `json:"tokens,omitempty"`
}

GetTrustTokensReturns return values.

func (GetTrustTokensReturns) MarshalEasyJSON

func (v GetTrustTokensReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetTrustTokensReturns) MarshalJSON

func (v GetTrustTokensReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetTrustTokensReturns) UnmarshalEasyJSON

func (v *GetTrustTokensReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetTrustTokensReturns) UnmarshalJSON

func (v *GetTrustTokensReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetUsageAndQuotaParams

type GetUsageAndQuotaParams struct {
	Origin string `json:"origin"` // Security origin.
}

GetUsageAndQuotaParams returns usage and quota in bytes.

func GetUsageAndQuota

func GetUsageAndQuota(origin string) *GetUsageAndQuotaParams

GetUsageAndQuota returns usage and quota in bytes.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getUsageAndQuota

parameters:

origin - Security origin.

func (*GetUsageAndQuotaParams) Do

func (p *GetUsageAndQuotaParams) Do(ctx context.Context) (usage float64, quota float64, overrideActive bool, usageBreakdown []*UsageForType, err error)

Do executes Storage.getUsageAndQuota against the provided context.

returns:

usage - Storage usage (bytes).
quota - Storage quota (bytes).
overrideActive - Whether or not the origin has an active storage quota override
usageBreakdown - Storage usage per type (bytes).

func (GetUsageAndQuotaParams) MarshalEasyJSON

func (v GetUsageAndQuotaParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetUsageAndQuotaParams) MarshalJSON

func (v GetUsageAndQuotaParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetUsageAndQuotaParams) UnmarshalEasyJSON

func (v *GetUsageAndQuotaParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetUsageAndQuotaParams) UnmarshalJSON

func (v *GetUsageAndQuotaParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetUsageAndQuotaReturns

type GetUsageAndQuotaReturns struct {
	Usage          float64         `json:"usage,omitempty"`          // Storage usage (bytes).
	Quota          float64         `json:"quota,omitempty"`          // Storage quota (bytes).
	OverrideActive bool            `json:"overrideActive,omitempty"` // Whether or not the origin has an active storage quota override
	UsageBreakdown []*UsageForType `json:"usageBreakdown,omitempty"` // Storage usage per type (bytes).
}

GetUsageAndQuotaReturns return values.

func (GetUsageAndQuotaReturns) MarshalEasyJSON

func (v GetUsageAndQuotaReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetUsageAndQuotaReturns) MarshalJSON

func (v GetUsageAndQuotaReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetUsageAndQuotaReturns) UnmarshalEasyJSON

func (v *GetUsageAndQuotaReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetUsageAndQuotaReturns) UnmarshalJSON

func (v *GetUsageAndQuotaReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type InterestGroupAccessType

type InterestGroupAccessType string

InterestGroupAccessType enum of interest group access types.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-InterestGroupAccessType

const (
	InterestGroupAccessTypeJoin                  InterestGroupAccessType = "join"
	InterestGroupAccessTypeLeave                 InterestGroupAccessType = "leave"
	InterestGroupAccessTypeUpdate                InterestGroupAccessType = "update"
	InterestGroupAccessTypeLoaded                InterestGroupAccessType = "loaded"
	InterestGroupAccessTypeBid                   InterestGroupAccessType = "bid"
	InterestGroupAccessTypeWin                   InterestGroupAccessType = "win"
	InterestGroupAccessTypeAdditionalBid         InterestGroupAccessType = "additionalBid"
	InterestGroupAccessTypeAdditionalBidWin      InterestGroupAccessType = "additionalBidWin"
	InterestGroupAccessTypeTopLevelBid           InterestGroupAccessType = "topLevelBid"
	InterestGroupAccessTypeTopLevelAdditionalBid InterestGroupAccessType = "topLevelAdditionalBid"
	InterestGroupAccessTypeClear                 InterestGroupAccessType = "clear"
)

InterestGroupAccessType values.

func (InterestGroupAccessType) MarshalEasyJSON

func (t InterestGroupAccessType) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (InterestGroupAccessType) MarshalJSON

func (t InterestGroupAccessType) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (InterestGroupAccessType) String

func (t InterestGroupAccessType) String() string

String returns the InterestGroupAccessType as string value.

func (*InterestGroupAccessType) UnmarshalEasyJSON

func (t *InterestGroupAccessType) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*InterestGroupAccessType) UnmarshalJSON

func (t *InterestGroupAccessType) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type InterestGroupAuctionEventType

type InterestGroupAuctionEventType string

InterestGroupAuctionEventType enum of auction events.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-InterestGroupAuctionEventType

const (
	InterestGroupAuctionEventTypeStarted        InterestGroupAuctionEventType = "started"
	InterestGroupAuctionEventTypeConfigResolved InterestGroupAuctionEventType = "configResolved"
)

InterestGroupAuctionEventType values.

func (InterestGroupAuctionEventType) MarshalEasyJSON

func (t InterestGroupAuctionEventType) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (InterestGroupAuctionEventType) MarshalJSON

func (t InterestGroupAuctionEventType) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (InterestGroupAuctionEventType) String

String returns the InterestGroupAuctionEventType as string value.

func (*InterestGroupAuctionEventType) UnmarshalEasyJSON

func (t *InterestGroupAuctionEventType) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*InterestGroupAuctionEventType) UnmarshalJSON

func (t *InterestGroupAuctionEventType) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type InterestGroupAuctionFetchType

type InterestGroupAuctionFetchType string

InterestGroupAuctionFetchType enum of network fetches auctions can do.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-InterestGroupAuctionFetchType

const (
	InterestGroupAuctionFetchTypeBidderJs             InterestGroupAuctionFetchType = "bidderJs"
	InterestGroupAuctionFetchTypeBidderWasm           InterestGroupAuctionFetchType = "bidderWasm"
	InterestGroupAuctionFetchTypeSellerJs             InterestGroupAuctionFetchType = "sellerJs"
	InterestGroupAuctionFetchTypeBidderTrustedSignals InterestGroupAuctionFetchType = "bidderTrustedSignals"
	InterestGroupAuctionFetchTypeSellerTrustedSignals InterestGroupAuctionFetchType = "sellerTrustedSignals"
)

InterestGroupAuctionFetchType values.

func (InterestGroupAuctionFetchType) MarshalEasyJSON

func (t InterestGroupAuctionFetchType) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (InterestGroupAuctionFetchType) MarshalJSON

func (t InterestGroupAuctionFetchType) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (InterestGroupAuctionFetchType) String

String returns the InterestGroupAuctionFetchType as string value.

func (*InterestGroupAuctionFetchType) UnmarshalEasyJSON

func (t *InterestGroupAuctionFetchType) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*InterestGroupAuctionFetchType) UnmarshalJSON

func (t *InterestGroupAuctionFetchType) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type InterestGroupAuctionID

type InterestGroupAuctionID string

InterestGroupAuctionID protected audience interest group auction identifier.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-InterestGroupAuctionId

func (InterestGroupAuctionID) String

func (t InterestGroupAuctionID) String() string

String returns the InterestGroupAuctionID as string value.

type OverrideQuotaForOriginParams

type OverrideQuotaForOriginParams struct {
	Origin    string  `json:"origin"`              // Security origin.
	QuotaSize float64 `json:"quotaSize,omitempty"` // The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).
}

OverrideQuotaForOriginParams override quota for the specified origin.

func OverrideQuotaForOrigin

func OverrideQuotaForOrigin(origin string) *OverrideQuotaForOriginParams

OverrideQuotaForOrigin override quota for the specified origin.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-overrideQuotaForOrigin

parameters:

origin - Security origin.

func (*OverrideQuotaForOriginParams) Do

Do executes Storage.overrideQuotaForOrigin against the provided context.

func (OverrideQuotaForOriginParams) MarshalEasyJSON

func (v OverrideQuotaForOriginParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (OverrideQuotaForOriginParams) MarshalJSON

func (v OverrideQuotaForOriginParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*OverrideQuotaForOriginParams) UnmarshalEasyJSON

func (v *OverrideQuotaForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*OverrideQuotaForOriginParams) UnmarshalJSON

func (v *OverrideQuotaForOriginParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (OverrideQuotaForOriginParams) WithQuotaSize

WithQuotaSize the quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).

type RelatedWebsiteSet

type RelatedWebsiteSet struct {
	PrimarySites    []string `json:"primarySites"`    // The primary site of this set, along with the ccTLDs if there is any.
	AssociatedSites []string `json:"associatedSites"` // The associated sites of this set, along with the ccTLDs if there is any.
	ServiceSites    []string `json:"serviceSites"`    // The service sites of this set, along with the ccTLDs if there is any.
}

RelatedWebsiteSet a single Related Website Set object.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-RelatedWebsiteSet

func (RelatedWebsiteSet) MarshalEasyJSON

func (v RelatedWebsiteSet) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (RelatedWebsiteSet) MarshalJSON

func (v RelatedWebsiteSet) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*RelatedWebsiteSet) UnmarshalEasyJSON

func (v *RelatedWebsiteSet) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*RelatedWebsiteSet) UnmarshalJSON

func (v *RelatedWebsiteSet) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ResetSharedStorageBudgetParams

type ResetSharedStorageBudgetParams struct {
	OwnerOrigin string `json:"ownerOrigin"`
}

ResetSharedStorageBudgetParams resets the budget for ownerOrigin by clearing all budget withdrawals.

func ResetSharedStorageBudget

func ResetSharedStorageBudget(ownerOrigin string) *ResetSharedStorageBudgetParams

ResetSharedStorageBudget resets the budget for ownerOrigin by clearing all budget withdrawals.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-resetSharedStorageBudget

parameters:

ownerOrigin

func (*ResetSharedStorageBudgetParams) Do

Do executes Storage.resetSharedStorageBudget against the provided context.

func (ResetSharedStorageBudgetParams) MarshalEasyJSON

func (v ResetSharedStorageBudgetParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ResetSharedStorageBudgetParams) MarshalJSON

func (v ResetSharedStorageBudgetParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ResetSharedStorageBudgetParams) UnmarshalEasyJSON

func (v *ResetSharedStorageBudgetParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ResetSharedStorageBudgetParams) UnmarshalJSON

func (v *ResetSharedStorageBudgetParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type RunBounceTrackingMitigationsParams

type RunBounceTrackingMitigationsParams struct{}

RunBounceTrackingMitigationsParams deletes state for sites identified as potential bounce trackers, immediately.

func RunBounceTrackingMitigations

func RunBounceTrackingMitigations() *RunBounceTrackingMitigationsParams

RunBounceTrackingMitigations deletes state for sites identified as potential bounce trackers, immediately.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-runBounceTrackingMitigations

func (*RunBounceTrackingMitigationsParams) Do

func (p *RunBounceTrackingMitigationsParams) Do(ctx context.Context) (deletedSites []string, err error)

Do executes Storage.runBounceTrackingMitigations against the provided context.

returns:

deletedSites

func (RunBounceTrackingMitigationsParams) MarshalEasyJSON

func (v RunBounceTrackingMitigationsParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (RunBounceTrackingMitigationsParams) MarshalJSON

func (v RunBounceTrackingMitigationsParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*RunBounceTrackingMitigationsParams) UnmarshalEasyJSON

func (v *RunBounceTrackingMitigationsParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*RunBounceTrackingMitigationsParams) UnmarshalJSON

func (v *RunBounceTrackingMitigationsParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type RunBounceTrackingMitigationsReturns

type RunBounceTrackingMitigationsReturns struct {
	DeletedSites []string `json:"deletedSites,omitempty"`
}

RunBounceTrackingMitigationsReturns return values.

func (RunBounceTrackingMitigationsReturns) MarshalEasyJSON

func (v RunBounceTrackingMitigationsReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (RunBounceTrackingMitigationsReturns) MarshalJSON

func (v RunBounceTrackingMitigationsReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*RunBounceTrackingMitigationsReturns) UnmarshalEasyJSON

func (v *RunBounceTrackingMitigationsReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*RunBounceTrackingMitigationsReturns) UnmarshalJSON

func (v *RunBounceTrackingMitigationsReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SendPendingAttributionReportsParams

type SendPendingAttributionReportsParams struct{}

SendPendingAttributionReportsParams sends all pending Attribution Reports immediately, regardless of their scheduled report time.

func SendPendingAttributionReports

func SendPendingAttributionReports() *SendPendingAttributionReportsParams

SendPendingAttributionReports sends all pending Attribution Reports immediately, regardless of their scheduled report time.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-sendPendingAttributionReports

func (*SendPendingAttributionReportsParams) Do

Do executes Storage.sendPendingAttributionReports against the provided context.

returns:

numSent - The number of reports that were sent.

func (SendPendingAttributionReportsParams) MarshalEasyJSON

func (v SendPendingAttributionReportsParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SendPendingAttributionReportsParams) MarshalJSON

func (v SendPendingAttributionReportsParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SendPendingAttributionReportsParams) UnmarshalEasyJSON

func (v *SendPendingAttributionReportsParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SendPendingAttributionReportsParams) UnmarshalJSON

func (v *SendPendingAttributionReportsParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SendPendingAttributionReportsReturns

type SendPendingAttributionReportsReturns struct {
	NumSent int64 `json:"numSent,omitempty"` // The number of reports that were sent.
}

SendPendingAttributionReportsReturns return values.

func (SendPendingAttributionReportsReturns) MarshalEasyJSON

func (v SendPendingAttributionReportsReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SendPendingAttributionReportsReturns) MarshalJSON

func (v SendPendingAttributionReportsReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SendPendingAttributionReportsReturns) UnmarshalEasyJSON

func (v *SendPendingAttributionReportsReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SendPendingAttributionReportsReturns) UnmarshalJSON

func (v *SendPendingAttributionReportsReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SerializedStorageKey

type SerializedStorageKey string

SerializedStorageKey [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SerializedStorageKey

func (SerializedStorageKey) String

func (t SerializedStorageKey) String() string

String returns the SerializedStorageKey as string value.

type SetAttributionReportingLocalTestingModeParams

type SetAttributionReportingLocalTestingModeParams struct {
	Enabled bool `json:"enabled"` // If enabled, noise is suppressed and reports are sent immediately.
}

SetAttributionReportingLocalTestingModeParams https://wicg.github.io/attribution-reporting-api/.

func SetAttributionReportingLocalTestingMode

func SetAttributionReportingLocalTestingMode(enabled bool) *SetAttributionReportingLocalTestingModeParams

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 (*SetAttributionReportingLocalTestingModeParams) Do

Do executes Storage.setAttributionReportingLocalTestingMode against the provided context.

func (SetAttributionReportingLocalTestingModeParams) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetAttributionReportingLocalTestingModeParams) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*SetAttributionReportingLocalTestingModeParams) UnmarshalEasyJSON

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetAttributionReportingLocalTestingModeParams) UnmarshalJSON

func (v *SetAttributionReportingLocalTestingModeParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SetAttributionReportingTrackingParams

type SetAttributionReportingTrackingParams struct {
	Enable bool `json:"enable"`
}

SetAttributionReportingTrackingParams enables/disables issuing of Attribution Reporting events.

func SetAttributionReportingTracking

func SetAttributionReportingTracking(enable bool) *SetAttributionReportingTrackingParams

SetAttributionReportingTracking enables/disables issuing of Attribution Reporting events.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setAttributionReportingTracking

parameters:

enable

func (*SetAttributionReportingTrackingParams) Do

Do executes Storage.setAttributionReportingTracking against the provided context.

func (SetAttributionReportingTrackingParams) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetAttributionReportingTrackingParams) MarshalJSON

func (v SetAttributionReportingTrackingParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetAttributionReportingTrackingParams) UnmarshalEasyJSON

func (v *SetAttributionReportingTrackingParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetAttributionReportingTrackingParams) UnmarshalJSON

func (v *SetAttributionReportingTrackingParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SetCookiesParams

type SetCookiesParams struct {
	Cookies          []*network.CookieParam `json:"cookies"`                    // Cookies to be set.
	BrowserContextID cdp.BrowserContextID   `json:"browserContextId,omitempty"` // Browser context to use when called on the browser endpoint.
}

SetCookiesParams sets given cookies.

func SetCookies

func SetCookies(cookies []*network.CookieParam) *SetCookiesParams

SetCookies sets given cookies.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setCookies

parameters:

cookies - Cookies to be set.

func (*SetCookiesParams) Do

func (p *SetCookiesParams) Do(ctx context.Context) (err error)

Do executes Storage.setCookies against the provided context.

func (SetCookiesParams) MarshalEasyJSON

func (v SetCookiesParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetCookiesParams) MarshalJSON

func (v SetCookiesParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetCookiesParams) UnmarshalEasyJSON

func (v *SetCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetCookiesParams) UnmarshalJSON

func (v *SetCookiesParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (SetCookiesParams) WithBrowserContextID

func (p SetCookiesParams) WithBrowserContextID(browserContextID cdp.BrowserContextID) *SetCookiesParams

WithBrowserContextID browser context to use when called on the browser endpoint.

type SetInterestGroupAuctionTrackingParams

type SetInterestGroupAuctionTrackingParams struct {
	Enable bool `json:"enable"`
}

SetInterestGroupAuctionTrackingParams enables/Disables issuing of interestGroupAuctionEventOccurred and interestGroupAuctionNetworkRequestCreated.

func SetInterestGroupAuctionTracking

func SetInterestGroupAuctionTracking(enable bool) *SetInterestGroupAuctionTrackingParams

SetInterestGroupAuctionTracking enables/Disables issuing of interestGroupAuctionEventOccurred and interestGroupAuctionNetworkRequestCreated.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setInterestGroupAuctionTracking

parameters:

enable

func (*SetInterestGroupAuctionTrackingParams) Do

Do executes Storage.setInterestGroupAuctionTracking against the provided context.

func (SetInterestGroupAuctionTrackingParams) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetInterestGroupAuctionTrackingParams) MarshalJSON

func (v SetInterestGroupAuctionTrackingParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetInterestGroupAuctionTrackingParams) UnmarshalEasyJSON

func (v *SetInterestGroupAuctionTrackingParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetInterestGroupAuctionTrackingParams) UnmarshalJSON

func (v *SetInterestGroupAuctionTrackingParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SetInterestGroupTrackingParams

type SetInterestGroupTrackingParams struct {
	Enable bool `json:"enable"`
}

SetInterestGroupTrackingParams enables/Disables issuing of interestGroupAccessed events.

func SetInterestGroupTracking

func SetInterestGroupTracking(enable bool) *SetInterestGroupTrackingParams

SetInterestGroupTracking enables/Disables issuing of interestGroupAccessed events.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setInterestGroupTracking

parameters:

enable

func (*SetInterestGroupTrackingParams) Do

Do executes Storage.setInterestGroupTracking against the provided context.

func (SetInterestGroupTrackingParams) MarshalEasyJSON

func (v SetInterestGroupTrackingParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetInterestGroupTrackingParams) MarshalJSON

func (v SetInterestGroupTrackingParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetInterestGroupTrackingParams) UnmarshalEasyJSON

func (v *SetInterestGroupTrackingParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetInterestGroupTrackingParams) UnmarshalJSON

func (v *SetInterestGroupTrackingParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SetSharedStorageEntryParams

type SetSharedStorageEntryParams struct {
	OwnerOrigin     string `json:"ownerOrigin"`
	Key             string `json:"key"`
	Value           string `json:"value"`
	IgnoreIfPresent bool   `json:"ignoreIfPresent,omitempty"` // If ignoreIfPresent is included and true, then only sets the entry if key doesn't already exist.
}

SetSharedStorageEntryParams sets entry with key and value for a given origin's shared storage.

func SetSharedStorageEntry

func SetSharedStorageEntry(ownerOrigin string, key string, value string) *SetSharedStorageEntryParams

SetSharedStorageEntry sets entry with key and value for a given origin's shared storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setSharedStorageEntry

parameters:

ownerOrigin
key
value

func (*SetSharedStorageEntryParams) Do

Do executes Storage.setSharedStorageEntry against the provided context.

func (SetSharedStorageEntryParams) MarshalEasyJSON

func (v SetSharedStorageEntryParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetSharedStorageEntryParams) MarshalJSON

func (v SetSharedStorageEntryParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetSharedStorageEntryParams) UnmarshalEasyJSON

func (v *SetSharedStorageEntryParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetSharedStorageEntryParams) UnmarshalJSON

func (v *SetSharedStorageEntryParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (SetSharedStorageEntryParams) WithIgnoreIfPresent

func (p SetSharedStorageEntryParams) WithIgnoreIfPresent(ignoreIfPresent bool) *SetSharedStorageEntryParams

WithIgnoreIfPresent if ignoreIfPresent is included and true, then only sets the entry if key doesn't already exist.

type SetSharedStorageTrackingParams

type SetSharedStorageTrackingParams struct {
	Enable bool `json:"enable"`
}

SetSharedStorageTrackingParams enables/disables issuing of sharedStorageAccessed events.

func SetSharedStorageTracking

func SetSharedStorageTracking(enable bool) *SetSharedStorageTrackingParams

SetSharedStorageTracking enables/disables issuing of sharedStorageAccessed events.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setSharedStorageTracking

parameters:

enable

func (*SetSharedStorageTrackingParams) Do

Do executes Storage.setSharedStorageTracking against the provided context.

func (SetSharedStorageTrackingParams) MarshalEasyJSON

func (v SetSharedStorageTrackingParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetSharedStorageTrackingParams) MarshalJSON

func (v SetSharedStorageTrackingParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetSharedStorageTrackingParams) UnmarshalEasyJSON

func (v *SetSharedStorageTrackingParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetSharedStorageTrackingParams) UnmarshalJSON

func (v *SetSharedStorageTrackingParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SetStorageBucketTrackingParams

type SetStorageBucketTrackingParams struct {
	StorageKey string `json:"storageKey"`
	Enable     bool   `json:"enable"`
}

SetStorageBucketTrackingParams set tracking for a storage key's buckets.

func SetStorageBucketTracking

func SetStorageBucketTracking(storageKey string, enable bool) *SetStorageBucketTrackingParams

SetStorageBucketTracking set tracking for a storage key's buckets.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setStorageBucketTracking

parameters:

storageKey
enable

func (*SetStorageBucketTrackingParams) Do

Do executes Storage.setStorageBucketTracking against the provided context.

func (SetStorageBucketTrackingParams) MarshalEasyJSON

func (v SetStorageBucketTrackingParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetStorageBucketTrackingParams) MarshalJSON

func (v SetStorageBucketTrackingParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetStorageBucketTrackingParams) UnmarshalEasyJSON

func (v *SetStorageBucketTrackingParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetStorageBucketTrackingParams) UnmarshalJSON

func (v *SetStorageBucketTrackingParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SharedStorageAccessParams

type SharedStorageAccessParams struct {
	ScriptSourceURL  string                          `json:"scriptSourceUrl,omitempty"`  // Spec of the module script URL. Present only for SharedStorageAccessType.documentAddModule.
	OperationName    string                          `json:"operationName,omitempty"`    // Name of the registered operation to be run. Present only for SharedStorageAccessType.documentRun and SharedStorageAccessType.documentSelectURL.
	SerializedData   string                          `json:"serializedData,omitempty"`   // The operation's serialized data in bytes (converted to a string). Present only for SharedStorageAccessType.documentRun and SharedStorageAccessType.documentSelectURL.
	UrlsWithMetadata []*SharedStorageURLWithMetadata `json:"urlsWithMetadata,omitempty"` // Array of candidate URLs' specs, along with any associated metadata. Present only for SharedStorageAccessType.documentSelectURL.
	Key              string                          `json:"key,omitempty"`              // Key for a specific entry in an origin's shared storage. Present only for SharedStorageAccessType.documentSet, SharedStorageAccessType.documentAppend, SharedStorageAccessType.documentDelete, SharedStorageAccessType.workletSet, SharedStorageAccessType.workletAppend, SharedStorageAccessType.workletDelete, SharedStorageAccessType.workletGet, SharedStorageAccessType.headerSet, SharedStorageAccessType.headerAppend, and SharedStorageAccessType.headerDelete.
	Value            string                          `json:"value,omitempty"`            // Value for a specific entry in an origin's shared storage. Present only for SharedStorageAccessType.documentSet, SharedStorageAccessType.documentAppend, SharedStorageAccessType.workletSet, SharedStorageAccessType.workletAppend, SharedStorageAccessType.headerSet, and SharedStorageAccessType.headerAppend.
	IgnoreIfPresent  bool                            `json:"ignoreIfPresent,omitempty"`  // Whether or not to set an entry for a key if that key is already present. Present only for SharedStorageAccessType.documentSet, SharedStorageAccessType.workletSet, and SharedStorageAccessType.headerSet.
}

SharedStorageAccessParams bundles the parameters for shared storage access events whose presence/absence can vary according to SharedStorageAccessType.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageAccessParams

func (SharedStorageAccessParams) MarshalEasyJSON

func (v SharedStorageAccessParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SharedStorageAccessParams) MarshalJSON

func (v SharedStorageAccessParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SharedStorageAccessParams) UnmarshalEasyJSON

func (v *SharedStorageAccessParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SharedStorageAccessParams) UnmarshalJSON

func (v *SharedStorageAccessParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SharedStorageAccessType

type SharedStorageAccessType string

SharedStorageAccessType enum of shared storage access types.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageAccessType

const (
	SharedStorageAccessTypeDocumentAddModule      SharedStorageAccessType = "documentAddModule"
	SharedStorageAccessTypeDocumentSelectURL      SharedStorageAccessType = "documentSelectURL"
	SharedStorageAccessTypeDocumentRun            SharedStorageAccessType = "documentRun"
	SharedStorageAccessTypeDocumentSet            SharedStorageAccessType = "documentSet"
	SharedStorageAccessTypeDocumentAppend         SharedStorageAccessType = "documentAppend"
	SharedStorageAccessTypeDocumentDelete         SharedStorageAccessType = "documentDelete"
	SharedStorageAccessTypeDocumentClear          SharedStorageAccessType = "documentClear"
	SharedStorageAccessTypeDocumentGet            SharedStorageAccessType = "documentGet"
	SharedStorageAccessTypeWorkletSet             SharedStorageAccessType = "workletSet"
	SharedStorageAccessTypeWorkletAppend          SharedStorageAccessType = "workletAppend"
	SharedStorageAccessTypeWorkletDelete          SharedStorageAccessType = "workletDelete"
	SharedStorageAccessTypeWorkletClear           SharedStorageAccessType = "workletClear"
	SharedStorageAccessTypeWorkletGet             SharedStorageAccessType = "workletGet"
	SharedStorageAccessTypeWorkletKeys            SharedStorageAccessType = "workletKeys"
	SharedStorageAccessTypeWorkletEntries         SharedStorageAccessType = "workletEntries"
	SharedStorageAccessTypeWorkletLength          SharedStorageAccessType = "workletLength"
	SharedStorageAccessTypeWorkletRemainingBudget SharedStorageAccessType = "workletRemainingBudget"
	SharedStorageAccessTypeHeaderSet              SharedStorageAccessType = "headerSet"
	SharedStorageAccessTypeHeaderAppend           SharedStorageAccessType = "headerAppend"
	SharedStorageAccessTypeHeaderDelete           SharedStorageAccessType = "headerDelete"
	SharedStorageAccessTypeHeaderClear            SharedStorageAccessType = "headerClear"
)

SharedStorageAccessType values.

func (SharedStorageAccessType) MarshalEasyJSON

func (t SharedStorageAccessType) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (SharedStorageAccessType) MarshalJSON

func (t SharedStorageAccessType) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (SharedStorageAccessType) String

func (t SharedStorageAccessType) String() string

String returns the SharedStorageAccessType as string value.

func (*SharedStorageAccessType) UnmarshalEasyJSON

func (t *SharedStorageAccessType) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*SharedStorageAccessType) UnmarshalJSON

func (t *SharedStorageAccessType) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type SharedStorageEntry

type SharedStorageEntry struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

SharedStorageEntry struct for a single key-value pair in an origin's shared storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageEntry

func (SharedStorageEntry) MarshalEasyJSON

func (v SharedStorageEntry) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SharedStorageEntry) MarshalJSON

func (v SharedStorageEntry) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SharedStorageEntry) UnmarshalEasyJSON

func (v *SharedStorageEntry) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SharedStorageEntry) UnmarshalJSON

func (v *SharedStorageEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SharedStorageMetadata

type SharedStorageMetadata struct {
	CreationTime    *cdp.TimeSinceEpoch `json:"creationTime"`    // Time when the origin's shared storage was last created.
	Length          int64               `json:"length"`          // Number of key-value pairs stored in origin's shared storage.
	RemainingBudget float64             `json:"remainingBudget"` // Current amount of bits of entropy remaining in the navigation budget.
	BytesUsed       int64               `json:"bytesUsed"`       // Total number of bytes stored as key-value pairs in origin's shared storage.
}

SharedStorageMetadata details for an origin's shared storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageMetadata

func (SharedStorageMetadata) MarshalEasyJSON

func (v SharedStorageMetadata) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SharedStorageMetadata) MarshalJSON

func (v SharedStorageMetadata) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SharedStorageMetadata) UnmarshalEasyJSON

func (v *SharedStorageMetadata) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SharedStorageMetadata) UnmarshalJSON

func (v *SharedStorageMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SharedStorageReportingMetadata

type SharedStorageReportingMetadata struct {
	EventType    string `json:"eventType"`
	ReportingURL string `json:"reportingUrl"`
}

SharedStorageReportingMetadata pair of reporting metadata details for a candidate URL for selectURL().

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageReportingMetadata

func (SharedStorageReportingMetadata) MarshalEasyJSON

func (v SharedStorageReportingMetadata) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SharedStorageReportingMetadata) MarshalJSON

func (v SharedStorageReportingMetadata) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SharedStorageReportingMetadata) UnmarshalEasyJSON

func (v *SharedStorageReportingMetadata) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SharedStorageReportingMetadata) UnmarshalJSON

func (v *SharedStorageReportingMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SharedStorageURLWithMetadata

type SharedStorageURLWithMetadata struct {
	URL               string                            `json:"url"`               // Spec of candidate URL.
	ReportingMetadata []*SharedStorageReportingMetadata `json:"reportingMetadata"` // Any associated reporting metadata.
}

SharedStorageURLWithMetadata bundles a candidate URL with its reporting metadata.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageUrlWithMetadata

func (SharedStorageURLWithMetadata) MarshalEasyJSON

func (v SharedStorageURLWithMetadata) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SharedStorageURLWithMetadata) MarshalJSON

func (v SharedStorageURLWithMetadata) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SharedStorageURLWithMetadata) UnmarshalEasyJSON

func (v *SharedStorageURLWithMetadata) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SharedStorageURLWithMetadata) UnmarshalJSON

func (v *SharedStorageURLWithMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SignedInt64asBase10

type SignedInt64asBase10 string

SignedInt64asBase10 [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SignedInt64AsBase10

func (SignedInt64asBase10) String

func (t SignedInt64asBase10) String() string

String returns the SignedInt64asBase10 as string value.

type TrackCacheStorageForOriginParams

type TrackCacheStorageForOriginParams struct {
	Origin string `json:"origin"` // Security origin.
}

TrackCacheStorageForOriginParams registers origin to be notified when an update occurs to its cache storage list.

func TrackCacheStorageForOrigin

func TrackCacheStorageForOrigin(origin string) *TrackCacheStorageForOriginParams

TrackCacheStorageForOrigin registers origin to be notified when an update occurs to its cache storage list.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackCacheStorageForOrigin

parameters:

origin - Security origin.

func (*TrackCacheStorageForOriginParams) Do

Do executes Storage.trackCacheStorageForOrigin against the provided context.

func (TrackCacheStorageForOriginParams) MarshalEasyJSON

func (v TrackCacheStorageForOriginParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (TrackCacheStorageForOriginParams) MarshalJSON

func (v TrackCacheStorageForOriginParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*TrackCacheStorageForOriginParams) UnmarshalEasyJSON

func (v *TrackCacheStorageForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TrackCacheStorageForOriginParams) UnmarshalJSON

func (v *TrackCacheStorageForOriginParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type TrackCacheStorageForStorageKeyParams

type TrackCacheStorageForStorageKeyParams struct {
	StorageKey string `json:"storageKey"` // Storage key.
}

TrackCacheStorageForStorageKeyParams registers storage key to be notified when an update occurs to its cache storage list.

func TrackCacheStorageForStorageKey

func TrackCacheStorageForStorageKey(storageKey string) *TrackCacheStorageForStorageKeyParams

TrackCacheStorageForStorageKey registers storage key to be notified when an update occurs to its cache storage list.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackCacheStorageForStorageKey

parameters:

storageKey - Storage key.

func (*TrackCacheStorageForStorageKeyParams) Do

Do executes Storage.trackCacheStorageForStorageKey against the provided context.

func (TrackCacheStorageForStorageKeyParams) MarshalEasyJSON

func (v TrackCacheStorageForStorageKeyParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (TrackCacheStorageForStorageKeyParams) MarshalJSON

func (v TrackCacheStorageForStorageKeyParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*TrackCacheStorageForStorageKeyParams) UnmarshalEasyJSON

func (v *TrackCacheStorageForStorageKeyParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TrackCacheStorageForStorageKeyParams) UnmarshalJSON

func (v *TrackCacheStorageForStorageKeyParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type TrackIndexedDBForOriginParams

type TrackIndexedDBForOriginParams struct {
	Origin string `json:"origin"` // Security origin.
}

TrackIndexedDBForOriginParams registers origin to be notified when an update occurs to its IndexedDB.

func TrackIndexedDBForOrigin

func TrackIndexedDBForOrigin(origin string) *TrackIndexedDBForOriginParams

TrackIndexedDBForOrigin registers origin to be notified when an update occurs to its IndexedDB.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackIndexedDBForOrigin

parameters:

origin - Security origin.

func (*TrackIndexedDBForOriginParams) Do

Do executes Storage.trackIndexedDBForOrigin against the provided context.

func (TrackIndexedDBForOriginParams) MarshalEasyJSON

func (v TrackIndexedDBForOriginParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (TrackIndexedDBForOriginParams) MarshalJSON

func (v TrackIndexedDBForOriginParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*TrackIndexedDBForOriginParams) UnmarshalEasyJSON

func (v *TrackIndexedDBForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TrackIndexedDBForOriginParams) UnmarshalJSON

func (v *TrackIndexedDBForOriginParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type TrackIndexedDBForStorageKeyParams

type TrackIndexedDBForStorageKeyParams struct {
	StorageKey string `json:"storageKey"` // Storage key.
}

TrackIndexedDBForStorageKeyParams registers storage key to be notified when an update occurs to its IndexedDB.

func TrackIndexedDBForStorageKey

func TrackIndexedDBForStorageKey(storageKey string) *TrackIndexedDBForStorageKeyParams

TrackIndexedDBForStorageKey registers storage key to be notified when an update occurs to its IndexedDB.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackIndexedDBForStorageKey

parameters:

storageKey - Storage key.

func (*TrackIndexedDBForStorageKeyParams) Do

Do executes Storage.trackIndexedDBForStorageKey against the provided context.

func (TrackIndexedDBForStorageKeyParams) MarshalEasyJSON

func (v TrackIndexedDBForStorageKeyParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (TrackIndexedDBForStorageKeyParams) MarshalJSON

func (v TrackIndexedDBForStorageKeyParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*TrackIndexedDBForStorageKeyParams) UnmarshalEasyJSON

func (v *TrackIndexedDBForStorageKeyParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TrackIndexedDBForStorageKeyParams) UnmarshalJSON

func (v *TrackIndexedDBForStorageKeyParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type TrustTokens

type TrustTokens struct {
	IssuerOrigin string  `json:"issuerOrigin"`
	Count        float64 `json:"count"`
}

TrustTokens pair of issuer origin and number of available (signed, but not used) Trust Tokens from that issuer.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-TrustTokens

func (TrustTokens) MarshalEasyJSON

func (v TrustTokens) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (TrustTokens) MarshalJSON

func (v TrustTokens) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*TrustTokens) UnmarshalEasyJSON

func (v *TrustTokens) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TrustTokens) UnmarshalJSON

func (v *TrustTokens) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Type

type Type string

Type enum of possible storage types.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-StorageType

const (
	TypeAppcache       Type = "appcache"
	TypeCookies        Type = "cookies"
	TypeFileSystems    Type = "file_systems"
	TypeIndexeddb      Type = "indexeddb"
	TypeLocalStorage   Type = "local_storage"
	TypeShaderCache    Type = "shader_cache"
	TypeWebsql         Type = "websql"
	TypeServiceWorkers Type = "service_workers"
	TypeCacheStorage   Type = "cache_storage"
	TypeInterestGroups Type = "interest_groups"
	TypeSharedStorage  Type = "shared_storage"
	TypeStorageBuckets Type = "storage_buckets"
	TypeAll            Type = "all"
	TypeOther          Type = "other"
)

Type values.

func (Type) MarshalEasyJSON

func (t Type) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (Type) MarshalJSON

func (t Type) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (Type) String

func (t Type) String() string

String returns the Type as string value.

func (*Type) UnmarshalEasyJSON

func (t *Type) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*Type) UnmarshalJSON

func (t *Type) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type UnsignedInt128asBase16

type UnsignedInt128asBase16 string

UnsignedInt128asBase16 [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-UnsignedInt128AsBase16

func (UnsignedInt128asBase16) String

func (t UnsignedInt128asBase16) String() string

String returns the UnsignedInt128asBase16 as string value.

type UnsignedInt64asBase10

type UnsignedInt64asBase10 string

UnsignedInt64asBase10 [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-UnsignedInt64AsBase10

func (UnsignedInt64asBase10) String

func (t UnsignedInt64asBase10) String() string

String returns the UnsignedInt64asBase10 as string value.

type UntrackCacheStorageForOriginParams

type UntrackCacheStorageForOriginParams struct {
	Origin string `json:"origin"` // Security origin.
}

UntrackCacheStorageForOriginParams unregisters origin from receiving notifications for cache storage.

func UntrackCacheStorageForOrigin

func UntrackCacheStorageForOrigin(origin string) *UntrackCacheStorageForOriginParams

UntrackCacheStorageForOrigin unregisters origin from receiving notifications for cache storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackCacheStorageForOrigin

parameters:

origin - Security origin.

func (*UntrackCacheStorageForOriginParams) Do

Do executes Storage.untrackCacheStorageForOrigin against the provided context.

func (UntrackCacheStorageForOriginParams) MarshalEasyJSON

func (v UntrackCacheStorageForOriginParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UntrackCacheStorageForOriginParams) MarshalJSON

func (v UntrackCacheStorageForOriginParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UntrackCacheStorageForOriginParams) UnmarshalEasyJSON

func (v *UntrackCacheStorageForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UntrackCacheStorageForOriginParams) UnmarshalJSON

func (v *UntrackCacheStorageForOriginParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UntrackCacheStorageForStorageKeyParams

type UntrackCacheStorageForStorageKeyParams struct {
	StorageKey string `json:"storageKey"` // Storage key.
}

UntrackCacheStorageForStorageKeyParams unregisters storage key from receiving notifications for cache storage.

func UntrackCacheStorageForStorageKey

func UntrackCacheStorageForStorageKey(storageKey string) *UntrackCacheStorageForStorageKeyParams

UntrackCacheStorageForStorageKey unregisters storage key from receiving notifications for cache storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackCacheStorageForStorageKey

parameters:

storageKey - Storage key.

func (*UntrackCacheStorageForStorageKeyParams) Do

Do executes Storage.untrackCacheStorageForStorageKey against the provided context.

func (UntrackCacheStorageForStorageKeyParams) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (UntrackCacheStorageForStorageKeyParams) MarshalJSON

func (v UntrackCacheStorageForStorageKeyParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UntrackCacheStorageForStorageKeyParams) UnmarshalEasyJSON

func (v *UntrackCacheStorageForStorageKeyParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UntrackCacheStorageForStorageKeyParams) UnmarshalJSON

func (v *UntrackCacheStorageForStorageKeyParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UntrackIndexedDBForOriginParams

type UntrackIndexedDBForOriginParams struct {
	Origin string `json:"origin"` // Security origin.
}

UntrackIndexedDBForOriginParams unregisters origin from receiving notifications for IndexedDB.

func UntrackIndexedDBForOrigin

func UntrackIndexedDBForOrigin(origin string) *UntrackIndexedDBForOriginParams

UntrackIndexedDBForOrigin unregisters origin from receiving notifications for IndexedDB.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackIndexedDBForOrigin

parameters:

origin - Security origin.

func (*UntrackIndexedDBForOriginParams) Do

Do executes Storage.untrackIndexedDBForOrigin against the provided context.

func (UntrackIndexedDBForOriginParams) MarshalEasyJSON

func (v UntrackIndexedDBForOriginParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UntrackIndexedDBForOriginParams) MarshalJSON

func (v UntrackIndexedDBForOriginParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UntrackIndexedDBForOriginParams) UnmarshalEasyJSON

func (v *UntrackIndexedDBForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UntrackIndexedDBForOriginParams) UnmarshalJSON

func (v *UntrackIndexedDBForOriginParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UntrackIndexedDBForStorageKeyParams

type UntrackIndexedDBForStorageKeyParams struct {
	StorageKey string `json:"storageKey"` // Storage key.
}

UntrackIndexedDBForStorageKeyParams unregisters storage key from receiving notifications for IndexedDB.

func UntrackIndexedDBForStorageKey

func UntrackIndexedDBForStorageKey(storageKey string) *UntrackIndexedDBForStorageKeyParams

UntrackIndexedDBForStorageKey unregisters storage key from receiving notifications for IndexedDB.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackIndexedDBForStorageKey

parameters:

storageKey - Storage key.

func (*UntrackIndexedDBForStorageKeyParams) Do

Do executes Storage.untrackIndexedDBForStorageKey against the provided context.

func (UntrackIndexedDBForStorageKeyParams) MarshalEasyJSON

func (v UntrackIndexedDBForStorageKeyParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UntrackIndexedDBForStorageKeyParams) MarshalJSON

func (v UntrackIndexedDBForStorageKeyParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UntrackIndexedDBForStorageKeyParams) UnmarshalEasyJSON

func (v *UntrackIndexedDBForStorageKeyParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UntrackIndexedDBForStorageKeyParams) UnmarshalJSON

func (v *UntrackIndexedDBForStorageKeyParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UsageForType

type UsageForType struct {
	StorageType Type    `json:"storageType"` // Name of storage type.
	Usage       float64 `json:"usage"`       // Storage usage (bytes).
}

UsageForType usage for a storage type.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-UsageForType

func (UsageForType) MarshalEasyJSON

func (v UsageForType) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UsageForType) MarshalJSON

func (v UsageForType) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UsageForType) UnmarshalEasyJSON

func (v *UsageForType) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UsageForType) UnmarshalJSON

func (v *UsageForType) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL