#ifndef SERVICES_DEVICE_PUBLIC_MOJOM_GEOPOSITION_MOJOM_SHARED_H_
#define SERVICES_DEVICE_PUBLIC_MOJOM_GEOPOSITION_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 "services/device/public/mojom/geoposition.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
namespace device::mojom {
class GeopositionDataView;
class GeopositionErrorDataView;
class GeopositionResultDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::device::mojom::GeopositionDataView> { … };
template <>
struct MojomTypeTraits<::device::mojom::GeopositionErrorDataView> { … };
template <>
struct MojomTypeTraits<::device::mojom::GeopositionResultDataView> { … };
}
}
namespace device::mojom {
enum class GeopositionErrorCode : int32_t { … };
std::ostream& operator<<(std::ostream& os, GeopositionErrorCode value);
inline bool IsKnownEnumValue(GeopositionErrorCode value) { … }
class GeopositionDataView { … };
class GeopositionErrorDataView { … };
class GeopositionResultDataView { … };
}
namespace std {
template <>
struct hash<::device::mojom::GeopositionErrorCode>
: public mojo::internal::EnumHashImpl<::device::mojom::GeopositionErrorCode> { … };
}
namespace mojo {
namespace internal {
Serializer< ::device::mojom::GeopositionErrorCode, MaybeConstUserType>;
}
namespace internal {
Serializer< ::device::mojom::GeopositionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::device::mojom::GeopositionErrorDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::device::mojom::GeopositionResultDataView, MaybeConstUserType>;
}
}
namespace device::mojom {
inline void GeopositionDataView::GetTimestampDataView(
::mojo_base::mojom::TimeDataView* output) { … }
inline void GeopositionErrorDataView::GetErrorMessageDataView(
mojo::StringDataView* output) { … }
inline void GeopositionErrorDataView::GetErrorTechnicalDataView(
mojo::StringDataView* output) { … }
inline void GeopositionResultDataView::GetPositionDataView(
GeopositionDataView* output) const { … }
inline void GeopositionResultDataView::GetErrorDataView(
GeopositionErrorDataView* output) const { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::device::mojom::GeopositionErrorCode> { … };
}
#endif