#ifndef SERVICES_NETWORK_PUBLIC_MOJOM_COOKIE_PARTITION_KEY_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_COOKIE_PARTITION_KEY_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "services/network/public/mojom/cookie_partition_key.mojom-shared-internal.h"
#include "mojo/public/mojom/base/unguessable_token.mojom-shared.h"
#include "services/network/public/mojom/schemeful_site.mojom-shared.h"
namespace network::mojom {
class CookiePartitionKeyDataView;
class CookiePartitionKeyCollectionDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::network::mojom::CookiePartitionKeyDataView> { … };
template <>
struct MojomTypeTraits<::network::mojom::CookiePartitionKeyCollectionDataView> { … };
}
}
namespace network::mojom {
enum class AncestorChainBit : int32_t { … };
std::ostream& operator<<(std::ostream& os, AncestorChainBit value);
inline bool IsKnownEnumValue(AncestorChainBit value) { … }
class CookiePartitionKeyDataView { … };
class CookiePartitionKeyCollectionDataView { … };
}
namespace std {
template <>
struct hash<::network::mojom::AncestorChainBit>
: public mojo::internal::EnumHashImpl<::network::mojom::AncestorChainBit> { … };
}
namespace mojo {
namespace internal {
Serializer< ::network::mojom::AncestorChainBit, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::CookiePartitionKeyDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::CookiePartitionKeyCollectionDataView, MaybeConstUserType>;
}
}
namespace network::mojom {
inline void CookiePartitionKeyDataView::GetSiteDataView(
::network::mojom::SchemefulSiteDataView* output) { … }
inline void CookiePartitionKeyDataView::GetNonceDataView(
::mojo_base::mojom::UnguessableTokenDataView* output) { … }
inline void CookiePartitionKeyCollectionDataView::GetKeysDataView(
mojo::ArrayDataView<CookiePartitionKeyDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::network::mojom::AncestorChainBit> { … };
}
#endif