#include "media/mojo/mojom/cdm_storage.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/cdm_storage.mojom-params-data.h"
namespace media {
namespace mojom {
NOINLINE static const char* CdmStorage_StatusToStringHelper(CdmStorage_Status value) { … }
std::string CdmStorage_StatusToString(CdmStorage_Status value) { … }
std::ostream& operator<<(std::ostream& os, CdmStorage_Status value) { … }
NOINLINE static const char* CdmFile_StatusToStringHelper(CdmFile_Status value) { … }
std::string CdmFile_StatusToString(CdmFile_Status value) { … }
std::ostream& operator<<(std::ostream& os, CdmFile_Status value) { … }
namespace internal {
bool CdmStorage_Open_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CdmStorage_Open_Params_Data::CdmStorage_Open_Params_Data()
: … { … }
bool CdmStorage_Open_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CdmStorage_Open_ResponseParams_Data::CdmStorage_Open_ResponseParams_Data()
: … { … }
bool CdmFile_Read_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CdmFile_Read_Params_Data::CdmFile_Read_Params_Data()
: … { … }
bool CdmFile_Read_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CdmFile_Read_ResponseParams_Data::CdmFile_Read_ResponseParams_Data()
: … { … }
bool CdmFile_Write_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CdmFile_Write_Params_Data::CdmFile_Write_Params_Data()
: … { … }
bool CdmFile_Write_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CdmFile_Write_ResponseParams_Data::CdmFile_Write_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::CdmStorage_Status>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::CdmStorage_Status value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::CdmFile_Status>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::CdmFile_Status value) { … }
}