// components/os_crypt/async/common/algorithm.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_OS_CRYPT_ASYNC_COMMON_ALGORITHM_MOJOM_DATA_VIEW_H_
#define COMPONENTS_OS_CRYPT_ASYNC_COMMON_ALGORITHM_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "components/os_crypt/async/common/algorithm.mojom-shared-internal.h"


namespace os_crypt_async::mojom {


}  // os_crypt_async::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace os_crypt_async::mojom {


enum class Algorithm : int32_t {
  
  kAES256GCM = 0,
  
  kAES128CBC = 1,
  kMinValue = 0,
  kMaxValue = 1,
};

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

// Returns true if the enum has an infallible conversion from the mojom enum.
consteval bool HasInfallibleConversion(Algorithm) {
  return true;
}


}  // os_crypt_async::mojom

#endif  // COMPONENTS_OS_CRYPT_ASYNC_COMMON_ALGORITHM_MOJOM_DATA_VIEW_H_