#ifndef SERVICES_NETWORK_PUBLIC_CPP_NETWORK_ISOLATION_KEY_MOJOM_TRAITS_H_
#define SERVICES_NETWORK_PUBLIC_CPP_NETWORK_ISOLATION_KEY_MOJOM_TRAITS_H_
#include <optional>
#include "base/no_destructor.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "net/base/network_isolation_key.h"
#include "net/base/schemeful_site.h"
#include "services/network/public/cpp/schemeful_site_mojom_traits.h"
#include "services/network/public/mojom/network_isolation_key.mojom-shared.h"
namespace base {
class UnguessableToken;
}
namespace mojo {
template <>
struct COMPONENT_EXPORT(NETWORK_CPP_BASE)
StructTraits<network::mojom::EmptyNetworkIsolationKeyDataView,
net::NetworkIsolationKey> { … };
template <>
struct COMPONENT_EXPORT(NETWORK_CPP_BASE)
StructTraits<network::mojom::NonEmptyNetworkIsolationKeyDataView,
net::NetworkIsolationKey> { … };
template <>
struct COMPONENT_EXPORT(NETWORK_CPP_BASE)
UnionTraits<network::mojom::NetworkIsolationKeyDataView,
net::NetworkIsolationKey> { … };
}
#endif