#include "media/mojo/mojom/display_media_information.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/display_media_information.mojom-params-data.h"
namespace media {
namespace mojom {
NOINLINE static const char* DisplayCaptureSurfaceTypeToStringHelper(DisplayCaptureSurfaceType value) { … }
std::string DisplayCaptureSurfaceTypeToString(DisplayCaptureSurfaceType value) { … }
std::ostream& operator<<(std::ostream& os, DisplayCaptureSurfaceType value) { … }
NOINLINE static const char* CursorCaptureTypeToStringHelper(CursorCaptureType value) { … }
std::string CursorCaptureTypeToString(CursorCaptureType value) { … }
std::ostream& operator<<(std::ostream& os, CursorCaptureType value) { … }
namespace internal {
bool DisplayMediaInformation_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DisplayMediaInformation_Data::DisplayMediaInformation_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::DisplayCaptureSurfaceType>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::DisplayCaptureSurfaceType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::CursorCaptureType>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::CursorCaptureType value) { … }
}