#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_SERVICE_WORKER_SERVICE_WORKER_ROUTER_RULE_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_SERVICE_WORKER_SERVICE_WORKER_ROUTER_RULE_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/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-forward.h"
#include "services/network/public/mojom/fetch_api.mojom-forward.h"
#include "third_party/blink/public/mojom/safe_url_pattern.mojom.h"
#include <string>
#include <vector>
#include "third_party/blink/public/common/service_worker/service_worker_router_rule.h"
#include "third_party/blink/public/common/common_export.h"
namespace blink::mojom {
class BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_EXPORT ServiceWorkerRouterSource { … };
class BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterRunningStatusCondition::DataView,
::blink::mojom::ServiceWorkerRouterRunningStatusConditionPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterRequestCondition::DataView,
::blink::mojom::ServiceWorkerRouterRequestConditionPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterOrCondition::DataView,
::blink::mojom::ServiceWorkerRouterOrConditionPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterNotCondition::DataView,
::blink::mojom::ServiceWorkerRouterNotConditionPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterCondition::DataView,
::blink::mojom::ServiceWorkerRouterConditionPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterNetworkSource::DataView,
::blink::mojom::ServiceWorkerRouterNetworkSourcePtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterRaceSource::DataView,
::blink::mojom::ServiceWorkerRouterRaceSourcePtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterFetchEventSource::DataView,
::blink::mojom::ServiceWorkerRouterFetchEventSourcePtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterCacheSource::DataView,
::blink::mojom::ServiceWorkerRouterCacheSourcePtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterRule::DataView,
::blink::mojom::ServiceWorkerRouterRulePtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ServiceWorkerRouterRules::DataView,
::blink::mojom::ServiceWorkerRouterRulesPtr> { … };
template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::ServiceWorkerRouterSource::DataView,
::blink::mojom::ServiceWorkerRouterSourcePtr> { … };
}
#endif