#include "third_party/blink/public/mojom/device_posture/device_posture_provider.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 "third_party/blink/public/mojom/device_posture/device_posture_provider.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* DevicePostureTypeToStringHelper(DevicePostureType value) { … }
std::string DevicePostureTypeToString(DevicePostureType value) { … }
std::ostream& operator<<(std::ostream& os, DevicePostureType value) { … }
namespace internal {
bool DevicePostureProvider_AddListenerAndGetCurrentPosture_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePostureProvider_AddListenerAndGetCurrentPosture_Params_Data::DevicePostureProvider_AddListenerAndGetCurrentPosture_Params_Data()
: … { … }
bool DevicePostureProvider_AddListenerAndGetCurrentPosture_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePostureProvider_AddListenerAndGetCurrentPosture_ResponseParams_Data::DevicePostureProvider_AddListenerAndGetCurrentPosture_ResponseParams_Data()
: … { … }
bool DevicePostureProvider_OverrideDevicePostureForEmulation_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePostureProvider_OverrideDevicePostureForEmulation_Params_Data::DevicePostureProvider_OverrideDevicePostureForEmulation_Params_Data()
: … { … }
bool DevicePostureProvider_DisableDevicePostureOverrideForEmulation_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePostureProvider_DisableDevicePostureOverrideForEmulation_Params_Data::DevicePostureProvider_DisableDevicePostureOverrideForEmulation_Params_Data()
: … { … }
bool DevicePostureClient_OnPostureChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DevicePostureClient_OnPostureChanged_Params_Data::DevicePostureClient_OnPostureChanged_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::DevicePostureType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::DevicePostureType value) { … }
}