#include "third_party/blink/public/mojom/fetch/fetch_api_request.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/fetch/fetch_api_request.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* RequestContextTypeToStringHelper(RequestContextType value) { … }
std::string RequestContextTypeToString(RequestContextType value) { … }
std::ostream& operator<<(std::ostream& os, RequestContextType value) { … }
NOINLINE static const char* FetchCacheModeToStringHelper(FetchCacheMode value) { … }
std::string FetchCacheModeToString(FetchCacheMode value) { … }
std::ostream& operator<<(std::ostream& os, FetchCacheMode value) { … }
NOINLINE static const char* FetchPriorityHintToStringHelper(FetchPriorityHint value) { … }
std::string FetchPriorityHintToString(FetchPriorityHint value) { … }
std::ostream& operator<<(std::ostream& os, FetchPriorityHint value) { … }
namespace internal {
bool FetchAPIRequestHeaders_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FetchAPIRequestHeaders_Data::FetchAPIRequestHeaders_Data()
: … { … }
bool FetchAPIRequestBody_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FetchAPIRequestBody_Data::FetchAPIRequestBody_Data()
: … { … }
bool FetchAPIRequest_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FetchAPIRequest_Data::FetchAPIRequest_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::RequestContextType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::RequestContextType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::FetchCacheMode>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::FetchCacheMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::FetchPriorityHint>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::FetchPriorityHint value) { … }
}