#include "third_party/blink/public/mojom/performance_manager/v8_detailed_memory_reporter.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 "third_party/blink/public/mojom/performance_manager/v8_detailed_memory_reporter.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* V8DetailedMemoryReporter_ModeToStringHelper(V8DetailedMemoryReporter_Mode value) { … }
std::string V8DetailedMemoryReporter_ModeToString(V8DetailedMemoryReporter_Mode value) { … }
std::ostream& operator<<(std::ostream& os, V8DetailedMemoryReporter_Mode value) { … }
namespace internal {
bool PerContextV8MemoryUsage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PerContextV8MemoryUsage_Data::PerContextV8MemoryUsage_Data()
: … { … }
bool PerContextCanvasMemoryUsage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PerContextCanvasMemoryUsage_Data::PerContextCanvasMemoryUsage_Data()
: … { … }
bool PerIsolateV8MemoryUsage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PerIsolateV8MemoryUsage_Data::PerIsolateV8MemoryUsage_Data()
: … { … }
bool PerProcessV8MemoryUsage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PerProcessV8MemoryUsage_Data::PerProcessV8MemoryUsage_Data()
: … { … }
bool V8DetailedMemoryReporter_GetV8MemoryUsage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
V8DetailedMemoryReporter_GetV8MemoryUsage_Params_Data::V8DetailedMemoryReporter_GetV8MemoryUsage_Params_Data()
: … { … }
bool V8DetailedMemoryReporter_GetV8MemoryUsage_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
V8DetailedMemoryReporter_GetV8MemoryUsage_ResponseParams_Data::V8DetailedMemoryReporter_GetV8MemoryUsage_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::V8DetailedMemoryReporter_Mode>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::V8DetailedMemoryReporter_Mode value) { … }
}