#include "components/download/public/common/download_stream.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 "components/download/public/common/download_stream.mojom-params-data.h"
namespace download {
namespace mojom {
NOINLINE static const char* NetworkRequestStatusToStringHelper(NetworkRequestStatus value) { … }
std::string NetworkRequestStatusToString(NetworkRequestStatus value) { … }
std::ostream& operator<<(std::ostream& os, NetworkRequestStatus value) { … }
namespace internal {
bool DownloadStreamHandle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DownloadStreamHandle_Data::DownloadStreamHandle_Data()
: … { … }
bool DownloadStreamClient_OnStreamCompleted_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DownloadStreamClient_OnStreamCompleted_Params_Data::DownloadStreamClient_OnStreamCompleted_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::download::mojom::NetworkRequestStatus>::WriteIntoTrace(
perfetto::TracedValue context, ::download::mojom::NetworkRequestStatus value) { … }
}