chromium/out/Default/gen/extensions/common/mojom/message_port.mojom-shared.cc

// extensions/common/mojom/message_port.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 "extensions/common/mojom/message_port.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 "extensions/common/mojom/message_port.mojom-params-data.h"
namespace extensions {
namespace mojom {

NOINLINE static const char* SerializationFormatToStringHelper(SerializationFormat value) {}

std::string SerializationFormatToString(SerializationFormat value) {}

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

NOINLINE static const char* ChannelTypeToStringHelper(ChannelType value) {}

std::string ChannelTypeToString(ChannelType value) {}

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

NOINLINE static const char* MessagingEndpointTypeToStringHelper(MessagingEndpointType value) {}

std::string MessagingEndpointTypeToString(MessagingEndpointType value) {}

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

namespace internal {


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

PortId_Data::PortId_Data()
    :{}


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

MessagingEndpoint_Data::MessagingEndpoint_Data()
    :{}


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

TabConnectionInfo_Data::TabConnectionInfo_Data()
    :{}


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

ExternalConnectionInfo_Data::ExternalConnectionInfo_Data()
    :{}


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

Message_Data::Message_Data()
    :{}


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

MessagePort_DispatchDisconnect_Params_Data::MessagePort_DispatchDisconnect_Params_Data()
    :{}


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

MessagePort_DeliverMessage_Params_Data::MessagePort_DeliverMessage_Params_Data()
    :{}


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

MessagePortHost_ClosePort_Params_Data::MessagePortHost_ClosePort_Params_Data()
    :{}


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

MessagePortHost_PostMessage_Params_Data::MessagePortHost_PostMessage_Params_Data()
    :{}


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

MessagePortHost_ResponsePending_Params_Data::MessagePortHost_ResponsePending_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace extensions

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto