chromium/out/Default/gen/ui/webui/resources/cr_components/certificate_manager/certificate_manager_v2.mojom-shared.h

// ui/webui/resources/cr_components/certificate_manager/certificate_manager_v2.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 UI_WEBUI_RESOURCES_CR_COMPONENTS_CERTIFICATE_MANAGER_CERTIFICATE_MANAGER_V2_MOJOM_SHARED_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_CERTIFICATE_MANAGER_CERTIFICATE_MANAGER_V2_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 "ui/webui/resources/cr_components/certificate_manager/certificate_manager_v2.mojom-shared-internal.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace certificate_manager_v2::mojom {
class SummaryCertInfoDataView;

class CertManagementMetadataDataView;

class ImportResultDataView;


}  // certificate_manager_v2::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::certificate_manager_v2::mojom::SummaryCertInfoDataView> {};

template <>
struct MojomTypeTraits<::certificate_manager_v2::mojom::CertManagementMetadataDataView> {};

template <>
struct MojomTypeTraits<::certificate_manager_v2::mojom::ImportResultDataView> {};

}  // namespace internal
}  // namespace mojo


namespace certificate_manager_v2::mojom {


enum class CertificateSource : int32_t {};

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

CertificateManagerPageHandlerFactoryPtrDataView;
CertificateManagerPageHandlerFactoryRequestDataView;
CertificateManagerPageHandlerFactoryAssociatedPtrInfoDataView;
CertificateManagerPageHandlerFactoryAssociatedRequestDataView;
class CertificateManagerPageHandlerInterfaceBase {};

CertificateManagerPageHandlerPtrDataView;
CertificateManagerPageHandlerRequestDataView;
CertificateManagerPageHandlerAssociatedPtrInfoDataView;
CertificateManagerPageHandlerAssociatedRequestDataView;
class CertificateManagerPageInterfaceBase {};

CertificateManagerPagePtrDataView;
CertificateManagerPageRequestDataView;
CertificateManagerPageAssociatedPtrInfoDataView;
CertificateManagerPageAssociatedRequestDataView;


class SummaryCertInfoDataView {};


class CertManagementMetadataDataView {};


class ImportResultDataView {};



}  // certificate_manager_v2::mojom

namespace std {

template <>
struct hash<::certificate_manager_v2::mojom::CertificateSource>
    : public mojo::internal::EnumHashImpl<::certificate_manager_v2::mojom::CertificateSource> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::certificate_manager_v2::mojom::CertificateSource, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::certificate_manager_v2::mojom::SummaryCertInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::certificate_manager_v2::mojom::CertManagementMetadataDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::certificate_manager_v2::mojom::ImportResultDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace certificate_manager_v2::mojom {

inline void SummaryCertInfoDataView::GetSha256hashHexDataView(
    mojo::StringDataView* output) {}
inline void SummaryCertInfoDataView::GetDisplayNameDataView(
    mojo::StringDataView* output) {}




inline void ImportResultDataView::GetErrorDataView(
    mojo::StringDataView* output) const {}


}  // certificate_manager_v2::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::certificate_manager_v2::mojom::CertificateSource> {};

} // namespace perfetto

#endif  // UI_WEBUI_RESOURCES_CR_COMPONENTS_CERTIFICATE_MANAGER_CERTIFICATE_MANAGER_V2_MOJOM_SHARED_H_