chromium/services/network/public/cpp/cors/cors_mojom_traits.h

// 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.

#ifndef SERVICES_NETWORK_PUBLIC_CPP_CORS_CORS_MOJOM_TRAITS_H_
#define SERVICES_NETWORK_PUBLIC_CPP_CORS_CORS_MOJOM_TRAITS_H_

#include <string>

#include "base/component_export.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "services/network/public/cpp/cors/cors_error_status.h"
#include "services/network/public/mojom/cors.mojom-shared.h"

namespace mojo {

template <>
class COMPONENT_EXPORT(NETWORK_CPP_BASE)
    StructTraits<network::mojom::CorsErrorStatusDataView,
                 network::CorsErrorStatus> {};

}  // namespace mojo

#endif  // SERVICES_NETWORK_PUBLIC_CPP_CORS_CORS_MOJOM_TRAITS_H_