#include "content/common/download/mhtml_file_writer.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 "content/common/download/mhtml_file_writer.mojom-params-data.h"
namespace content {
namespace mojom {
NOINLINE static const char* MhtmlSaveStatusToStringHelper(MhtmlSaveStatus value) { … }
std::string MhtmlSaveStatusToString(MhtmlSaveStatus value) { … }
std::ostream& operator<<(std::ostream& os, MhtmlSaveStatus value) { … }
namespace internal {
bool MhtmlOutputHandle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SerializeAsMHTMLParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SerializeAsMHTMLParams_Data::SerializeAsMHTMLParams_Data()
: … { … }
bool MhtmlFileWriter_SerializeAsMHTML_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MhtmlFileWriter_SerializeAsMHTML_Params_Data::MhtmlFileWriter_SerializeAsMHTML_Params_Data()
: … { … }
bool MhtmlFileWriter_SerializeAsMHTML_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MhtmlFileWriter_SerializeAsMHTML_ResponseParams_Data::MhtmlFileWriter_SerializeAsMHTML_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::content::mojom::MhtmlSaveStatus>::WriteIntoTrace(
perfetto::TracedValue context, ::content::mojom::MhtmlSaveStatus value) { … }
}