chromium/out/Default/gen/services/device/public/mojom/geolocation_internals.mojom.h

// services/device/public/mojom/geolocation_internals.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_DEVICE_PUBLIC_MOJOM_GEOLOCATION_INTERNALS_MOJOM_H_
#define SERVICES_DEVICE_PUBLIC_MOJOM_GEOLOCATION_INTERNALS_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/device/public/mojom/geolocation_internals.mojom-features.h"  // IWYU pragma: export
#include "services/device/public/mojom/geolocation_internals.mojom-shared.h"  // IWYU pragma: export
#include "services/device/public/mojom/geolocation_internals.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/time.mojom.h"
#include "services/device/public/mojom/geoposition.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"






namespace device::mojom {

class GeolocationInternalsObserverProxy;

template <typename ImplRefTraits>
class GeolocationInternalsObserverStub;

class GeolocationInternalsObserverRequestValidator;


class GeolocationInternalsObserver
    : public GeolocationInternalsObserverInterfaceBase {};

class GeolocationInternalsProxy;

template <typename ImplRefTraits>
class GeolocationInternalsStub;

class GeolocationInternalsRequestValidator;
class GeolocationInternalsResponseValidator;


class GeolocationInternals
    : public GeolocationInternalsInterfaceBase {};



class  GeolocationInternalsObserverProxy
    : public GeolocationInternalsObserver {};



class  GeolocationInternalsProxy
    : public GeolocationInternals {};
class  GeolocationInternalsObserverStubDispatch {};

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

  GeolocationInternalsObserverStub() = default;
  ~GeolocationInternalsObserverStub() 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  GeolocationInternalsStubDispatch {};

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

  GeolocationInternalsStub() = default;
  ~GeolocationInternalsStub() 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  GeolocationInternalsObserverRequestValidator : public mojo::MessageReceiver {};
class  GeolocationInternalsRequestValidator : public mojo::MessageReceiver {};
class  GeolocationInternalsResponseValidator : public mojo::MessageReceiver {};










class  NetworkLocationResponse {};

// 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, NetworkLocationResponse::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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







class  AccessPointData {};

// 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, AccessPointData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class  NetworkLocationDiagnostics {};

// 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, NetworkLocationDiagnostics::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class  PositionCacheDiagnostics {};

// 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, PositionCacheDiagnostics::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class  WifiPollingPolicyDiagnostics {};

// 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, WifiPollingPolicyDiagnostics::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class  GeolocationDiagnostics {};

// 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, GeolocationDiagnostics::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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


template <typename StructPtrType>
AccessPointDataPtr AccessPointData::Clone() const {}

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

template <typename T, AccessPointData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
NetworkLocationDiagnosticsPtr NetworkLocationDiagnostics::Clone() const {}

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

template <typename T, NetworkLocationDiagnostics::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PositionCacheDiagnosticsPtr PositionCacheDiagnostics::Clone() const {}

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

template <typename T, PositionCacheDiagnostics::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WifiPollingPolicyDiagnosticsPtr WifiPollingPolicyDiagnostics::Clone() const {}

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

template <typename T, WifiPollingPolicyDiagnostics::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
GeolocationDiagnosticsPtr GeolocationDiagnostics::Clone() const {}

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

template <typename T, GeolocationDiagnostics::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
NetworkLocationResponsePtr NetworkLocationResponse::Clone() const {}

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

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


}  // device::mojom

namespace mojo {


template <>
struct  StructTraits<::device::mojom::AccessPointData::DataView,
                                         ::device::mojom::AccessPointDataPtr> {};


template <>
struct  StructTraits<::device::mojom::NetworkLocationDiagnostics::DataView,
                                         ::device::mojom::NetworkLocationDiagnosticsPtr> {};


template <>
struct  StructTraits<::device::mojom::PositionCacheDiagnostics::DataView,
                                         ::device::mojom::PositionCacheDiagnosticsPtr> {};


template <>
struct  StructTraits<::device::mojom::WifiPollingPolicyDiagnostics::DataView,
                                         ::device::mojom::WifiPollingPolicyDiagnosticsPtr> {};


template <>
struct  StructTraits<::device::mojom::GeolocationDiagnostics::DataView,
                                         ::device::mojom::GeolocationDiagnosticsPtr> {};


template <>
struct  StructTraits<::device::mojom::NetworkLocationResponse::DataView,
                                         ::device::mojom::NetworkLocationResponsePtr> {};

}  // namespace mojo

#endif  // SERVICES_DEVICE_PUBLIC_MOJOM_GEOLOCATION_INTERNALS_MOJOM_H_