chromium/out/Default/gen/device/bluetooth/public/mojom/emulation/fake_bluetooth.mojom-shared.h

// device/bluetooth/public/mojom/emulation/fake_bluetooth.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 DEVICE_BLUETOOTH_PUBLIC_MOJOM_EMULATION_FAKE_BLUETOOTH_MOJOM_SHARED_H_
#define DEVICE_BLUETOOTH_PUBLIC_MOJOM_EMULATION_FAKE_BLUETOOTH_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 "device/bluetooth/public/mojom/emulation/fake_bluetooth.mojom-shared-internal.h"
#include "device/bluetooth/public/mojom/uuid.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace bluetooth::mojom {
class AppearanceDataView;

class PowerDataView;

class ServiceDataMapDataView;

class ScanRecordDataView;

class ScanResultDataView;

class CharacteristicPropertiesDataView;



}  // bluetooth::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::bluetooth::mojom::AppearanceDataView> {};

template <>
struct MojomTypeTraits<::bluetooth::mojom::PowerDataView> {};

template <>
struct MojomTypeTraits<::bluetooth::mojom::ServiceDataMapDataView> {};

template <>
struct MojomTypeTraits<::bluetooth::mojom::ScanRecordDataView> {};

template <>
struct MojomTypeTraits<::bluetooth::mojom::ScanResultDataView> {};

template <>
struct MojomTypeTraits<::bluetooth::mojom::CharacteristicPropertiesDataView> {};

}  // namespace internal
}  // namespace mojo


namespace bluetooth::mojom {


enum class CentralState : int32_t {};

 std::ostream& operator<<(std::ostream& os, CentralState value);
inline bool IsKnownEnumValue(CentralState value) {}


enum class WriteType : int32_t {};

 std::ostream& operator<<(std::ostream& os, WriteType value);
inline bool IsKnownEnumValue(WriteType value) {}
// Interface base classes. They are used for type safety check.
class FakeBluetoothInterfaceBase {};

FakeBluetoothPtrDataView;
FakeBluetoothRequestDataView;
FakeBluetoothAssociatedPtrInfoDataView;
FakeBluetoothAssociatedRequestDataView;
class FakeCentralInterfaceBase {};

FakeCentralPtrDataView;
FakeCentralRequestDataView;
FakeCentralAssociatedPtrInfoDataView;
FakeCentralAssociatedRequestDataView;


class AppearanceDataView {};


class PowerDataView {};


class ServiceDataMapDataView {};


class ScanRecordDataView {};


class ScanResultDataView {};


class CharacteristicPropertiesDataView {};


}  // bluetooth::mojom

namespace std {

template <>
struct hash<::bluetooth::mojom::CentralState>
    : public mojo::internal::EnumHashImpl<::bluetooth::mojom::CentralState> {};

template <>
struct hash<::bluetooth::mojom::WriteType>
    : public mojo::internal::EnumHashImpl<::bluetooth::mojom::WriteType> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::bluetooth::mojom::CentralState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::bluetooth::mojom::WriteType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::bluetooth::mojom::AppearanceDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::bluetooth::mojom::PowerDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::bluetooth::mojom::ServiceDataMapDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::bluetooth::mojom::ScanRecordDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::bluetooth::mojom::ScanResultDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::bluetooth::mojom::CharacteristicPropertiesDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace bluetooth::mojom {





inline void ServiceDataMapDataView::GetServiceDataDataView(
    mojo::MapDataView<mojo::StringDataView, mojo::ArrayDataView<uint8_t>>* output) {}


inline void ScanRecordDataView::GetNameDataView(
    mojo::StringDataView* output) {}
inline void ScanRecordDataView::GetUuidsDataView(
    mojo::ArrayDataView<::bluetooth::mojom::UUIDDataView>* output) {}
inline void ScanRecordDataView::GetAppearanceDataView(
    AppearanceDataView* output) {}
inline void ScanRecordDataView::GetTxPowerDataView(
    PowerDataView* output) {}
inline void ScanRecordDataView::GetManufacturerDataDataView(
    mojo::MapDataView<uint16_t, mojo::ArrayDataView<uint8_t>>* output) {}
inline void ScanRecordDataView::GetServiceDataDataView(
    ServiceDataMapDataView* output) {}


inline void ScanResultDataView::GetDeviceAddressDataView(
    mojo::StringDataView* output) {}
inline void ScanResultDataView::GetScanRecordDataView(
    ScanRecordDataView* output) {}





}  // bluetooth::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::bluetooth::mojom::CentralState> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::bluetooth::mojom::WriteType> {};

} // namespace perfetto

#endif  // DEVICE_BLUETOOTH_PUBLIC_MOJOM_EMULATION_FAKE_BLUETOOTH_MOJOM_SHARED_H_