chromium/out/Default/gen/third_party/blink/public/mojom/device/device.mojom.h

// third_party/blink/public/mojom/device/device.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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_DEVICE_DEVICE_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_DEVICE_DEVICE_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 "third_party/blink/public/mojom/device/device.mojom-features.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/device/device.mojom-shared.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/device/device.mojom-forward.h"  // IWYU pragma: export
#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 "third_party/blink/public/common/common_export.h"




namespace blink::mojom {

class ManagedConfigurationObserverProxy;

template <typename ImplRefTraits>
class ManagedConfigurationObserverStub;

class ManagedConfigurationObserverRequestValidator;


class BLINK_COMMON_EXPORT ManagedConfigurationObserver
    : public ManagedConfigurationObserverInterfaceBase {};

class DeviceAPIServiceProxy;

template <typename ImplRefTraits>
class DeviceAPIServiceStub;

class DeviceAPIServiceRequestValidator;
class DeviceAPIServiceResponseValidator;


class BLINK_COMMON_EXPORT DeviceAPIService
    : public DeviceAPIServiceInterfaceBase {};

class ManagedConfigurationServiceProxy;

template <typename ImplRefTraits>
class ManagedConfigurationServiceStub;

class ManagedConfigurationServiceRequestValidator;
class ManagedConfigurationServiceResponseValidator;


class BLINK_COMMON_EXPORT ManagedConfigurationService
    : public ManagedConfigurationServiceInterfaceBase {};



class BLINK_COMMON_EXPORT ManagedConfigurationObserverProxy
    : public ManagedConfigurationObserver {};



class BLINK_COMMON_EXPORT DeviceAPIServiceProxy
    : public DeviceAPIService {};



class BLINK_COMMON_EXPORT ManagedConfigurationServiceProxy
    : public ManagedConfigurationService {};
class BLINK_COMMON_EXPORT ManagedConfigurationObserverStubDispatch {};

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

  ManagedConfigurationObserverStub() = default;
  ~ManagedConfigurationObserverStub() 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 BLINK_COMMON_EXPORT DeviceAPIServiceStubDispatch {};

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

  DeviceAPIServiceStub() = default;
  ~DeviceAPIServiceStub() 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 BLINK_COMMON_EXPORT ManagedConfigurationServiceStubDispatch {};

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

  ManagedConfigurationServiceStub() = default;
  ~ManagedConfigurationServiceStub() 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 BLINK_COMMON_EXPORT ManagedConfigurationObserverRequestValidator : public mojo::MessageReceiver {};
class BLINK_COMMON_EXPORT DeviceAPIServiceRequestValidator : public mojo::MessageReceiver {};
class BLINK_COMMON_EXPORT ManagedConfigurationServiceRequestValidator : public mojo::MessageReceiver {};
class BLINK_COMMON_EXPORT DeviceAPIServiceResponseValidator : public mojo::MessageReceiver {};
class BLINK_COMMON_EXPORT ManagedConfigurationServiceResponseValidator : public mojo::MessageReceiver {};





class BLINK_COMMON_EXPORT DeviceAttributeResult {};

template <typename UnionPtrType>
DeviceAttributeResultPtr DeviceAttributeResult::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, DeviceAttributeResult>::value>::type*>
bool DeviceAttributeResult::Equals(const T& other) const {}


}  // blink::mojom

namespace mojo {


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::DeviceAttributeResult::DataView,
                                        ::blink::mojom::DeviceAttributeResultPtr> {};

}  // namespace mojo

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_DEVICE_DEVICE_MOJOM_H_