// components/services/heap_profiling/public/mojom/heap_profiling_service.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_HEAP_PROFILING_PUBLIC_MOJOM_HEAP_PROFILING_SERVICE_MOJOM_DATA_VIEW_H_
#define COMPONENTS_SERVICES_HEAP_PROFILING_PUBLIC_MOJOM_HEAP_PROFILING_SERVICE_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "components/services/heap_profiling/public/mojom/heap_profiling_service.mojom-shared-internal.h"
#include "components/services/heap_profiling/public/mojom/heap_profiling_client.mojom-shared.h"
#include "mojo/public/mojom/base/process_id.mojom-shared.h"


namespace heap_profiling::mojom {


}  // heap_profiling::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace heap_profiling::mojom {


enum class ProcessType : int32_t {
  
  OTHER = 0,
  
  BROWSER = 1,
  
  RENDERER = 2,
  
  GPU = 3,
  
  LAST = 3,
  kMinValue = 0,
  kMaxValue = 3,
};

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

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

using ProfilingServicePtrDataView =
    mojo::InterfacePtrDataView<ProfilingServiceInterfaceBase>;
using ProfilingServiceRequestDataView =
    mojo::InterfaceRequestDataView<ProfilingServiceInterfaceBase>;
using ProfilingServiceAssociatedPtrInfoDataView =
    mojo::AssociatedInterfacePtrInfoDataView<ProfilingServiceInterfaceBase>;
using ProfilingServiceAssociatedRequestDataView =
    mojo::AssociatedInterfaceRequestDataView<ProfilingServiceInterfaceBase>;


}  // heap_profiling::mojom

#endif  // COMPONENTS_SERVICES_HEAP_PROFILING_PUBLIC_MOJOM_HEAP_PROFILING_SERVICE_MOJOM_DATA_VIEW_H_