chromium/out/Default/gen/mojo/public/interfaces/bindings/pipe_control_messages.mojom-shared.h

// mojo/public/interfaces/bindings/pipe_control_messages.mojom-shared.h 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.

#ifndef MOJO_PUBLIC_INTERFACES_BINDINGS_PIPE_CONTROL_MESSAGES_MOJOM_SHARED_H_
#define MOJO_PUBLIC_INTERFACES_BINDINGS_PIPE_CONTROL_MESSAGES_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "mojo/public/interfaces/bindings/pipe_control_messages.mojom-shared-internal.h"



#include "base/component_export.h"




namespace mojo::pipe_control {
class RunOrClosePipeMessageParamsDataView;

class DisconnectReasonDataView;

class PeerAssociatedEndpointClosedEventDataView;

class PauseUntilFlushCompletesDataView;

class FlushAsyncDataView;

class RunOrClosePipeInputDataView;


}  // mojo::pipe_control

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::mojo::pipe_control::RunOrClosePipeMessageParamsDataView> {};

template <>
struct MojomTypeTraits<::mojo::pipe_control::DisconnectReasonDataView> {};

template <>
struct MojomTypeTraits<::mojo::pipe_control::PeerAssociatedEndpointClosedEventDataView> {};

template <>
struct MojomTypeTraits<::mojo::pipe_control::PauseUntilFlushCompletesDataView> {};

template <>
struct MojomTypeTraits<::mojo::pipe_control::FlushAsyncDataView> {};

template <>
struct MojomTypeTraits<::mojo::pipe_control::RunOrClosePipeInputDataView> {};

}  // namespace internal
}  // namespace mojo


namespace mojo::pipe_control {


class RunOrClosePipeMessageParamsDataView {};


class DisconnectReasonDataView {};


class PeerAssociatedEndpointClosedEventDataView {};


class PauseUntilFlushCompletesDataView {};


class FlushAsyncDataView {};


class RunOrClosePipeInputDataView {};



}  // mojo::pipe_control

namespace std {

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::mojo::pipe_control::RunOrClosePipeMessageParamsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojo::pipe_control::DisconnectReasonDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojo::pipe_control::PeerAssociatedEndpointClosedEventDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojo::pipe_control::PauseUntilFlushCompletesDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojo::pipe_control::FlushAsyncDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojo::pipe_control::RunOrClosePipeInputDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace mojo::pipe_control {

inline void RunOrClosePipeMessageParamsDataView::GetInputDataView(
    RunOrClosePipeInputDataView* output) {}


inline void DisconnectReasonDataView::GetDescriptionDataView(
    mojo::StringDataView* output) {}


inline void PeerAssociatedEndpointClosedEventDataView::GetDisconnectReasonDataView(
    DisconnectReasonDataView* output) {}






inline void RunOrClosePipeInputDataView::GetPeerAssociatedEndpointClosedEventDataView(
    PeerAssociatedEndpointClosedEventDataView* output) const {}
inline void RunOrClosePipeInputDataView::GetPauseUntilFlushCompletesDataView(
    PauseUntilFlushCompletesDataView* output) const {}
inline void RunOrClosePipeInputDataView::GetFlushAsyncDataView(
    FlushAsyncDataView* output) const {}


}  // mojo::pipe_control

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

#endif  // MOJO_PUBLIC_INTERFACES_BINDINGS_PIPE_CONTROL_MESSAGES_MOJOM_SHARED_H_