#include "third_party/blink/public/mojom/permissions_policy/policy_value.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 "third_party/blink/public/mojom/permissions_policy/policy_value.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* PolicyValueTypeToStringHelper(PolicyValueType value) { … }
std::string PolicyValueTypeToString(PolicyValueType value) { … }
std::ostream& operator<<(std::ostream& os, PolicyValueType value) { … }
namespace internal {
bool PolicyValue_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::PolicyValueType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::PolicyValueType value) { … }
}