// services/video_capture/public/mojom/video_source_provider.mojom-data-view.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file defines XDataView for type traits and can be included in
// _mojom_traits.h definitions but otherwise please use .mojom-forward.h,
// .mojom-shared.h or .mojom.h.

// IWYU pragma: private
// IWYU pragma: friend "traits"

#ifndef SERVICES_VIDEO_CAPTURE_PUBLIC_MOJOM_VIDEO_SOURCE_PROVIDER_MOJOM_DATA_VIEW_H_
#define SERVICES_VIDEO_CAPTURE_PUBLIC_MOJOM_VIDEO_SOURCE_PROVIDER_MOJOM_DATA_VIEW_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>

#include "services/video_capture/public/mojom/video_source_provider.mojom-shared-internal.h"
#include "media/capture/mojom/video_capture_types.mojom-shared.h"
#include "services/video_capture/public/mojom/devices_changed_observer.mojom-shared.h"
#include "services/video_capture/public/mojom/producer.mojom-shared.h"
#include "services/video_capture/public/mojom/video_source.mojom-shared.h"
#include "services/video_capture/public/mojom/virtual_device.mojom-shared.h"


namespace video_capture::mojom {


}  // video_capture::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace video_capture::mojom {


enum class VideoSourceProvider_GetSourceInfosResult : int32_t {
  
  kSuccess = 0,
  
  kErrorDroppedRequest = 1,
  kMinValue = 0,
  kMaxValue = 1,
};

 std::ostream& operator<<(std::ostream& os, VideoSourceProvider_GetSourceInfosResult value);
inline bool IsKnownEnumValue(VideoSourceProvider_GetSourceInfosResult value) {
  return internal::VideoSourceProvider_GetSourceInfosResult_Data::IsKnownValue(
      static_cast<int32_t>(value));
}

// Returns true if the enum has an infallible conversion from the mojom enum.
consteval bool HasInfallibleConversion(VideoSourceProvider_GetSourceInfosResult) {
  return true;
}
// Interface base classes. They are used for type safety check.
class VideoSourceProviderInterfaceBase {};

using VideoSourceProviderPtrDataView =
    mojo::InterfacePtrDataView<VideoSourceProviderInterfaceBase>;
using VideoSourceProviderRequestDataView =
    mojo::InterfaceRequestDataView<VideoSourceProviderInterfaceBase>;
using VideoSourceProviderAssociatedPtrInfoDataView =
    mojo::AssociatedInterfacePtrInfoDataView<VideoSourceProviderInterfaceBase>;
using VideoSourceProviderAssociatedRequestDataView =
    mojo::AssociatedInterfaceRequestDataView<VideoSourceProviderInterfaceBase>;


}  // video_capture::mojom

#endif  // SERVICES_VIDEO_CAPTURE_PUBLIC_MOJOM_VIDEO_SOURCE_PROVIDER_MOJOM_DATA_VIEW_H_