// services/data_decoder/public/mojom/xml_parser.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_DATA_DECODER_PUBLIC_MOJOM_XML_PARSER_MOJOM_DATA_VIEW_H_
#define SERVICES_DATA_DECODER_PUBLIC_MOJOM_XML_PARSER_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "services/data_decoder/public/mojom/xml_parser.mojom-shared-internal.h"
#include "mojo/public/mojom/base/values.mojom-shared.h"


namespace data_decoder::mojom {


}  // data_decoder::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace data_decoder::mojom {


enum class XmlParser_WhitespaceBehavior : int32_t {
  
  kIgnore = 0,
  
  kPreserveSignificant = 1,
  kMinValue = 0,
  kMaxValue = 1,
};

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

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

using XmlParserPtrDataView =
    mojo::InterfacePtrDataView<XmlParserInterfaceBase>;
using XmlParserRequestDataView =
    mojo::InterfaceRequestDataView<XmlParserInterfaceBase>;
using XmlParserAssociatedPtrInfoDataView =
    mojo::AssociatedInterfacePtrInfoDataView<XmlParserInterfaceBase>;
using XmlParserAssociatedRequestDataView =
    mojo::AssociatedInterfaceRequestDataView<XmlParserInterfaceBase>;


}  // data_decoder::mojom

#endif  // SERVICES_DATA_DECODER_PUBLIC_MOJOM_XML_PARSER_MOJOM_DATA_VIEW_H_