chromium/out/Default/gen/content/browser/attribution_reporting/attribution_reporting.mojom-shared.h

// content/browser/attribution_reporting/attribution_reporting.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 CONTENT_BROWSER_ATTRIBUTION_REPORTING_ATTRIBUTION_REPORTING_MOJOM_SHARED_H_
#define CONTENT_BROWSER_ATTRIBUTION_REPORTING_ATTRIBUTION_REPORTING_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "content/browser/attribution_reporting/attribution_reporting.mojom-shared-internal.h"







namespace attribution_reporting::mojom {


}  // attribution_reporting::mojom

namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace attribution_reporting::mojom {


enum class ReportType : int32_t {};

 std::ostream& operator<<(std::ostream& os, ReportType value);
inline bool IsKnownEnumValue(ReportType value) {}


enum class RegistrationType : int32_t {};

 std::ostream& operator<<(std::ostream& os, RegistrationType value);
inline bool IsKnownEnumValue(RegistrationType value) {}


enum class OsRegistrationResult : int32_t {};

 std::ostream& operator<<(std::ostream& os, OsRegistrationResult value);
inline bool IsKnownEnumValue(OsRegistrationResult value) {}


}  // attribution_reporting::mojom

namespace std {

template <>
struct hash<::attribution_reporting::mojom::ReportType>
    : public mojo::internal::EnumHashImpl<::attribution_reporting::mojom::ReportType> {};

template <>
struct hash<::attribution_reporting::mojom::RegistrationType>
    : public mojo::internal::EnumHashImpl<::attribution_reporting::mojom::RegistrationType> {};

template <>
struct hash<::attribution_reporting::mojom::OsRegistrationResult>
    : public mojo::internal::EnumHashImpl<::attribution_reporting::mojom::OsRegistrationResult> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::attribution_reporting::mojom::ReportType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::attribution_reporting::mojom::RegistrationType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::attribution_reporting::mojom::OsRegistrationResult, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace attribution_reporting::mojom {


}  // attribution_reporting::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::attribution_reporting::mojom::ReportType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::attribution_reporting::mojom::RegistrationType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::attribution_reporting::mojom::OsRegistrationResult> {};

} // namespace perfetto

#endif  // CONTENT_BROWSER_ATTRIBUTION_REPORTING_ATTRIBUTION_REPORTING_MOJOM_SHARED_H_