#include "mojo/public/interfaces/bindings/native_struct.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 "mojo/public/interfaces/bindings/native_struct.mojom-params-data.h"
namespace mojo {
namespace native {
NOINLINE static const char* SerializedHandleTypeToStringHelper(SerializedHandleType value) { … }
std::string SerializedHandleTypeToString(SerializedHandleType value) { … }
std::ostream& operator<<(std::ostream& os, SerializedHandleType value) { … }
namespace internal {
bool SerializedHandle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SerializedHandle_Data::SerializedHandle_Data()
: … { … }
bool NativeStruct_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NativeStruct_Data::NativeStruct_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::mojo::native::SerializedHandleType>::WriteIntoTrace(
perfetto::TracedValue context, ::mojo::native::SerializedHandleType value) { … }
}