// chrome/services/printing/public/mojom/pdf_nup_converter.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 CHROME_SERVICES_PRINTING_PUBLIC_MOJOM_PDF_NUP_CONVERTER_MOJOM_DATA_VIEW_H_
#define CHROME_SERVICES_PRINTING_PUBLIC_MOJOM_PDF_NUP_CONVERTER_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "chrome/services/printing/public/mojom/pdf_nup_converter.mojom-shared-internal.h"
#include "mojo/public/mojom/base/shared_memory.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"


namespace printing::mojom {


}  // printing::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace printing::mojom {


enum class PdfNupConverter_Status : int32_t {
  
  SUCCESS = 0,
  
  CONVERSION_FAILURE = 1,
  
  HANDLE_MAP_ERROR = 2,
  kMinValue = 0,
  kMaxValue = 2,
};

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

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

using PdfNupConverterPtrDataView =
    mojo::InterfacePtrDataView<PdfNupConverterInterfaceBase>;
using PdfNupConverterRequestDataView =
    mojo::InterfaceRequestDataView<PdfNupConverterInterfaceBase>;
using PdfNupConverterAssociatedPtrInfoDataView =
    mojo::AssociatedInterfacePtrInfoDataView<PdfNupConverterInterfaceBase>;
using PdfNupConverterAssociatedRequestDataView =
    mojo::AssociatedInterfaceRequestDataView<PdfNupConverterInterfaceBase>;


}  // printing::mojom

#endif  // CHROME_SERVICES_PRINTING_PUBLIC_MOJOM_PDF_NUP_CONVERTER_MOJOM_DATA_VIEW_H_