chromium/services/network/public/cpp/reporting_api_report_mojom_traits.cc

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

#include "services/network/public/cpp/reporting_api_report_mojom_traits.h"

namespace mojo {

// static
network::mojom::ReportingApiReportStatus EnumTraits<
    network::mojom::ReportingApiReportStatus,
    net::ReportingReport::Status>::ToMojom(net::ReportingReport::Status input) {}

// static
bool EnumTraits<network::mojom::ReportingApiReportStatus,
                net::ReportingReport::Status>::
    FromMojom(network::mojom::ReportingApiReportStatus input,
              net::ReportingReport::Status* output) {}

// static
bool StructTraits<
    network::mojom::ReportingApiReportDataView,
    net::ReportingReport>::Read(network::mojom::ReportingApiReportDataView data,
                                net::ReportingReport* out) {}

}  // namespace mojo