chromium/out/Default/gen/components/global_media_controls/public/mojom/device_service.mojom.h

// components/global_media_controls/public/mojom/device_service.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 COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_MOJOM_DEVICE_SERVICE_MOJOM_H_
#define COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_MOJOM_DEVICE_SERVICE_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 "components/global_media_controls/public/mojom/device_service.mojom-features.h"  // IWYU pragma: export
#include "components/global_media_controls/public/mojom/device_service.mojom-shared.h"  // IWYU pragma: export
#include "components/global_media_controls/public/mojom/device_service.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/unguessable_token.mojom.h"
#include "services/media_session/public/mojom/media_session.mojom.h"
#include "ui/gfx/image/mojom/image.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 "base/token.h"




namespace global_media_controls::mojom {

class DeviceListHostProxy;

template <typename ImplRefTraits>
class DeviceListHostStub;

class DeviceListHostRequestValidator;


class DeviceListHost
    : public DeviceListHostInterfaceBase {};

class DeviceListClientProxy;

template <typename ImplRefTraits>
class DeviceListClientStub;

class DeviceListClientRequestValidator;


class DeviceListClient
    : public DeviceListClientInterfaceBase {};

class DeviceServiceProxy;

template <typename ImplRefTraits>
class DeviceServiceStub;

class DeviceServiceRequestValidator;


class DeviceService
    : public DeviceServiceInterfaceBase {};

class DevicePickerProviderProxy;

template <typename ImplRefTraits>
class DevicePickerProviderStub;

class DevicePickerProviderRequestValidator;


class DevicePickerProvider
    : public DevicePickerProviderInterfaceBase {};

class DevicePickerObserverProxy;

template <typename ImplRefTraits>
class DevicePickerObserverStub;

class DevicePickerObserverRequestValidator;


class DevicePickerObserver
    : public DevicePickerObserverInterfaceBase {};



class  DeviceListHostProxy
    : public DeviceListHost {};



class  DeviceListClientProxy
    : public DeviceListClient {};



class  DeviceServiceProxy
    : public DeviceService {};



class  DevicePickerProviderProxy
    : public DevicePickerProvider {};



class  DevicePickerObserverProxy
    : public DevicePickerObserver {};
class  DeviceListHostStubDispatch {};

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

  DeviceListHostStub() = default;
  ~DeviceListHostStub() 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  DeviceListClientStubDispatch {};

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

  DeviceListClientStub() = default;
  ~DeviceListClientStub() 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  DeviceServiceStubDispatch {};

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

  DeviceServiceStub() = default;
  ~DeviceServiceStub() 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  DevicePickerProviderStubDispatch {};

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

  DevicePickerProviderStub() = default;
  ~DevicePickerProviderStub() 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  DevicePickerObserverStubDispatch {};

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

  DevicePickerObserverStub() = default;
  ~DevicePickerObserverStub() 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  DeviceListHostRequestValidator : public mojo::MessageReceiver {};
class  DeviceListClientRequestValidator : public mojo::MessageReceiver {};
class  DeviceServiceRequestValidator : public mojo::MessageReceiver {};
class  DevicePickerProviderRequestValidator : public mojo::MessageReceiver {};
class  DevicePickerObserverRequestValidator : public mojo::MessageReceiver {};





class  Device {};

// 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, Device::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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




template <typename StructPtrType>
DevicePtr Device::Clone() const {}

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

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


}  // global_media_controls::mojom

namespace mojo {


template <>
struct  StructTraits<::global_media_controls::mojom::Device::DataView,
                                         ::global_media_controls::mojom::DevicePtr> {};

}  // namespace mojo

#endif  // COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_MOJOM_DEVICE_SERVICE_MOJOM_H_