// third_party/blink/public/mojom/loader/content_security_notifier.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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_CONTENT_SECURITY_NOTIFIER_MOJOM_DATA_VIEW_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_CONTENT_SECURITY_NOTIFIER_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "third_party/blink/public/mojom/loader/content_security_notifier.mojom-shared-internal.h"
#include "url/mojom/url.mojom-shared.h"


namespace blink::mojom {


}  // blink::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace blink::mojom {


enum class ContentSecurityNotifier_InsecureContentOrigin : int32_t {
  
  kTopFrame = 0,
  
  kCurrentFrame = 1,
  kMinValue = 0,
  kMaxValue = 1,
};

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

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

using ContentSecurityNotifierPtrDataView =
    mojo::InterfacePtrDataView<ContentSecurityNotifierInterfaceBase>;
using ContentSecurityNotifierRequestDataView =
    mojo::InterfaceRequestDataView<ContentSecurityNotifierInterfaceBase>;
using ContentSecurityNotifierAssociatedPtrInfoDataView =
    mojo::AssociatedInterfacePtrInfoDataView<ContentSecurityNotifierInterfaceBase>;
using ContentSecurityNotifierAssociatedRequestDataView =
    mojo::AssociatedInterfaceRequestDataView<ContentSecurityNotifierInterfaceBase>;


}  // blink::mojom

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_CONTENT_SECURITY_NOTIFIER_MOJOM_DATA_VIEW_H_