#ifndef COMPONENTS_SUBRESOURCE_FILTER_CORE_MOJOM_SUBRESOURCE_FILTER_MOJOM_SHARED_H_
#define COMPONENTS_SUBRESOURCE_FILTER_CORE_MOJOM_SUBRESOURCE_FILTER_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 "components/subresource_filter/core/mojom/subresource_filter.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace subresource_filter::mojom {
class ActivationStateDataView;
class DocumentLoadStatisticsDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::subresource_filter::mojom::ActivationStateDataView> { … };
template <>
struct MojomTypeTraits<::subresource_filter::mojom::DocumentLoadStatisticsDataView> { … };
}
}
namespace subresource_filter::mojom {
enum class ActivationLevel : int32_t { … };
std::ostream& operator<<(std::ostream& os, ActivationLevel value);
inline bool IsKnownEnumValue(ActivationLevel value) { … }
enum class AdsViolation : int32_t { … };
std::ostream& operator<<(std::ostream& os, AdsViolation value);
inline bool IsKnownEnumValue(AdsViolation value) { … }
class SubresourceFilterRulesetObserverInterfaceBase { … };
SubresourceFilterRulesetObserverPtrDataView;
SubresourceFilterRulesetObserverRequestDataView;
SubresourceFilterRulesetObserverAssociatedPtrInfoDataView;
SubresourceFilterRulesetObserverAssociatedRequestDataView;
class ActivationStateDataView { … };
class DocumentLoadStatisticsDataView { … };
}
namespace std {
template <>
struct hash<::subresource_filter::mojom::ActivationLevel>
: public mojo::internal::EnumHashImpl<::subresource_filter::mojom::ActivationLevel> { … };
template <>
struct hash<::subresource_filter::mojom::AdsViolation>
: public mojo::internal::EnumHashImpl<::subresource_filter::mojom::AdsViolation> { … };
}
namespace mojo {
namespace internal {
Serializer< ::subresource_filter::mojom::ActivationLevel, MaybeConstUserType>;
}
namespace internal {
Serializer< ::subresource_filter::mojom::AdsViolation, MaybeConstUserType>;
}
namespace internal {
Serializer< ::subresource_filter::mojom::ActivationStateDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::subresource_filter::mojom::DocumentLoadStatisticsDataView, MaybeConstUserType>;
}
}
namespace subresource_filter::mojom {
inline void DocumentLoadStatisticsDataView::GetEvaluationTotalWallDurationDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void DocumentLoadStatisticsDataView::GetEvaluationTotalCpuDurationDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::subresource_filter::mojom::ActivationLevel> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::subresource_filter::mojom::AdsViolation> { … };
}
#endif