#include "media/mojo/mojom/output_protection.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 "media/mojo/mojom/output_protection.mojom-params-data.h"
namespace media {
namespace mojom {
NOINLINE static const char* OutputProtection_ProtectionTypeToStringHelper(OutputProtection_ProtectionType value) { … }
std::string OutputProtection_ProtectionTypeToString(OutputProtection_ProtectionType value) { … }
std::ostream& operator<<(std::ostream& os, OutputProtection_ProtectionType value) { … }
NOINLINE static const char* OutputProtection_LinkTypeToStringHelper(OutputProtection_LinkType value) { … }
std::string OutputProtection_LinkTypeToString(OutputProtection_LinkType value) { … }
std::ostream& operator<<(std::ostream& os, OutputProtection_LinkType value) { … }
namespace internal {
bool OutputProtection_QueryStatus_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OutputProtection_QueryStatus_Params_Data::OutputProtection_QueryStatus_Params_Data()
: … { … }
bool OutputProtection_QueryStatus_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OutputProtection_QueryStatus_ResponseParams_Data::OutputProtection_QueryStatus_ResponseParams_Data()
: … { … }
bool OutputProtection_EnableProtection_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OutputProtection_EnableProtection_Params_Data::OutputProtection_EnableProtection_Params_Data()
: … { … }
bool OutputProtection_EnableProtection_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OutputProtection_EnableProtection_ResponseParams_Data::OutputProtection_EnableProtection_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::OutputProtection_ProtectionType>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::OutputProtection_ProtectionType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::OutputProtection_LinkType>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::OutputProtection_LinkType value) { … }
}