#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"
#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-shared.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_router_rule.mojom-blink-forward.h"
#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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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) { … }
}
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> { … };
}
#endif