#include "components/subresource_filter/core/mojom/subresource_filter.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "components/subresource_filter/core/mojom/subresource_filter.mojom-params-data.h"
namespace subresource_filter {
namespace mojom {
NOINLINE static const char* ActivationLevelToStringHelper(ActivationLevel value) { … }
std::string ActivationLevelToString(ActivationLevel value) { … }
std::ostream& operator<<(std::ostream& os, ActivationLevel value) { … }
NOINLINE static const char* AdsViolationToStringHelper(AdsViolation value) { … }
std::string AdsViolationToString(AdsViolation value) { … }
std::ostream& operator<<(std::ostream& os, AdsViolation value) { … }
namespace internal {
bool ActivationState_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ActivationState_Data::ActivationState_Data()
: … { … }
bool DocumentLoadStatistics_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DocumentLoadStatistics_Data::DocumentLoadStatistics_Data()
: … { … }
bool SubresourceFilterRulesetObserver_SetRulesetForProcess_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SubresourceFilterRulesetObserver_SetRulesetForProcess_Params_Data::SubresourceFilterRulesetObserver_SetRulesetForProcess_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::subresource_filter::mojom::ActivationLevel>::WriteIntoTrace(
perfetto::TracedValue context, ::subresource_filter::mojom::ActivationLevel value) { … }
}
namespace perfetto {
void TraceFormatTraits<::subresource_filter::mojom::AdsViolation>::WriteIntoTrace(
perfetto::TracedValue context, ::subresource_filter::mojom::AdsViolation value) { … }
}