chromium/out/Default/gen/services/network/public/mojom/digitally_signed.mojom-shared.h

// services/network/public/mojom/digitally_signed.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;



}  // network::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::network::mojom::DigitallySignedDataView> {};

}  // namespace internal
}  // namespace mojo


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 {};


}  // network::mojom

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 std

namespace mojo {


namespace internal {

Serializer< ::network::mojom::HashAlgorithm, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::SignatureAlgorithm, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::DigitallySignedDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace network::mojom {

inline void DigitallySignedDataView::GetSignatureDataView(
    mojo::ArrayDataView<uint8_t>* output) {}



}  // network::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::HashAlgorithm> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::SignatureAlgorithm> {};

} // namespace perfetto

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_DIGITALLY_SIGNED_MOJOM_SHARED_H_