#include "services/viz/public/mojom/compositing/transferable_resource.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/viz/public/mojom/compositing/transferable_resource.mojom-params-data.h"
namespace viz {
namespace mojom {
NOINLINE static const char* SynchronizationTypeToStringHelper(SynchronizationType value) { … }
std::string SynchronizationTypeToString(SynchronizationType value) { … }
std::ostream& operator<<(std::ostream& os, SynchronizationType value) { … }
namespace internal {
bool MemoryBufferId_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool TransferableResource_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TransferableResource_Data::TransferableResource_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::viz::mojom::SynchronizationType>::WriteIntoTrace(
perfetto::TracedValue context, ::viz::mojom::SynchronizationType value) { … }
}