#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"
#include "services/device/public/mojom/geolocation_internals.mojom-shared.h"
#include "services/device/public/mojom/geolocation_internals.mojom-forward.h"
#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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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) { … }
}
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> { … };
}
#endif