#ifndef MEDIA_MIDI_MIDI_SERVICE_MOJOM_SHARED_H_
#define MEDIA_MIDI_MIDI_SERVICE_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 "media/midi/midi_service.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace midi::mojom {
class PortInfoDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::midi::mojom::PortInfoDataView> { … };
}
}
namespace midi::mojom {
enum class Result : int32_t { … };
std::ostream& operator<<(std::ostream& os, Result value);
inline bool IsKnownEnumValue(Result value) { … }
enum class PortState : int32_t { … };
std::ostream& operator<<(std::ostream& os, PortState value);
inline bool IsKnownEnumValue(PortState value) { … }
class MidiSessionClientInterfaceBase { … };
MidiSessionClientPtrDataView;
MidiSessionClientRequestDataView;
MidiSessionClientAssociatedPtrInfoDataView;
MidiSessionClientAssociatedRequestDataView;
class MidiSessionProviderInterfaceBase { … };
MidiSessionProviderPtrDataView;
MidiSessionProviderRequestDataView;
MidiSessionProviderAssociatedPtrInfoDataView;
MidiSessionProviderAssociatedRequestDataView;
class MidiSessionInterfaceBase { … };
MidiSessionPtrDataView;
MidiSessionRequestDataView;
MidiSessionAssociatedPtrInfoDataView;
MidiSessionAssociatedRequestDataView;
class PortInfoDataView { … };
}
namespace std {
template <>
struct hash<::midi::mojom::Result>
: public mojo::internal::EnumHashImpl<::midi::mojom::Result> { … };
template <>
struct hash<::midi::mojom::PortState>
: public mojo::internal::EnumHashImpl<::midi::mojom::PortState> { … };
}
namespace mojo {
namespace internal {
Serializer< ::midi::mojom::Result, MaybeConstUserType>;
}
namespace internal {
Serializer< ::midi::mojom::PortState, MaybeConstUserType>;
}
namespace internal {
Serializer< ::midi::mojom::PortInfoDataView, MaybeConstUserType>;
}
}
namespace midi::mojom {
inline void PortInfoDataView::GetIdDataView(
mojo::StringDataView* output) { … }
inline void PortInfoDataView::GetManufacturerDataView(
mojo::StringDataView* output) { … }
inline void PortInfoDataView::GetNameDataView(
mojo::StringDataView* output) { … }
inline void PortInfoDataView::GetVersionDataView(
mojo::StringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::midi::mojom::Result> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::midi::mojom::PortState> { … };
}
#endif