// components/content_settings/common/content_settings_manager.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_CONTENT_SETTINGS_COMMON_CONTENT_SETTINGS_MANAGER_MOJOM_DATA_VIEW_H_
#define COMPONENTS_CONTENT_SETTINGS_COMMON_CONTENT_SETTINGS_MANAGER_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "components/content_settings/common/content_settings_manager.mojom-shared-internal.h"
#include "components/content_settings/core/common/content_settings_types.mojom-shared.h"
#include "components/content_settings/core/common/content_settings.mojom-shared.h"
#include "services/network/public/mojom/site_for_cookies.mojom-shared.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom-shared.h"
#include "url/mojom/origin.mojom-shared.h"


namespace content_settings::mojom {


}  // content_settings::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace content_settings::mojom {


enum class ContentSettingsManager_StorageType : int32_t {
  
  LOCAL_STORAGE = 0,
  
  SESSION_STORAGE = 1,
  
  FILE_SYSTEM = 2,
  
  INDEXED_DB = 3,
  
  CACHE = 4,
  
  WEB_LOCKS = 5,
  kMinValue = 0,
  kMaxValue = 5,
};

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

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

using ContentSettingsManagerPtrDataView =
    mojo::InterfacePtrDataView<ContentSettingsManagerInterfaceBase>;
using ContentSettingsManagerRequestDataView =
    mojo::InterfaceRequestDataView<ContentSettingsManagerInterfaceBase>;
using ContentSettingsManagerAssociatedPtrInfoDataView =
    mojo::AssociatedInterfacePtrInfoDataView<ContentSettingsManagerInterfaceBase>;
using ContentSettingsManagerAssociatedRequestDataView =
    mojo::AssociatedInterfaceRequestDataView<ContentSettingsManagerInterfaceBase>;


}  // content_settings::mojom

#endif  // COMPONENTS_CONTENT_SETTINGS_COMMON_CONTENT_SETTINGS_MANAGER_MOJOM_DATA_VIEW_H_