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

// content/browser/private_aggregation/private_aggregation_internals.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_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_MOJOM_SHARED_H_
#define CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_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 "content/browser/private_aggregation/private_aggregation_internals.mojom-shared-internal.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/mojom/base/int128.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"


#include "base/component_export.h"




namespace private_aggregation_internals::mojom {
class AggregatableReportRequestIDDataView;

class AggregatableHistogramContributionDataView;

class WebUIAggregatableReportDataView;



}  // private_aggregation_internals::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::private_aggregation_internals::mojom::AggregatableReportRequestIDDataView> {};

template <>
struct MojomTypeTraits<::private_aggregation_internals::mojom::AggregatableHistogramContributionDataView> {};

template <>
struct MojomTypeTraits<::private_aggregation_internals::mojom::WebUIAggregatableReportDataView> {};

}  // namespace internal
}  // namespace mojo


namespace private_aggregation_internalsmojom  // private_aggregation_internals::mojom

namespace std {

template <>
struct hash<::private_aggregation_internals::mojom::ReportStatus>
    : public mojo::internal::EnumHashImpl<::private_aggregation_internals::mojom::ReportStatus> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::private_aggregation_internals::mojom::ReportStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::private_aggregation_internals::mojom::AggregatableReportRequestIDDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::private_aggregation_internals::mojom::AggregatableHistogramContributionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::private_aggregation_internals::mojom::WebUIAggregatableReportDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace private_aggregation_internals::mojom {



inline void AggregatableHistogramContributionDataView::GetBucketDataView(
    ::mojo_base::mojom::Uint128DataView* output) {}


inline void WebUIAggregatableReportDataView::GetIdDataView(
    AggregatableReportRequestIDDataView* output) {}
inline void WebUIAggregatableReportDataView::GetApiIdentifierDataView(
    mojo::StringDataView* output) {}
inline void WebUIAggregatableReportDataView::GetApiVersionDataView(
    mojo::StringDataView* output) {}
inline void WebUIAggregatableReportDataView::GetReportUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void WebUIAggregatableReportDataView::GetContributionsDataView(
    mojo::ArrayDataView<AggregatableHistogramContributionDataView>* output) {}
inline void WebUIAggregatableReportDataView::GetReportBodyDataView(
    mojo::StringDataView* output) {}



}  // private_aggregation_internals::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_CONTENT_EXPORT) TraceFormatTraits<::private_aggregation_internals::mojom::ReportStatus> {};

} // namespace perfetto

#endif  // CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_INTERNALS_MOJOM_SHARED_H_