chromium/out/Default/gen/services/network/public/mojom/reporting_service.mojom.h

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

// Copyright 2013 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_REPORTING_SERVICE_MOJOM_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_REPORTING_SERVICE_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

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

#include "services/network/public/mojom/reporting_service.mojom-features.h"  // IWYU pragma: export
#include "services/network/public/mojom/reporting_service.mojom-shared.h"  // IWYU pragma: export
#include "services/network/public/mojom/reporting_service.mojom-forward.h"  // IWYU pragma: export
#include "url/mojom/url.mojom.h"
#include "url/mojom/origin.mojom.h"
#include "mojo/public/mojom/base/time.mojom.h"
#include "mojo/public/mojom/base/values.mojom.h"
#include "mojo/public/mojom/base/unguessable_token.mojom.h"
#include "services/network/public/mojom/network_anonymization_key.mojom.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"


#include "services/network/public/cpp/reporting_api_endpoint_mojom_traits.h"
#include "services/network/public/cpp/reporting_api_report_mojom_traits.h"




namespace network::mojom {

class ReportingApiObserverProxy;

template <typename ImplRefTraits>
class ReportingApiObserverStub;

class ReportingApiObserverRequestValidator;


class ReportingApiObserver
    : public ReportingApiObserverInterfaceBase {};



class  ReportingApiObserverProxy
    : public ReportingApiObserver {};
class  ReportingApiObserverStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<ReportingApiObserver>>
class ReportingApiObserverStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  ReportingApiObserverStub() = default;
  ~ReportingApiObserverStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  ReportingApiObserverRequestValidator : public mojo::MessageReceiver {};









class  ReportingApiReport {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ReportingApiReport::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ReportingApiReport::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ReportingApiReport::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ReportingApiReport::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  ReportingApiEndpoint {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ReportingApiEndpoint::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ReportingApiEndpoint::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ReportingApiEndpoint::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ReportingApiEndpoint::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename StructPtrType>
ReportingApiReportPtr ReportingApiReport::Clone() const {}

template <typename T, ReportingApiReport::EnableIfSame<T>*>
bool ReportingApiReport::Equals(const T& other_struct) const {}

template <typename T, ReportingApiReport::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ReportingApiEndpointPtr ReportingApiEndpoint::Clone() const {}

template <typename T, ReportingApiEndpoint::EnableIfSame<T>*>
bool ReportingApiEndpoint::Equals(const T& other_struct) const {}

template <typename T, ReportingApiEndpoint::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // network::mojom

namespace mojo {


template <>
struct  StructTraits<::network::mojom::ReportingApiReport::DataView,
                                         ::network::mojom::ReportingApiReportPtr> {};


template <>
struct  StructTraits<::network::mojom::ReportingApiEndpoint::DataView,
                                         ::network::mojom::ReportingApiEndpointPtr> {};

}  // namespace mojo

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_REPORTING_SERVICE_MOJOM_H_