// components/services/patch/public/mojom/file_patcher.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 COMPONENTS_SERVICES_PATCH_PUBLIC_MOJOM_FILE_PATCHER_MOJOM_DATA_VIEW_H_
#define COMPONENTS_SERVICES_PATCH_PUBLIC_MOJOM_FILE_PATCHER_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "components/services/patch/public/mojom/file_patcher.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file.mojom-shared.h"
#include "sandbox/policy/mojom/sandbox.mojom-shared.h"


namespace patch::mojom {


}  // patch::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace patch::mojom {


enum class ZucchiniStatus : int32_t {
  
  kStatusSuccess = 0,
  
  kStatusInvalidParam = 1,
  
  kStatusFileReadError = 2,
  
  kStatusFileWriteError = 3,
  
  kStatusPatchReadError = 4,
  
  kStatusPatchWriteError = 5,
  
  kStatusInvalidOldImage = 6,
  
  kStatusInvalidNewImage = 7,
  
  kStatusDiskFull = 8,
  
  kStatusIoError = 9,
  
  kStatusFatal = 10,
  kMinValue = 0,
  kMaxValue = 10,
};

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

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

using FilePatcherPtrDataView =
    mojo::InterfacePtrDataView<FilePatcherInterfaceBase>;
using FilePatcherRequestDataView =
    mojo::InterfaceRequestDataView<FilePatcherInterfaceBase>;
using FilePatcherAssociatedPtrInfoDataView =
    mojo::AssociatedInterfacePtrInfoDataView<FilePatcherInterfaceBase>;
using FilePatcherAssociatedRequestDataView =
    mojo::AssociatedInterfaceRequestDataView<FilePatcherInterfaceBase>;


}  // patch::mojom

#endif  // COMPONENTS_SERVICES_PATCH_PUBLIC_MOJOM_FILE_PATCHER_MOJOM_DATA_VIEW_H_