chromium/out/Default/gen/components/download/public/common/download_stream.mojom-shared.cc

// components/download/public/common/download_stream.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/download/public/common/download_stream.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#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 {


// static
bool DownloadStreamHandle_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DownloadStreamHandle_Data::DownloadStreamHandle_Data()
    :{}


// static
bool DownloadStreamClient_OnStreamCompleted_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DownloadStreamClient_OnStreamCompleted_Params_Data::DownloadStreamClient_OnStreamCompleted_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace download

namespace perfetto {

// static
void TraceFormatTraits<::download::mojom::NetworkRequestStatus>::WriteIntoTrace(
   perfetto::TracedValue context, ::download::mojom::NetworkRequestStatus value) {}

} // namespace perfetto