#include "components/performance_manager/public/mojom/coordination_unit.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/performance_manager/public/mojom/coordination_unit.mojom-params-data.h"
namespace performance_manager {
namespace mojom {
NOINLINE static const char* CoordinationUnitTypeToStringHelper(CoordinationUnitType value) { … }
std::string CoordinationUnitTypeToString(CoordinationUnitType value) { … }
std::ostream& operator<<(std::ostream& os, CoordinationUnitType value) { … }
namespace internal {
bool DocumentCoordinationUnit_SetNetworkAlmostIdle_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_SetNetworkAlmostIdle_Params_Data::DocumentCoordinationUnit_SetNetworkAlmostIdle_Params_Data()
: … { … }
bool DocumentCoordinationUnit_SetLifecycleState_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_SetLifecycleState_Params_Data::DocumentCoordinationUnit_SetLifecycleState_Params_Data()
: … { … }
bool DocumentCoordinationUnit_SetHasNonEmptyBeforeUnload_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_SetHasNonEmptyBeforeUnload_Params_Data::DocumentCoordinationUnit_SetHasNonEmptyBeforeUnload_Params_Data()
: … { … }
bool DocumentCoordinationUnit_SetHadFormInteraction_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_SetHadFormInteraction_Params_Data::DocumentCoordinationUnit_SetHadFormInteraction_Params_Data()
: … { … }
bool DocumentCoordinationUnit_SetHadUserEdits_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_SetHadUserEdits_Params_Data::DocumentCoordinationUnit_SetHadUserEdits_Params_Data()
: … { … }
bool DocumentCoordinationUnit_OnStartedUsingWebRTC_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_OnStartedUsingWebRTC_Params_Data::DocumentCoordinationUnit_OnStartedUsingWebRTC_Params_Data()
: … { … }
bool DocumentCoordinationUnit_OnStoppedUsingWebRTC_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_OnStoppedUsingWebRTC_Params_Data::DocumentCoordinationUnit_OnStoppedUsingWebRTC_Params_Data()
: … { … }
bool DocumentCoordinationUnit_SetIsAdFrame_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_SetIsAdFrame_Params_Data::DocumentCoordinationUnit_SetIsAdFrame_Params_Data()
: … { … }
bool DocumentCoordinationUnit_OnNonPersistentNotificationCreated_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_OnNonPersistentNotificationCreated_Params_Data::DocumentCoordinationUnit_OnNonPersistentNotificationCreated_Params_Data()
: … { … }
bool DocumentCoordinationUnit_OnFirstContentfulPaint_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_OnFirstContentfulPaint_Params_Data::DocumentCoordinationUnit_OnFirstContentfulPaint_Params_Data()
: … { … }
bool DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_Params_Data::DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_Params_Data()
: … { … }
bool DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ResponseParams_Data::DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ResponseParams_Data()
: … { … }
bool ProcessCoordinationUnit_SetMainThreadTaskLoadIsLow_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProcessCoordinationUnit_SetMainThreadTaskLoadIsLow_Params_Data::ProcessCoordinationUnit_SetMainThreadTaskLoadIsLow_Params_Data()
: … { … }
bool ProcessCoordinationUnit_OnV8ContextCreated_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProcessCoordinationUnit_OnV8ContextCreated_Params_Data::ProcessCoordinationUnit_OnV8ContextCreated_Params_Data()
: … { … }
bool ProcessCoordinationUnit_OnV8ContextDetached_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProcessCoordinationUnit_OnV8ContextDetached_Params_Data::ProcessCoordinationUnit_OnV8ContextDetached_Params_Data()
: … { … }
bool ProcessCoordinationUnit_OnV8ContextDestroyed_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProcessCoordinationUnit_OnV8ContextDestroyed_Params_Data::ProcessCoordinationUnit_OnV8ContextDestroyed_Params_Data()
: … { … }
bool ProcessCoordinationUnit_OnRemoteIframeAttached_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProcessCoordinationUnit_OnRemoteIframeAttached_Params_Data::ProcessCoordinationUnit_OnRemoteIframeAttached_Params_Data()
: … { … }
bool ProcessCoordinationUnit_OnRemoteIframeDetached_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProcessCoordinationUnit_OnRemoteIframeDetached_Params_Data::ProcessCoordinationUnit_OnRemoteIframeDetached_Params_Data()
: … { … }
bool ProcessCoordinationUnit_FireBackgroundTracingTrigger_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProcessCoordinationUnit_FireBackgroundTracingTrigger_Params_Data::ProcessCoordinationUnit_FireBackgroundTracingTrigger_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::performance_manager::mojom::CoordinationUnitType>::WriteIntoTrace(
perfetto::TracedValue context, ::performance_manager::mojom::CoordinationUnitType value) { … }
}