chromium/out/Default/gen/third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-blink.h

// third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-blink.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_SERVICE_WORKER_SERVICE_WORKER_ROUTER_RULE_MOJOM_BLINK_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_SERVICE_WORKER_SERVICE_WORKER_ROUTER_RULE_MOJOM_BLINK_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/service_worker/service_worker_router_rule.mojom-features.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-shared.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-blink-forward.h"  // IWYU pragma: export
#include "services/network/public/mojom/fetch_api.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/safe_url_pattern.mojom-blink.h"

#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"




#include "third_party/blink/public/common/service_worker/service_worker_router_rule.h"
#include "third_party/blink/renderer/core/core_export.h"




namespace blink::mojom::blink {





class CORE_EXPORT ServiceWorkerRouterRunningStatusCondition {};

// 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, ServiceWorkerRouterRunningStatusCondition::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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









class CORE_EXPORT ServiceWorkerRouterNetworkSource {};

// 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, ServiceWorkerRouterNetworkSource::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CORE_EXPORT ServiceWorkerRouterRaceSource {};

// 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, ServiceWorkerRouterRaceSource::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CORE_EXPORT ServiceWorkerRouterFetchEventSource {};

// 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, ServiceWorkerRouterFetchEventSource::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CORE_EXPORT ServiceWorkerRouterCacheSource {};

// 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, ServiceWorkerRouterCacheSource::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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







class CORE_EXPORT ServiceWorkerRouterSource {};






class CORE_EXPORT ServiceWorkerRouterRequestCondition {};

// 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, ServiceWorkerRouterRequestCondition::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CORE_EXPORT ServiceWorkerRouterOrCondition {};

// 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, ServiceWorkerRouterOrCondition::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CORE_EXPORT ServiceWorkerRouterNotCondition {};

// 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, ServiceWorkerRouterNotCondition::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CORE_EXPORT ServiceWorkerRouterCondition {};

// 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, ServiceWorkerRouterCondition::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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









class CORE_EXPORT ServiceWorkerRouterRule {};

// 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, ServiceWorkerRouterRule::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CORE_EXPORT ServiceWorkerRouterRules {};

// 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, ServiceWorkerRouterRules::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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

template <typename UnionPtrType>
ServiceWorkerRouterSourcePtr ServiceWorkerRouterSource::Clone() const {}

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

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

template <typename T, ServiceWorkerRouterRunningStatusCondition::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterRequestConditionPtr ServiceWorkerRouterRequestCondition::Clone() const {}

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

template <typename T, ServiceWorkerRouterRequestCondition::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterOrConditionPtr ServiceWorkerRouterOrCondition::Clone() const {}

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

template <typename T, ServiceWorkerRouterOrCondition::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterNotConditionPtr ServiceWorkerRouterNotCondition::Clone() const {}

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

template <typename T, ServiceWorkerRouterNotCondition::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterConditionPtr ServiceWorkerRouterCondition::Clone() const {}

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

template <typename T, ServiceWorkerRouterCondition::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterNetworkSourcePtr ServiceWorkerRouterNetworkSource::Clone() const {}

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

template <typename T, ServiceWorkerRouterNetworkSource::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterRaceSourcePtr ServiceWorkerRouterRaceSource::Clone() const {}

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

template <typename T, ServiceWorkerRouterRaceSource::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterFetchEventSourcePtr ServiceWorkerRouterFetchEventSource::Clone() const {}

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

template <typename T, ServiceWorkerRouterFetchEventSource::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterCacheSourcePtr ServiceWorkerRouterCacheSource::Clone() const {}

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

template <typename T, ServiceWorkerRouterCacheSource::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterRulePtr ServiceWorkerRouterRule::Clone() const {}

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

template <typename T, ServiceWorkerRouterRule::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ServiceWorkerRouterRulesPtr ServiceWorkerRouterRules::Clone() const {}

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

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


}  // blink::mojom::blink

namespace mojo {


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterRunningStatusCondition::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterRunningStatusConditionPtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterRequestCondition::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterRequestConditionPtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterOrCondition::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterOrConditionPtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterNotCondition::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterNotConditionPtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterCondition::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterConditionPtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterNetworkSource::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterNetworkSourcePtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterRaceSource::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterRaceSourcePtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterFetchEventSource::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterFetchEventSourcePtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterCacheSource::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterCacheSourcePtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterRule::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterRulePtr> {};


template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::ServiceWorkerRouterRules::DataView,
                                         ::blink::mojom::blink::ServiceWorkerRouterRulesPtr> {};


template <>
struct CORE_EXPORT UnionTraits<::blink::mojom::blink::ServiceWorkerRouterSource::DataView,
                                        ::blink::mojom::blink::ServiceWorkerRouterSourcePtr> {};

}  // namespace mojo

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_SERVICE_WORKER_SERVICE_WORKER_ROUTER_RULE_MOJOM_BLINK_H_