// components/performance_manager/public/mojom/lifecycle.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_PERFORMANCE_MANAGER_PUBLIC_MOJOM_LIFECYCLE_MOJOM_DATA_VIEW_H_
#define COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_MOJOM_LIFECYCLE_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "components/performance_manager/public/mojom/lifecycle.mojom-shared-internal.h"


namespace performance_manager::mojom {


}  // performance_manager::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace performance_manager::mojom {


enum class LifecycleState : int32_t {
  
  kRunning = 0,
  
  kFrozen = 1,
  kMinValue = 0,
  kMaxValue = 1,
};

COMPONENT_EXPORT(PERFORMANCE_MANAGER_PUBLIC_MOJOM_SHARED) std::ostream& operator<<(std::ostream& os, LifecycleState value);
inline bool IsKnownEnumValue(LifecycleState value) {
  return internal::LifecycleState_Data::IsKnownValue(
      static_cast<int32_t>(value));
}

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


}  // performance_manager::mojom

#endif  // COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_MOJOM_LIFECYCLE_MOJOM_DATA_VIEW_H_