#ifndef SERVICES_NETWORK_PUBLIC_MOJOM_DIGITALLY_SIGNED_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_DIGITALLY_SIGNED_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/digitally_signed.mojom-shared-internal.h"
namespace network::mojom {
class DigitallySignedDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::network::mojom::DigitallySignedDataView> { … };
}
}
namespace network::mojom {
enum class HashAlgorithm : int32_t { … };
std::ostream& operator<<(std::ostream& os, HashAlgorithm value);
inline bool IsKnownEnumValue(HashAlgorithm value) { … }
enum class SignatureAlgorithm : int32_t { … };
std::ostream& operator<<(std::ostream& os, SignatureAlgorithm value);
inline bool IsKnownEnumValue(SignatureAlgorithm value) { … }
class DigitallySignedDataView { … };
}
namespace std {
template <>
struct hash<::network::mojom::HashAlgorithm>
: public mojo::internal::EnumHashImpl<::network::mojom::HashAlgorithm> { … };
template <>
struct hash<::network::mojom::SignatureAlgorithm>
: public mojo::internal::EnumHashImpl<::network::mojom::SignatureAlgorithm> { … };
}
namespace mojo {
namespace internal {
Serializer< ::network::mojom::HashAlgorithm, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::SignatureAlgorithm, MaybeConstUserType>;
}
namespace internal {
Serializer< ::network::mojom::DigitallySignedDataView, MaybeConstUserType>;
}
}
namespace network::mojom {
inline void DigitallySignedDataView::GetSignatureDataView(
mojo::ArrayDataView<uint8_t>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::network::mojom::HashAlgorithm> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::network::mojom::SignatureAlgorithm> { … };
}
#endif