chromium/out/Default/gen/services/cert_verifier/public/mojom/cert_verifier_service_factory.mojom-shared.h

// services/cert_verifier/public/mojom/cert_verifier_service_factory.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_CERT_VERIFIER_PUBLIC_MOJOM_CERT_VERIFIER_SERVICE_FACTORY_MOJOM_SHARED_H_
#define SERVICES_CERT_VERIFIER_PUBLIC_MOJOM_CERT_VERIFIER_SERVICE_FACTORY_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/cert_verifier/public/mojom/cert_verifier_service_factory.mojom-shared-internal.h"
#include "mojo/public/mojom/base/big_buffer.mojom-shared.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
#include "mojo/public/mojom/base/proto_wrapper.mojom-shared.h"
#include "mojo/public/mojom/base/read_only_buffer.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "services/network/public/mojom/cert_verifier_service.mojom-shared.h"
#include "services/network/public/mojom/cert_verifier_service_updater.mojom-shared.h"
#include "services/network/public/mojom/network_param.mojom-shared.h"
#include "services/network/public/mojom/ct_log_info.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace cert_verifier::mojom {
class CertVerifierCreationParamsDataView;

class ChromeRootCertInfoDataView;

class ChromeRootStoreInfoDataView;

class PlatformCertInfoDataView;

class PlatformRootStoreInfoDataView;



}  // cert_verifier::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::cert_verifier::mojom::CertVerifierCreationParamsDataView> {};

template <>
struct MojomTypeTraits<::cert_verifier::mojom::ChromeRootCertInfoDataView> {};

template <>
struct MojomTypeTraits<::cert_verifier::mojom::ChromeRootStoreInfoDataView> {};

template <>
struct MojomTypeTraits<::cert_verifier::mojom::PlatformCertInfoDataView> {};

template <>
struct MojomTypeTraits<::cert_verifier::mojom::PlatformRootStoreInfoDataView> {};

}  // namespace internal
}  // namespace mojo


namespace cert_verifier::mojom {


enum class CertificateTrust : int32_t {};

 std::ostream& operator<<(std::ostream& os, CertificateTrust value);
inline bool IsKnownEnumValue(CertificateTrust value) {}
// Interface base classes. They are used for type safety check.
class CertVerifierServiceFactoryInterfaceBase {};

CertVerifierServiceFactoryPtrDataView;
CertVerifierServiceFactoryRequestDataView;
CertVerifierServiceFactoryAssociatedPtrInfoDataView;
CertVerifierServiceFactoryAssociatedRequestDataView;


class CertVerifierCreationParamsDataView {};


class ChromeRootCertInfoDataView {};


class ChromeRootStoreInfoDataView {};


class PlatformCertInfoDataView {};


class PlatformRootStoreInfoDataView {};


}  // cert_verifier::mojom

namespace std {

template <>
struct hash<::cert_verifier::mojom::CertificateTrust>
    : public mojo::internal::EnumHashImpl<::cert_verifier::mojom::CertificateTrust> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::cert_verifier::mojom::CertificateTrust, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::cert_verifier::mojom::CertVerifierCreationParamsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::cert_verifier::mojom::ChromeRootCertInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::cert_verifier::mojom::ChromeRootStoreInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::cert_verifier::mojom::PlatformCertInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::cert_verifier::mojom::PlatformRootStoreInfoDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace cert_verifier::mojom {

inline void CertVerifierCreationParamsDataView::GetInitialAdditionalCertificatesDataView(
    ::cert_verifier::mojom::AdditionalCertificatesDataView* output) {}


inline void ChromeRootCertInfoDataView::GetSha256hashHexDataView(
    mojo::StringDataView* output) {}
inline void ChromeRootCertInfoDataView::GetCertDataView(
    mojo::ArrayDataView<uint8_t>* output) {}


inline void ChromeRootStoreInfoDataView::GetRootCertInfoDataView(
    mojo::ArrayDataView<ChromeRootCertInfoDataView>* output) {}


inline void PlatformCertInfoDataView::GetCertDataView(
    mojo::ArrayDataView<uint8_t>* output) {}


inline void PlatformRootStoreInfoDataView::GetUserAddedCertsDataView(
    mojo::ArrayDataView<PlatformCertInfoDataView>* output) {}



}  // cert_verifier::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::cert_verifier::mojom::CertificateTrust> {};

} // namespace perfetto

#endif  // SERVICES_CERT_VERIFIER_PUBLIC_MOJOM_CERT_VERIFIER_SERVICE_FACTORY_MOJOM_SHARED_H_