#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_SERVICE_WORKER_SERVICE_WORKER_ROUTER_RULE_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_SERVICE_WORKER_SERVICE_WORKER_ROUTER_RULE_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.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-shared-internal.h"
#include "services/network/public/mojom/fetch_api.mojom-shared.h"
#include "third_party/blink/public/mojom/safe_url_pattern.mojom-shared.h"
#include "base/component_export.h"
namespace blink::mojom {
class ServiceWorkerRouterRunningStatusConditionDataView;
class ServiceWorkerRouterRequestConditionDataView;
class ServiceWorkerRouterOrConditionDataView;
class ServiceWorkerRouterNotConditionDataView;
class ServiceWorkerRouterConditionDataView;
class ServiceWorkerRouterNetworkSourceDataView;
class ServiceWorkerRouterRaceSourceDataView;
class ServiceWorkerRouterFetchEventSourceDataView;
class ServiceWorkerRouterCacheSourceDataView;
class ServiceWorkerRouterRuleDataView;
class ServiceWorkerRouterRulesDataView;
class ServiceWorkerRouterSourceDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterRunningStatusConditionDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterRequestConditionDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterOrConditionDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterNotConditionDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterConditionDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterNetworkSourceDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterRaceSourceDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterFetchEventSourceDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterCacheSourceDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterRuleDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterRulesDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::ServiceWorkerRouterSourceDataView> { … };
}
}
namespace blinkmojom
namespace std {
template <>
struct hash<::blink::mojom::ServiceWorkerRouterRunningStatusEnum>
: public mojo::internal::EnumHashImpl<::blink::mojom::ServiceWorkerRouterRunningStatusEnum> { … };
}
namespace mojo {
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterRunningStatusEnum, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterRunningStatusConditionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterRequestConditionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterOrConditionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterNotConditionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterConditionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterNetworkSourceDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterRaceSourceDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterFetchEventSourceDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterCacheSourceDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterRuleDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterRulesDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::ServiceWorkerRouterSourceDataView, MaybeConstUserType>;
}
}
namespace blink::mojom {
inline void ServiceWorkerRouterRequestConditionDataView::GetMethodDataView(
mojo::StringDataView* output) { … }
inline void ServiceWorkerRouterOrConditionDataView::GetConditionsDataView(
mojo::ArrayDataView<ServiceWorkerRouterConditionDataView>* output) { … }
inline void ServiceWorkerRouterNotConditionDataView::GetConditionDataView(
ServiceWorkerRouterConditionDataView* output) { … }
inline void ServiceWorkerRouterConditionDataView::GetUrlPatternDataView(
::blink::mojom::SafeUrlPatternDataView* output) { … }
inline void ServiceWorkerRouterConditionDataView::GetRequestDataView(
ServiceWorkerRouterRequestConditionDataView* output) { … }
inline void ServiceWorkerRouterConditionDataView::GetRunningStatusDataView(
ServiceWorkerRouterRunningStatusConditionDataView* output) { … }
inline void ServiceWorkerRouterConditionDataView::GetOrConditionDataView(
ServiceWorkerRouterOrConditionDataView* output) { … }
inline void ServiceWorkerRouterConditionDataView::GetNotConditionDataView(
ServiceWorkerRouterNotConditionDataView* output) { … }
inline void ServiceWorkerRouterCacheSourceDataView::GetCacheNameDataView(
mojo::StringDataView* output) { … }
inline void ServiceWorkerRouterRuleDataView::GetConditionDataView(
ServiceWorkerRouterConditionDataView* output) { … }
inline void ServiceWorkerRouterRuleDataView::GetSourcesDataView(
mojo::ArrayDataView<ServiceWorkerRouterSourceDataView>* output) { … }
inline void ServiceWorkerRouterRulesDataView::GetRulesDataView(
mojo::ArrayDataView<ServiceWorkerRouterRuleDataView>* output) { … }
inline void ServiceWorkerRouterSourceDataView::GetNetworkSourceDataView(
ServiceWorkerRouterNetworkSourceDataView* output) const { … }
inline void ServiceWorkerRouterSourceDataView::GetRaceSourceDataView(
ServiceWorkerRouterRaceSourceDataView* output) const { … }
inline void ServiceWorkerRouterSourceDataView::GetFetchEventSourceDataView(
ServiceWorkerRouterFetchEventSourceDataView* output) const { … }
inline void ServiceWorkerRouterSourceDataView::GetCacheSourceDataView(
ServiceWorkerRouterCacheSourceDataView* output) const { … }
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::ServiceWorkerRouterRunningStatusEnum> { … };
}
#endif