#include "third_party/blink/public/mojom/prerender/prerender.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/prerender/prerender.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* PrerenderTriggerTypeToStringHelper(PrerenderTriggerType value) { … }
std::string PrerenderTriggerTypeToString(PrerenderTriggerType value) { … }
std::ostream& operator<<(std::ostream& os, PrerenderTriggerType value) { … }
namespace internal {
bool PrerenderAttributes_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PrerenderAttributes_Data::PrerenderAttributes_Data()
: … { … }
bool NoStatePrefetchProcessor_Start_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NoStatePrefetchProcessor_Start_Params_Data::NoStatePrefetchProcessor_Start_Params_Data()
: … { … }
bool NoStatePrefetchProcessor_Cancel_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NoStatePrefetchProcessor_Cancel_Params_Data::NoStatePrefetchProcessor_Cancel_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::PrerenderTriggerType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::PrerenderTriggerType value) { … }
}