chromium/out/Default/gen/media/mojo/mojom/speech_recognition.mojom-shared.cc

// media/mojo/mojom/speech_recognition.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 "media/mojo/mojom/speech_recognition.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 "media/mojo/mojom/speech_recognition.mojom-params-data.h"
namespace media {
namespace mojom {

NOINLINE static const char* ConfidenceLevelToStringHelper(ConfidenceLevel value) {}

std::string ConfidenceLevelToString(ConfidenceLevel value) {}

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

NOINLINE static const char* AsrSwitchResultToStringHelper(AsrSwitchResult value) {}

std::string AsrSwitchResultToString(AsrSwitchResult value) {}

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

NOINLINE static const char* SpeechRecognitionModeToStringHelper(SpeechRecognitionMode value) {}

std::string SpeechRecognitionModeToString(SpeechRecognitionMode value) {}

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

NOINLINE static const char* RecognizerClientTypeToStringHelper(RecognizerClientType value) {}

std::string RecognizerClientTypeToString(RecognizerClientType value) {}

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

namespace internal {


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

HypothesisParts_Data::HypothesisParts_Data()
    :{}


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

TimingInformation_Data::TimingInformation_Data()
    :{}


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

SpeechRecognitionResult_Data::SpeechRecognitionResult_Data()
    :{}


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

LanguageIdentificationEvent_Data::LanguageIdentificationEvent_Data()
    :{}


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

SpeechRecognitionSurfaceMetadata_Data::SpeechRecognitionSurfaceMetadata_Data()
    :{}


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

SpeechRecognitionOptions_Data::SpeechRecognitionOptions_Data()
    :{}


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

SpeechRecognitionContext_BindRecognizer_Params_Data::SpeechRecognitionContext_BindRecognizer_Params_Data()
    :{}


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

SpeechRecognitionContext_BindRecognizer_ResponseParams_Data::SpeechRecognitionContext_BindRecognizer_ResponseParams_Data()
    :{}


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

SpeechRecognitionContext_BindWebSpeechRecognizer_Params_Data::SpeechRecognitionContext_BindWebSpeechRecognizer_Params_Data()
    :{}


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

SpeechRecognitionRecognizer_SendAudioToSpeechRecognitionService_Params_Data::SpeechRecognitionRecognizer_SendAudioToSpeechRecognitionService_Params_Data()
    :{}


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

SpeechRecognitionRecognizer_MarkDone_Params_Data::SpeechRecognitionRecognizer_MarkDone_Params_Data()
    :{}


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

SpeechRecognitionRecognizer_OnLanguageChanged_Params_Data::SpeechRecognitionRecognizer_OnLanguageChanged_Params_Data()
    :{}


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

SpeechRecognitionRecognizer_OnMaskOffensiveWordsChanged_Params_Data::SpeechRecognitionRecognizer_OnMaskOffensiveWordsChanged_Params_Data()
    :{}


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

SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_Params_Data::SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_Params_Data()
    :{}


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

SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_ResponseParams_Data::SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_ResponseParams_Data()
    :{}


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

SpeechRecognitionRecognizerClient_OnSpeechRecognitionStopped_Params_Data::SpeechRecognitionRecognizerClient_OnSpeechRecognitionStopped_Params_Data()
    :{}


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

SpeechRecognitionRecognizerClient_OnSpeechRecognitionError_Params_Data::SpeechRecognitionRecognizerClient_OnSpeechRecognitionError_Params_Data()
    :{}


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

SpeechRecognitionRecognizerClient_OnLanguageIdentificationEvent_Params_Data::SpeechRecognitionRecognizerClient_OnLanguageIdentificationEvent_Params_Data()
    :{}


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

SpeechRecognitionBrowserObserver_SpeechRecognitionAvailabilityChanged_Params_Data::SpeechRecognitionBrowserObserver_SpeechRecognitionAvailabilityChanged_Params_Data()
    :{}


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

SpeechRecognitionBrowserObserver_SpeechRecognitionLanguageChanged_Params_Data::SpeechRecognitionBrowserObserver_SpeechRecognitionLanguageChanged_Params_Data()
    :{}


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

SpeechRecognitionBrowserObserver_SpeechRecognitionMaskOffensiveWordsChanged_Params_Data::SpeechRecognitionBrowserObserver_SpeechRecognitionMaskOffensiveWordsChanged_Params_Data()
    :{}


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

SpeechRecognitionSurface_Activate_Params_Data::SpeechRecognitionSurface_Activate_Params_Data()
    :{}


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

SpeechRecognitionSurface_GetBounds_Params_Data::SpeechRecognitionSurface_GetBounds_Params_Data()
    :{}


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

SpeechRecognitionSurface_GetBounds_ResponseParams_Data::SpeechRecognitionSurface_GetBounds_ResponseParams_Data()
    :{}


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

SpeechRecognitionSurfaceClient_OnSessionEnded_Params_Data::SpeechRecognitionSurfaceClient_OnSessionEnded_Params_Data()
    :{}


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

SpeechRecognitionSurfaceClient_OnFullscreenToggled_Params_Data::SpeechRecognitionSurfaceClient_OnFullscreenToggled_Params_Data()
    :{}


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

SpeechRecognitionClientBrowserInterface_BindSpeechRecognitionBrowserObserver_Params_Data::SpeechRecognitionClientBrowserInterface_BindSpeechRecognitionBrowserObserver_Params_Data()
    :{}


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

SpeechRecognitionClientBrowserInterface_BindRecognizerToRemoteClient_Params_Data::SpeechRecognitionClientBrowserInterface_BindRecognizerToRemoteClient_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace media

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto