#include "services/device/public/mojom/geolocation_internals.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "services/device/public/mojom/geolocation_internals.mojom-params-data.h"
namespace device {
namespace mojom {
NOINLINE static const char* LocationProviderManagerModeToStringHelper(LocationProviderManagerMode value) { … }
std::string LocationProviderManagerModeToString(LocationProviderManagerMode value) { … }
std::ostream& operator<<(std::ostream& os, LocationProviderManagerMode value) { … }
NOINLINE static const char* GeolocationDiagnostics_ProviderStateToStringHelper(GeolocationDiagnostics_ProviderState value) { … }
std::string GeolocationDiagnostics_ProviderStateToString(GeolocationDiagnostics_ProviderState value) { … }
std::ostream& operator<<(std::ostream& os, GeolocationDiagnostics_ProviderState value) { … }
namespace internal {
bool AccessPointData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AccessPointData_Data::AccessPointData_Data()
: … { … }
bool NetworkLocationDiagnostics_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NetworkLocationDiagnostics_Data::NetworkLocationDiagnostics_Data()
: … { … }
bool PositionCacheDiagnostics_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PositionCacheDiagnostics_Data::PositionCacheDiagnostics_Data()
: … { … }
bool WifiPollingPolicyDiagnostics_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WifiPollingPolicyDiagnostics_Data::WifiPollingPolicyDiagnostics_Data()
: … { … }
bool GeolocationDiagnostics_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GeolocationDiagnostics_Data::GeolocationDiagnostics_Data()
: … { … }
bool NetworkLocationResponse_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NetworkLocationResponse_Data::NetworkLocationResponse_Data()
: … { … }
bool GeolocationInternalsObserver_OnDiagnosticsChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GeolocationInternalsObserver_OnDiagnosticsChanged_Params_Data::GeolocationInternalsObserver_OnDiagnosticsChanged_Params_Data()
: … { … }
bool GeolocationInternalsObserver_OnNetworkLocationRequested_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GeolocationInternalsObserver_OnNetworkLocationRequested_Params_Data::GeolocationInternalsObserver_OnNetworkLocationRequested_Params_Data()
: … { … }
bool GeolocationInternalsObserver_OnNetworkLocationReceived_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GeolocationInternalsObserver_OnNetworkLocationReceived_Params_Data::GeolocationInternalsObserver_OnNetworkLocationReceived_Params_Data()
: … { … }
bool GeolocationInternals_AddInternalsObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GeolocationInternals_AddInternalsObserver_Params_Data::GeolocationInternals_AddInternalsObserver_Params_Data()
: … { … }
bool GeolocationInternals_AddInternalsObserver_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GeolocationInternals_AddInternalsObserver_ResponseParams_Data::GeolocationInternals_AddInternalsObserver_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::LocationProviderManagerMode>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::LocationProviderManagerMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::GeolocationDiagnostics_ProviderState>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::GeolocationDiagnostics_ProviderState value) { … }
}