#include "third_party/blink/public/mojom/loader/resource_load_info.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/loader/resource_load_info.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* ResourceTypeToStringHelper(ResourceType value) { … }
std::string ResourceTypeToString(ResourceType value) { … }
std::ostream& operator<<(std::ostream& os, ResourceType value) { … }
namespace internal {
bool CommonNetworkInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CommonNetworkInfo_Data::CommonNetworkInfo_Data()
: … { … }
bool RedirectInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RedirectInfo_Data::RedirectInfo_Data()
: … { … }
bool ResourceLoadInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ResourceLoadInfo_Data::ResourceLoadInfo_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ResourceType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ResourceType value) { … }
}