chromium/out/Default/gen/services/on_device_model/public/mojom/on_device_model_service.mojom-shared.cc

// services/on_device_model/public/mojom/on_device_model_service.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 "services/on_device_model/public/mojom/on_device_model_service.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 "services/on_device_model/public/mojom/on_device_model_service.mojom-params-data.h"
namespace on_device_model {
namespace mojom {

NOINLINE static const char* ModelBackendTypeToStringHelper(ModelBackendType value) {}

std::string ModelBackendTypeToString(ModelBackendType value) {}

std::ostream& operator<<(std::ostream& os, ModelBackendType value) {}

NOINLINE static const char* PlatformModelStateToStringHelper(PlatformModelState value) {}

std::string PlatformModelStateToString(PlatformModelState value) {}

std::ostream& operator<<(std::ostream& os, PlatformModelState value) {}

NOINLINE static const char* FormatFeatureToStringHelper(FormatFeature value) {}

std::string FormatFeatureToString(FormatFeature value) {}

std::ostream& operator<<(std::ostream& os, FormatFeature value) {}

NOINLINE static const char* SafetyFeatureToStringHelper(SafetyFeature value) {}

std::string SafetyFeatureToString(SafetyFeature value) {}

std::ostream& operator<<(std::ostream& os, SafetyFeature value) {}

namespace internal {


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

ModelAssets_Data::ModelAssets_Data()
    :{}


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

LoadModelParams_Data::LoadModelParams_Data()
    :{}


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

PlatformModelProgressObserver_Progress_Params_Data::PlatformModelProgressObserver_Progress_Params_Data()
    :{}


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

OnDeviceModelService_LoadModel_Params_Data::OnDeviceModelService_LoadModel_Params_Data()
    :{}


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

OnDeviceModelService_LoadModel_ResponseParams_Data::OnDeviceModelService_LoadModel_ResponseParams_Data()
    :{}


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

OnDeviceModelService_GetEstimatedPerformanceClass_Params_Data::OnDeviceModelService_GetEstimatedPerformanceClass_Params_Data()
    :{}


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

OnDeviceModelService_GetEstimatedPerformanceClass_ResponseParams_Data::OnDeviceModelService_GetEstimatedPerformanceClass_ResponseParams_Data()
    :{}


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

OnDeviceModelPlatformService_LoadPlatformModel_Params_Data::OnDeviceModelPlatformService_LoadPlatformModel_Params_Data()
    :{}


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

OnDeviceModelPlatformService_LoadPlatformModel_ResponseParams_Data::OnDeviceModelPlatformService_LoadPlatformModel_ResponseParams_Data()
    :{}


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

OnDeviceModelPlatformService_GetPlatformModelState_Params_Data::OnDeviceModelPlatformService_GetPlatformModelState_Params_Data()
    :{}


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

OnDeviceModelPlatformService_GetPlatformModelState_ResponseParams_Data::OnDeviceModelPlatformService_GetPlatformModelState_ResponseParams_Data()
    :{}


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

OnDeviceModelPlatformService_GetEstimatedPerformanceClass_Params_Data::OnDeviceModelPlatformService_GetEstimatedPerformanceClass_Params_Data()
    :{}


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

OnDeviceModelPlatformService_GetEstimatedPerformanceClass_ResponseParams_Data::OnDeviceModelPlatformService_GetEstimatedPerformanceClass_ResponseParams_Data()
    :{}


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

OnDeviceModelPlatformService_FormatInput_Params_Data::OnDeviceModelPlatformService_FormatInput_Params_Data()
    :{}


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

OnDeviceModelPlatformService_FormatInput_ResponseParams_Data::OnDeviceModelPlatformService_FormatInput_ResponseParams_Data()
    :{}


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

OnDeviceModelPlatformService_ValidateSafetyResult_Params_Data::OnDeviceModelPlatformService_ValidateSafetyResult_Params_Data()
    :{}


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

OnDeviceModelPlatformService_ValidateSafetyResult_ResponseParams_Data::OnDeviceModelPlatformService_ValidateSafetyResult_ResponseParams_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace on_device_model

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto