#include "components/lens/lens_metadata.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 "components/lens/lens_metadata.mojom-params-data.h"
namespace lens {
namespace mojom {
NOINLINE static const char* ImageFormatToStringHelper(ImageFormat value) { … }
std::string ImageFormatToString(ImageFormat value) { … }
std::ostream& operator<<(std::ostream& os, ImageFormat value) { … }
NOINLINE static const char* PhaseToStringHelper(Phase value) { … }
std::string PhaseToString(Phase value) { … }
std::ostream& operator<<(std::ostream& os, Phase value) { … }
namespace internal {
bool LatencyLog_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LatencyLog_Data::LatencyLog_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::lens::mojom::ImageFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::lens::mojom::ImageFormat value) { … }
}
namespace perfetto {
void TraceFormatTraits<::lens::mojom::Phase>::WriteIntoTrace(
perfetto::TracedValue context, ::lens::mojom::Phase value) { … }
}