#include "services/network/public/cpp/first_party_sets_mojom_traits.h"
#include "base/containers/flat_map.h"
#include "base/ranges/algorithm.h"
#include "base/types/optional_util.h"
#include "base/version.h"
#include "mojo/public/cpp/base/version_mojom_traits.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "net/base/schemeful_site.h"
#include "net/first_party_sets/first_party_set_entry.h"
#include "net/first_party_sets/first_party_set_entry_override.h"
#include "net/first_party_sets/first_party_set_metadata.h"
#include "net/first_party_sets/first_party_sets_cache_filter.h"
#include "net/first_party_sets/first_party_sets_context_config.h"
#include "net/first_party_sets/global_first_party_sets.h"
#include "services/network/public/cpp/schemeful_site_mojom_traits.h"
#include "services/network/public/mojom/first_party_sets.mojom-shared.h"
namespace mojo {
bool StructTraits<network::mojom::SiteIndexDataView,
net::FirstPartySetEntry::SiteIndex>::
Read(network::mojom::SiteIndexDataView index,
net::FirstPartySetEntry::SiteIndex* out) { … }
bool EnumTraits<network::mojom::SiteType, net::SiteType>::FromMojom(
network::mojom::SiteType site_type,
net::SiteType* out) { … }
network::mojom::SiteType
EnumTraits<network::mojom::SiteType, net::SiteType>::ToMojom(
net::SiteType site_type) { … }
bool StructTraits<network::mojom::FirstPartySetEntryDataView,
net::FirstPartySetEntry>::
Read(network::mojom::FirstPartySetEntryDataView entry,
net::FirstPartySetEntry* out) { … }
bool StructTraits<network::mojom::FirstPartySetMetadataDataView,
net::FirstPartySetMetadata>::
Read(network::mojom::FirstPartySetMetadataDataView metadata,
net::FirstPartySetMetadata* out_metadata) { … }
bool StructTraits<network::mojom::GlobalFirstPartySetsDataView,
net::GlobalFirstPartySets>::
Read(network::mojom::GlobalFirstPartySetsDataView sets,
net::GlobalFirstPartySets* out_sets) { … }
bool StructTraits<network::mojom::FirstPartySetEntryOverrideDataView,
net::FirstPartySetEntryOverride>::
Read(network::mojom::FirstPartySetEntryOverrideDataView override,
net::FirstPartySetEntryOverride* out) { … }
bool StructTraits<network::mojom::FirstPartySetsContextConfigDataView,
net::FirstPartySetsContextConfig>::
Read(network::mojom::FirstPartySetsContextConfigDataView config,
net::FirstPartySetsContextConfig* out_config) { … }
bool StructTraits<network::mojom::FirstPartySetsCacheFilterDataView,
net::FirstPartySetsCacheFilter>::
Read(network::mojom::FirstPartySetsCacheFilterDataView cache_filter,
net::FirstPartySetsCacheFilter* out_cache_filter) { … }
}