chromium/out/Default/gen/third_party/blink/public/mojom/safe_url_pattern.mojom.h

// third_party/blink/public/mojom/safe_url_pattern.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_SAFE_URL_PATTERN_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_SAFE_URL_PATTERN_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "third_party/blink/public/mojom/safe_url_pattern.mojom-features.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/safe_url_pattern.mojom-shared.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/safe_url_pattern.mojom-forward.h"  // IWYU pragma: export
#include <string>
#include <vector>




#include "third_party/blink/public/common/safe_url_pattern_mojom_traits.h"
#include "third_party/blink/public/common/common_export.h"




namespace blink::mojom {






class BLINK_COMMON_EXPORT FixedPattern {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, FixedPattern::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, FixedPattern::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, FixedPattern::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, FixedPattern::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT WildcardPattern {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, WildcardPattern::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, WildcardPattern::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, WildcardPattern::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, WildcardPattern::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}






class BLINK_COMMON_EXPORT SafeUrlPatternOptions {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, SafeUrlPatternOptions::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, SafeUrlPatternOptions::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, SafeUrlPatternOptions::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, SafeUrlPatternOptions::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT PatternTemplate {};





class BLINK_COMMON_EXPORT SafeUrlPattern {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, SafeUrlPattern::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, SafeUrlPattern::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, SafeUrlPattern::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, SafeUrlPattern::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}







class BLINK_COMMON_EXPORT SafeUrlPatternPart {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, SafeUrlPatternPart::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, SafeUrlPatternPart::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, SafeUrlPatternPart::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, SafeUrlPatternPart::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}


template <typename UnionPtrType>
PatternTemplatePtr PatternTemplate::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, PatternTemplate>::value>::type*>
bool PatternTemplate::Equals(const T& other) const {}
template <typename StructPtrType>
SafeUrlPatternPtr SafeUrlPattern::Clone() const {}

template <typename T, SafeUrlPattern::EnableIfSame<T>*>
bool SafeUrlPattern::Equals(const T& other_struct) const {}

template <typename T, SafeUrlPattern::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
FixedPatternPtr FixedPattern::Clone() const {}

template <typename T, FixedPattern::EnableIfSame<T>*>
bool FixedPattern::Equals(const T& other_struct) const {}

template <typename T, FixedPattern::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WildcardPatternPtr WildcardPattern::Clone() const {}

template <typename T, WildcardPattern::EnableIfSame<T>*>
bool WildcardPattern::Equals(const T& other_struct) const {}

template <typename T, WildcardPattern::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SafeUrlPatternPartPtr SafeUrlPatternPart::Clone() const {}

template <typename T, SafeUrlPatternPart::EnableIfSame<T>*>
bool SafeUrlPatternPart::Equals(const T& other_struct) const {}

template <typename T, SafeUrlPatternPart::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SafeUrlPatternOptionsPtr SafeUrlPatternOptions::Clone() const {}

template <typename T, SafeUrlPatternOptions::EnableIfSame<T>*>
bool SafeUrlPatternOptions::Equals(const T& other_struct) const {}

template <typename T, SafeUrlPatternOptions::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // blink::mojom

namespace mojo {


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SafeUrlPattern::DataView,
                                         ::blink::mojom::SafeUrlPatternPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::FixedPattern::DataView,
                                         ::blink::mojom::FixedPatternPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::WildcardPattern::DataView,
                                         ::blink::mojom::WildcardPatternPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SafeUrlPatternPart::DataView,
                                         ::blink::mojom::SafeUrlPatternPartPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SafeUrlPatternOptions::DataView,
                                         ::blink::mojom::SafeUrlPatternOptionsPtr> {};


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::PatternTemplate::DataView,
                                        ::blink::mojom::PatternTemplatePtr> {};

}  // namespace mojo

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_SAFE_URL_PATTERN_MOJOM_H_