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

// device/bluetooth/public/mojom/emulation/fake_bluetooth.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 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_H_
#define DEVICE_BLUETOOTH_PUBLIC_MOJOM_EMULATION_FAKE_BLUETOOTH_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

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

#include "device/bluetooth/public/mojom/emulation/fake_bluetooth.mojom-features.h"  // IWYU pragma: export
#include "device/bluetooth/public/mojom/emulation/fake_bluetooth.mojom-shared.h"  // IWYU pragma: export
#include "device/bluetooth/public/mojom/emulation/fake_bluetooth.mojom-forward.h"  // IWYU pragma: export
#include "device/bluetooth/public/mojom/uuid.mojom.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"


#include "device/bluetooth/public/mojom/emulation/fake_bluetooth_mojom_traits.h"




namespace bluetooth::mojom {

class FakeBluetoothProxy;

template <typename ImplRefTraits>
class FakeBluetoothStub;

class FakeBluetoothRequestValidator;
class FakeBluetoothResponseValidator;


class FakeBluetooth
    : public FakeBluetoothInterfaceBase {};

class FakeCentralProxy;

template <typename ImplRefTraits>
class FakeCentralStub;

class FakeCentralRequestValidator;
class FakeCentralResponseValidator;


class FakeCentral
    : public FakeCentralInterfaceBase {};



class  FakeBluetoothProxy
    : public FakeBluetooth {};



class  FakeCentralProxy
    : public FakeCentral {};
class  FakeBluetoothStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<FakeBluetooth>>
class FakeBluetoothStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  FakeBluetoothStub() = default;
  ~FakeBluetoothStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  FakeCentralStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<FakeCentral>>
class FakeCentralStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  FakeCentralStub() = default;
  ~FakeCentralStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  FakeBluetoothRequestValidator : public mojo::MessageReceiver {};
class  FakeCentralRequestValidator : public mojo::MessageReceiver {};
class  FakeBluetoothResponseValidator : public mojo::MessageReceiver {};
class  FakeCentralResponseValidator : public mojo::MessageReceiver {};





class  Appearance {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, Appearance::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, Appearance::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, Appearance::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, Appearance::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  Power {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, Power::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, Power::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, Power::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, Power::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}













class  ServiceDataMap {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ServiceDataMap::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ServiceDataMap::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ServiceDataMap::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ServiceDataMap::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  ScanRecord {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ScanRecord::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ScanRecord::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ScanRecord::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ScanRecord::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  ScanResult {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ScanResult::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ScanResult::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ScanResult::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ScanResult::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  CharacteristicProperties {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, CharacteristicProperties::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, CharacteristicProperties::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, CharacteristicProperties::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, CharacteristicProperties::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename StructPtrType>
AppearancePtr Appearance::Clone() const {}

template <typename T, Appearance::EnableIfSame<T>*>
bool Appearance::Equals(const T& other_struct) const {}

template <typename T, Appearance::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PowerPtr Power::Clone() const {}

template <typename T, Power::EnableIfSame<T>*>
bool Power::Equals(const T& other_struct) const {}

template <typename T, Power::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceDataMapPtr ServiceDataMap::Clone() const {}

template <typename T, ServiceDataMap::EnableIfSame<T>*>
bool ServiceDataMap::Equals(const T& other_struct) const {}

template <typename T, ServiceDataMap::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ScanRecordPtr ScanRecord::Clone() const {}

template <typename T, ScanRecord::EnableIfSame<T>*>
bool ScanRecord::Equals(const T& other_struct) const {}

template <typename T, ScanRecord::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ScanResultPtr ScanResult::Clone() const {}

template <typename T, ScanResult::EnableIfSame<T>*>
bool ScanResult::Equals(const T& other_struct) const {}

template <typename T, ScanResult::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
CharacteristicPropertiesPtr CharacteristicProperties::Clone() const {}

template <typename T, CharacteristicProperties::EnableIfSame<T>*>
bool CharacteristicProperties::Equals(const T& other_struct) const {}

template <typename T, CharacteristicProperties::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // bluetooth::mojom

namespace mojo {


template <>
struct  StructTraits<::bluetooth::mojom::Appearance::DataView,
                                         ::bluetooth::mojom::AppearancePtr> {};


template <>
struct  StructTraits<::bluetooth::mojom::Power::DataView,
                                         ::bluetooth::mojom::PowerPtr> {};


template <>
struct  StructTraits<::bluetooth::mojom::ServiceDataMap::DataView,
                                         ::bluetooth::mojom::ServiceDataMapPtr> {};


template <>
struct  StructTraits<::bluetooth::mojom::ScanRecord::DataView,
                                         ::bluetooth::mojom::ScanRecordPtr> {};


template <>
struct  StructTraits<::bluetooth::mojom::ScanResult::DataView,
                                         ::bluetooth::mojom::ScanResultPtr> {};


template <>
struct  StructTraits<::bluetooth::mojom::CharacteristicProperties::DataView,
                                         ::bluetooth::mojom::CharacteristicPropertiesPtr> {};

}  // namespace mojo

#endif  // DEVICE_BLUETOOTH_PUBLIC_MOJOM_EMULATION_FAKE_BLUETOOTH_MOJOM_H_