#include "third_party/blink/public/mojom/loader/code_cache.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/code_cache.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* CodeCacheTypeToStringHelper(CodeCacheType value) { … }
std::string CodeCacheTypeToString(CodeCacheType value) { … }
std::ostream& operator<<(std::ostream& os, CodeCacheType value) { … }
namespace internal {
bool CodeCacheHost_DidGenerateCacheableMetadata_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CodeCacheHost_DidGenerateCacheableMetadata_Params_Data::CodeCacheHost_DidGenerateCacheableMetadata_Params_Data()
: … { … }
bool CodeCacheHost_FetchCachedCode_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CodeCacheHost_FetchCachedCode_Params_Data::CodeCacheHost_FetchCachedCode_Params_Data()
: … { … }
bool CodeCacheHost_FetchCachedCode_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CodeCacheHost_FetchCachedCode_ResponseParams_Data::CodeCacheHost_FetchCachedCode_ResponseParams_Data()
: … { … }
bool CodeCacheHost_ClearCodeCacheEntry_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CodeCacheHost_ClearCodeCacheEntry_Params_Data::CodeCacheHost_ClearCodeCacheEntry_Params_Data()
: … { … }
bool CodeCacheHost_DidGenerateCacheableMetadataInCacheStorage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CodeCacheHost_DidGenerateCacheableMetadataInCacheStorage_Params_Data::CodeCacheHost_DidGenerateCacheableMetadataInCacheStorage_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::CodeCacheType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::CodeCacheType value) { … }
}