chromium/out/Default/gen/components/performance_manager/public/mojom/coordination_unit.mojom-shared.cc

// components/performance_manager/public/mojom/coordination_unit.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/performance_manager/public/mojom/coordination_unit.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#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 {


// static
bool DocumentCoordinationUnit_SetNetworkAlmostIdle_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_SetNetworkAlmostIdle_Params_Data::DocumentCoordinationUnit_SetNetworkAlmostIdle_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_SetLifecycleState_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_SetLifecycleState_Params_Data::DocumentCoordinationUnit_SetLifecycleState_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_SetHasNonEmptyBeforeUnload_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_SetHasNonEmptyBeforeUnload_Params_Data::DocumentCoordinationUnit_SetHasNonEmptyBeforeUnload_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_SetHadFormInteraction_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_SetHadFormInteraction_Params_Data::DocumentCoordinationUnit_SetHadFormInteraction_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_SetHadUserEdits_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_SetHadUserEdits_Params_Data::DocumentCoordinationUnit_SetHadUserEdits_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_OnStartedUsingWebRTC_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_OnStartedUsingWebRTC_Params_Data::DocumentCoordinationUnit_OnStartedUsingWebRTC_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_OnStoppedUsingWebRTC_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_OnStoppedUsingWebRTC_Params_Data::DocumentCoordinationUnit_OnStoppedUsingWebRTC_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_SetIsAdFrame_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_SetIsAdFrame_Params_Data::DocumentCoordinationUnit_SetIsAdFrame_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_OnNonPersistentNotificationCreated_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_OnNonPersistentNotificationCreated_Params_Data::DocumentCoordinationUnit_OnNonPersistentNotificationCreated_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_OnFirstContentfulPaint_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_OnFirstContentfulPaint_Params_Data::DocumentCoordinationUnit_OnFirstContentfulPaint_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_Params_Data::DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_Params_Data()
    :{}


// static
bool DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ResponseParams_Data::DocumentCoordinationUnit_OnWebMemoryMeasurementRequested_ResponseParams_Data()
    :{}


// static
bool ProcessCoordinationUnit_SetMainThreadTaskLoadIsLow_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ProcessCoordinationUnit_SetMainThreadTaskLoadIsLow_Params_Data::ProcessCoordinationUnit_SetMainThreadTaskLoadIsLow_Params_Data()
    :{}


// static
bool ProcessCoordinationUnit_OnV8ContextCreated_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ProcessCoordinationUnit_OnV8ContextCreated_Params_Data::ProcessCoordinationUnit_OnV8ContextCreated_Params_Data()
    :{}


// static
bool ProcessCoordinationUnit_OnV8ContextDetached_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ProcessCoordinationUnit_OnV8ContextDetached_Params_Data::ProcessCoordinationUnit_OnV8ContextDetached_Params_Data()
    :{}


// static
bool ProcessCoordinationUnit_OnV8ContextDestroyed_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ProcessCoordinationUnit_OnV8ContextDestroyed_Params_Data::ProcessCoordinationUnit_OnV8ContextDestroyed_Params_Data()
    :{}


// static
bool ProcessCoordinationUnit_OnRemoteIframeAttached_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ProcessCoordinationUnit_OnRemoteIframeAttached_Params_Data::ProcessCoordinationUnit_OnRemoteIframeAttached_Params_Data()
    :{}


// static
bool ProcessCoordinationUnit_OnRemoteIframeDetached_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ProcessCoordinationUnit_OnRemoteIframeDetached_Params_Data::ProcessCoordinationUnit_OnRemoteIframeDetached_Params_Data()
    :{}


// static
bool ProcessCoordinationUnit_FireBackgroundTracingTrigger_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ProcessCoordinationUnit_FireBackgroundTracingTrigger_Params_Data::ProcessCoordinationUnit_FireBackgroundTracingTrigger_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace performance_manager

namespace perfetto {

// static
void TraceFormatTraits<::performance_manager::mojom::CoordinationUnitType>::WriteIntoTrace(
   perfetto::TracedValue context, ::performance_manager::mojom::CoordinationUnitType value) {}

} // namespace perfetto